org.exoplatform.wcm.webui.scv
Class UISCVPreferences

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.wcm.webui.scv.UISCVPreferences
All Implemented Interfaces:
org.exoplatform.ecm.webui.selector.UISelectable

public class UISCVPreferences
extends org.exoplatform.webui.form.UIForm
implements org.exoplatform.ecm.webui.selector.UISelectable

Created by The eXo Platform SARL Author : Nguyen The Vinh vinh.nguyen@exoplatform.com Jul 16, 2010


Nested Class Summary
static class UISCVPreferences.CancelActionListener
           
static class UISCVPreferences.SaveActionListener
          ActionListener: save preferences action
static class UISCVPreferences.SelectFolderPathActionListener
           
static class UISCVPreferences.SelectTargetPageActionListener
          The listener interface for receiving selectTargetPageAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String CACHE_ENABLE_SELECT_RADIO_BOX
           
static String CONTENT_PATH_INPUT
           
protected  String contentSelectorID
           
static String CONTEXTUAL_SELECT_RADIO_BOX
           
static String DISABLE_STRING
           
static String ENABLE_STRING
           
static String ITEM_PATH_FORM_INPUT_SET
          The Constant ITEM_PATH_FORM_INPUT_SET.
static String PARAMETER_INPUT_BOX
           
protected  javax.portlet.PortletPreferences portletPreferences
           
static String PRINT_PAGE_FORM_INPUT_SET
           
static String PRINT_PAGE_PARAMETER_INPUT
           
static String PRINT_PAGE_SELECTOR_POPUP
          The Constant PRINT_PAGE_SELECTOR_POPUP.
static String PRINT_VIEW_PAGE_INPUT
           
protected  String selectedNodeDrive
           
protected  String selectedNodePath
           
protected  String selectedNodeReporitory
           
protected  String selectedNodeUUID
           
protected  String selectedNodeWorkspace
           
static String SHOW_DATE_CHECK_BOX
           
static String SHOW_OPION_BAR_CHECK_BOX
           
static String SHOW_TITLE_CHECK_BOX
           
 
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
 
Constructor Summary
UISCVPreferences()
           
 
Method Summary
 void doSelect(String selectField, Object value)
           
 String getContetSelectorID()
           
 boolean getInternalPreferencesMode()
           
protected  String getNodeNameByPreferences()
           
 String getSelectedNodeDrive()
          Get the temporary node Drive string
 String getSelectedNodePath()
           
 String getSelectedNodeRepository()
          Get the temporary Node Repository string
 String getSelectedNodeUUID()
          Get the temporary node UUID
 String getSelectedNodeWorkspace()
          Get the temporary node Workspace string
 void initComponent()
          Initialize the preferences setting form
 boolean isContextualEnable()
           
 void setContentSelectorID(String id)
           
 void setInternalPreferencesMode(boolean isInternal)
           
 void setSelectedNodeInfo(String nodeUUID, String nodeRepo, String nodeWS, String nodeDrive)
          setSelectedNodeInfo: Save temporary data when user select a node from ContentSelector
 void setSelectedNodePath(String path)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, 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, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, 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
 

Field Detail

ITEM_PATH_FORM_INPUT_SET

public static final String ITEM_PATH_FORM_INPUT_SET
The Constant ITEM_PATH_FORM_INPUT_SET.

See Also:
Constant Field Values

CONTENT_PATH_INPUT

public static final String CONTENT_PATH_INPUT
See Also:
Constant Field Values

SHOW_TITLE_CHECK_BOX

public static final String SHOW_TITLE_CHECK_BOX
See Also:
Constant Field Values

SHOW_DATE_CHECK_BOX

public static final String SHOW_DATE_CHECK_BOX
See Also:
Constant Field Values

SHOW_OPION_BAR_CHECK_BOX

public static final String SHOW_OPION_BAR_CHECK_BOX
See Also:
Constant Field Values

CONTEXTUAL_SELECT_RADIO_BOX

public static final String CONTEXTUAL_SELECT_RADIO_BOX
See Also:
Constant Field Values

PARAMETER_INPUT_BOX

public static final String PARAMETER_INPUT_BOX
See Also:
Constant Field Values

CACHE_ENABLE_SELECT_RADIO_BOX

public static final String CACHE_ENABLE_SELECT_RADIO_BOX
See Also:
Constant Field Values

PRINT_PAGE_FORM_INPUT_SET

public static final String PRINT_PAGE_FORM_INPUT_SET
See Also:
Constant Field Values

PRINT_VIEW_PAGE_INPUT

public static final String PRINT_VIEW_PAGE_INPUT
See Also:
Constant Field Values

PRINT_PAGE_SELECTOR_POPUP

public static final String PRINT_PAGE_SELECTOR_POPUP
The Constant PRINT_PAGE_SELECTOR_POPUP.

See Also:
Constant Field Values

PRINT_PAGE_PARAMETER_INPUT

public static final String PRINT_PAGE_PARAMETER_INPUT
See Also:
Constant Field Values

ENABLE_STRING

public static final String ENABLE_STRING
See Also:
Constant Field Values

DISABLE_STRING

public static final String DISABLE_STRING
See Also:
Constant Field Values

portletPreferences

protected javax.portlet.PortletPreferences portletPreferences

contentSelectorID

protected String contentSelectorID

selectedNodeUUID

protected String selectedNodeUUID

selectedNodeReporitory

protected String selectedNodeReporitory

selectedNodeWorkspace

protected String selectedNodeWorkspace

selectedNodeDrive

protected String selectedNodeDrive

selectedNodePath

protected String selectedNodePath
Constructor Detail

UISCVPreferences

public UISCVPreferences()
                 throws Exception
Throws:
Exception
Method Detail

initComponent

public void initComponent()
                   throws Exception
Initialize the preferences setting form

Throws:
Exception

setSelectedNodeInfo

public void setSelectedNodeInfo(String nodeUUID,
                                String nodeRepo,
                                String nodeWS,
                                String nodeDrive)
setSelectedNodeInfo: Save temporary data when user select a node from ContentSelector

Parameters:
nodeUUID -
nodeRepo -
nodeWS -

setSelectedNodePath

public void setSelectedNodePath(String path)

getSelectedNodePath

public String getSelectedNodePath()

getSelectedNodeUUID

public String getSelectedNodeUUID()
Get the temporary node UUID

Returns:

getSelectedNodeRepository

public String getSelectedNodeRepository()
Get the temporary Node Repository string

Returns:

getSelectedNodeWorkspace

public String getSelectedNodeWorkspace()
Get the temporary node Workspace string

Returns:

getSelectedNodeDrive

public String getSelectedNodeDrive()
Get the temporary node Drive string

Returns:

getNodeNameByPreferences

protected String getNodeNameByPreferences()
Returns:
A string point to the node from preferences

setContentSelectorID

public void setContentSelectorID(String id)

getContetSelectorID

public String getContetSelectorID()

isContextualEnable

public boolean isContextualEnable()

doSelect

public void doSelect(String selectField,
                     Object value)
              throws Exception
Specified by:
doSelect in interface org.exoplatform.ecm.webui.selector.UISelectable
Throws:
Exception

setInternalPreferencesMode

public void setInternalPreferencesMode(boolean isInternal)

getInternalPreferencesMode

public boolean getInternalPreferencesMode()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.