lumis.doui.control
Interface IControl

Package class diagram package IControl
All Known Subinterfaces:
IDataBoundControl, IDataControl, IErrorSummaryControl, IValidatorControl
All Known Implementing Classes:
AccessControlButton, AccessErrorMessageTranslator, AccountServiceInstancePaneControl, AddButton2Control, AddButtonControl, AddDynamicListSourceControl, AdministrationListControl, AdvancedTabularDataControl, AnnouncementTabularDataControl, AsyncProgressControl, AutoAdministrationListButtonsControl, AutoContentAdministrationListButtonsControl, AutoEmbeddedInterfaceStandardButtonsControl, AutoInterfaceStandardButtonsControl, AutoLayoutAdministrationListControl, AutoLayoutAssociationInformationControl, AutoLayoutCategorizationAssociationControl, AutoLayoutContentAdministrationListControl, AutoLayoutContentDetailsControl, AutoLayoutContentEmbeddedPropertyPageControl, AutoLayoutContentFieldsControl, AutoLayoutContentListControl, AutoLayoutContentPropertyPageControl, AutoLayoutContentQuickListControl, AutoLayoutDetailsControl, AutoLayoutEmbeddedPropertyPageControl, AutoLayoutFieldControl, AutoLayoutFieldsControl, AutoLayoutGenericAssociationInformationControl, AutoLayoutGenericContentAssociationControl, AutoLayoutLanguageInformationControl, AutoLayoutListControl, AutoLayoutMetaDataInformationControl, AutoLayoutPropertyPageControl, AutoLayoutPublishingInformationControl, AutoLayoutPublishToSocialNetworksAdministrationListControl, AutoLayoutQuickListControl, AutoLayoutTagInformationControl, AutoLayoutWorkflowInformationControl, AutoPopupInterfaceStandardButtonsControl, AutoRefreshControl, BannerControl, BaseParametersControl, ButtonControl, CalendarControl, CancelButtonControl, ChannelAclControl, ChannelInheritedPageTemplateControl, ChannelWebsiteChanceCheckControl, ChatHistoryControl, ChatMessageListControl, ChatSendMessageControl, CheckBoxControl, CheckBoxListControl, CommentAreaListControl, CommentsAddControl, CommentsControl, ConditionalRenderControl, ConfigParametersControl, ConfigureButtonControl, ConsumerConfigurationInterfaceDropDownListControl, ConsumerConfigurationInterfaceVerificationControl, ContentIdHolderControl, ContentPickerControl, Control, ControlGroupControl, CurrentContentLocaleIdControl, DataBoundControl, DataControl, DataGridControl, DateCompareValidatorControl, DateDataTypeValidatorControl, DateTimePickerControl, DeleteButtonControl, DetailsControl, DocumentPickerControl, DropDownListControl, DynamicListControl, EditButton2Control, EditButtonControl, EmailValidatorControl, ErrorSummaryControl, FCKEditorPopUpFixerControl, FieldsControl, FileListControl, FileNameValidatorControl, FileSizeValidatorControl, FilesPickerControl, FileSystemTabularData, FileUploadControl, FilterControl, FiltersControl, FilterUniqueIdValidator, FollowButtonControl, FormControl, ForumButtonVisibilityControl, ForumMessageListInputHiddenControl, ForumMessageListPaginationControl, FriendlyIdValidationControl, GenericAclControl, GroupAclControl, HtmlEditorControl, HtmlEditorValidatorControl, ImagePickerControl, InputHiddenControl, InputTagControl, InputTextAreaControl, InputTextControl, InputTextProxyControl, IntegerDataTypeValidatorControl, InterfaceHeaderControl, InterfaceInstanceIdInputHiddenControl, InterfaceInstanceInContextEditSupportControl, InterfaceInstancePreviewControl, InterfaceSelectionDropDownListControl, ItemPickerControl, LabelControl, LanguageControl, LanguageFilterControl, LengthValidatorControl, LinkControl, LinkTabularDataControl, LinkToRuntimeTabularDataControl, LinkToRuntimeTabularDataControl, LinkToRuntimeTabularDataControl, ListControl, LoadTransformationFromDataBaseControl, LocalePickerControl, LockButtonControl, LockedMessageControl, MonthPickerControl, MultiFileUploadControl, MultiFileUploadExtensionCheckControl, MultiFileUploadRequiredValueValidatorControl, MultiItemPickerControl, NavigationControl, NumberDataTypeValidatorControl, OkButtonControl, OptionListControl, PageAclControl, PageCacheConfirmMessageControl, PageTemplateAclControl, PaginationControl, PaneControl, ParentFilterControl, PasswordControl, PortalAclControl, PreviewButtonControl, PrimaryKeyControl, PrincipalPickerControl, PrintButtonControl, ProducerAdministrationListAddButtonControl, ProducerAdminListTabularDataControl, ProducerConfigurationInterfaceVersionDropDownListControl, ProgressControl, ProgressPanelControl, PropertyPageControl, PublishToPrincipalsControl, PublishToPrincipalsListControl, PublishToServiceInstancesControl, PublishToServiceInstancesListControl, PublishToSocialNetworkButtonControl, PublishToSocialNetworkControl, RadioButtonControl, RefreshButtonControl, RegularExpressionValidatorControl, RemotePortletConfigurationInterfaceControl, RenderActionOnLoadScriptControl, RequiredValuesDescriptorControl, RequiredValueValidatorControl, RequiredValueWhenEnableControl, RequiredValueWhenVisibleValidatorControl, RestShortNameValidationControl, RuntimeParametersControl, SaveAndPreviewButtonControl, ScheduleDateTimePickerControl, ScriptControl, SearchQueryInputText, SearchQueryValidatorControl, SelectAccountServiceInstanceAdvancedTabularDataControl, SelectChannelChildControl, SelectChannelControl, SelectChannelControl, SelectChannelOrChannelTemplateControl, SelectChannelOrChannelTemplateControlWithCustomCallbackFunction, SelectChannelPageTreeControl, SelectChannelPageTreeControl, SelectChannelPathControl, SelectChannelTemplateControl, SelectDocumentServiceInstanceControl, SelectImageServiceInstanceControl, SelectImportFileControl, SelectItemTabularDataControl, SelectPageControl, SelectPageControl, SelectPageOrPageTemplateControl, SelectPageTemplateControl, SelectParentContentControl, SelectParentContentTreeControl, SelectServiceInstanceControl, SelectTagServiceInstanceControl, SelectWorkflowControl, ServiceAclControl, ServiceInstanceAclControl, ServiceInstancePrincipalPickerControl, ServiceInstanceUsedByControl, ServiceInterfacePickerControl, ShowReportButton, ShowReportControl, SitemapXmlTextControl, StealLockButtonControl, StringsControl, TabbedControl, TabularDataControl, TermDynamicListControl, TermPickerControl, TextControl, TimePickerControl, TopicViewCounterControl, UserEmailVerifierControl, UserEmailVerifierControl, ValidatorButton, ValidatorControl, VersionControl, VersionEditButtonControl, VersionsButtonControl, WebFileReplicationPropertiesControl, WebsiteChangeCheckControl, WikiViewArticlePaneControl, WorkflowActionControl, WorkflowAssignedToControl, WorkflowAssignedToFilterControl, WorkflowMetaDataControl, WorkflowSendToControl, WorkflowServiceInstanceAclControl, WorkflowStateControl, WorkflowStateFilterControl, WSRPCheckBoxListControl, XslFileEditorControl

