org.exoplatform.wcm.webui.scv
Class UISCVPreferences
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.wcm.webui.scv.UISCVPreferences
- All Implemented Interfaces:
- UISelectable
public class UISCVPreferences
- extends org.exoplatform.webui.form.UIForm
- implements UISelectable
Created by The eXo Platform SARL
Author : Nguyen The Vinh
vinh.nguyen@exoplatform.com
Jul 16, 2010
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.form.UIForm |
ACTION, SUBCOMPONENT_ID |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, registerRendererFor, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITEM_PATH_FORM_INPUT_SET
public static final java.lang.String ITEM_PATH_FORM_INPUT_SET
- The Constant ITEM_PATH_FORM_INPUT_SET.
- See Also:
- Constant Field Values
CONTENT_PATH_INPUT
public static final java.lang.String CONTENT_PATH_INPUT
- See Also:
- Constant Field Values
SHOW_TITLE_CHECK_BOX
public static final java.lang.String SHOW_TITLE_CHECK_BOX
- See Also:
- Constant Field Values
SHOW_DATE_CHECK_BOX
public static final java.lang.String SHOW_DATE_CHECK_BOX
- See Also:
- Constant Field Values
SHOW_OPION_BAR_CHECK_BOX
public static final java.lang.String SHOW_OPION_BAR_CHECK_BOX
- See Also:
- Constant Field Values
CONTEXTUAL_SELECT_RADIO_BOX
public static final java.lang.String CONTEXTUAL_SELECT_RADIO_BOX
- See Also:
- Constant Field Values
PARAMETER_INPUT_BOX
public static final java.lang.String PARAMETER_INPUT_BOX
- See Also:
- Constant Field Values
ENABLE_STRING
public static final java.lang.String ENABLE_STRING
DISABLE_STRING
public static final java.lang.String DISABLE_STRING
portletPreferences
protected javax.portlet.PortletPreferences portletPreferences
contentSelectorID
protected java.lang.String contentSelectorID
selectedNodeUUID
protected java.lang.String selectedNodeUUID
selectedNodeReporitory
protected java.lang.String selectedNodeReporitory
selectedNodeWorkspace
protected java.lang.String selectedNodeWorkspace
UISCVPreferences
public UISCVPreferences()
throws java.lang.Exception
- Throws:
java.lang.Exception
initComponent
public void initComponent()
throws java.lang.Exception
- Initialize the preferences setting form
- Throws:
java.lang.Exception
getPreferences
public void getPreferences()
setSelectedNodeInfo
public void setSelectedNodeInfo(java.lang.String nodeUUID,
java.lang.String nodeRepo,
java.lang.String nodeWS)
- setSelectedNodeInfo: Save temporary data when user select a node from ContentSelector
- Parameters:
nodeUUID - nodeRepo - nodeWS -
getSelectedNodeUUID
public java.lang.String getSelectedNodeUUID()
- Get the temporary node UUID
- Returns:
getSelectedNodeRepository
public java.lang.String getSelectedNodeRepository()
- Get the temporary Node Repository string
- Returns:
getSelectedNodeWorkspace
public java.lang.String getSelectedNodeWorkspace()
- Get the temporary node Workspace string
- Returns:
getNodeNameByPreferences
protected java.lang.String getNodeNameByPreferences()
- Returns:
- A string point to the node from preferences
setContentSelectorID
public void setContentSelectorID(java.lang.String id)
getContetSelectorID
public java.lang.String getContetSelectorID()
isContextualEnable
public boolean isContextualEnable()
doSelect
public void doSelect(java.lang.String selectField,
java.lang.Object value)
throws java.lang.Exception
- Specified by:
doSelect in interface UISelectable
- Throws:
java.lang.Exception
setInternalPreferencesMode
public void setInternalPreferencesMode(boolean isInternal)
getInternalPreferencesMode
public boolean getInternalPreferencesMode()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.