@StableMinor(version="6.2",
             sinceVersion="4.0")
public interface IControl

Interface that must be implemented by all controls

Since:
4.0.0

Method Summary
 void buildSubControls()
           
 void createContainer(String containerId)
          Creates a container for the control.
 void disconnect()
           
 List<IControl> getChildControls()
           
 IResource getControlResource()
           
 String getId()
           
 IControl getParentControl()
           
 String getPrepareForReadScript()
           
 String getRenderData()
          Returns an xml string representation of the control for rendering via xsl.
 List<IResource> getResources()
           
 String getType()
           
 void init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
           
 boolean isValid()
           
 void registerOnEventScript(String onEvent, String script)
           
 void removeChild(IControl childControl)
           
 void removeChildren()
           
 void setRenderData()
           
 void setRuntimeAttributes()
          Replaces runtime attributes in this control's definition node with their evaluated values.
 void setValid(boolean isValid)
           
 

Method Detail

init

void init(Node controlDefinitionNode,
          ControlContainer controlContainer,
          IControl parentControl)
          throws PortalException
Throws:
PortalException

buildSubControls

void buildSubControls()
                      throws PortalException
Throws:
PortalException

getId

String getId()

getType

String getType()

getChildControls

List<IControl> getChildControls()
                                throws PortalException
Throws:
PortalException

setRenderData

void setRenderData()
                   throws PortalException
Throws:
PortalException

getParentControl

IControl getParentControl()

getControlResource

IResource getControlResource()
                             throws PortalException
Throws:
PortalException

registerOnEventScript

void registerOnEventScript(String onEvent,
                           String script)
                           throws PortalException
Throws:
PortalException

isValid

boolean isValid()
                throws PortalException
Throws:
PortalException

setValid

void setValid(boolean isValid)
              throws PortalException
Throws:
PortalException

getResources

List<IResource> getResources()
                             throws PortalException
Throws:
PortalException

disconnect

void disconnect()
                throws PortalException
Throws:
PortalException

removeChild

void removeChild(IControl childControl)
                 throws PortalException
Throws:
PortalException

removeChildren

void removeChildren()
                    throws PortalException
Throws:
PortalException

getPrepareForReadScript

String getPrepareForReadScript()
                               throws PortalException
Throws:
PortalException

createContainer

void createContainer(String containerId)
                     throws PortalException
Creates a container for the control.

This method us used by the framework when a control needs to be updated client side.

Parameters:
containerId -
Throws:
PortalException
Since:
4.0.11

getRenderData

String getRenderData()
                     throws PortalException
Returns an xml string representation of the control for rendering via xsl.

Returns:
Throws:
PortalException
Since:
4.0.11

setRuntimeAttributes

void setRuntimeAttributes()
Replaces runtime attributes in this control's definition node with their evaluated values. A runtime attribute follows the EL syntax.

This method is executed before setRenderData() by the ControlContainer.

Since:
4.0.3
See Also:
ControlContainer


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.