org.exoplatform.ecm.webui.component.admin.repository
Class UIWorkspaceWizard

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.webui.form.UIFormTabPane
                  extended by org.exoplatform.ecm.webui.component.admin.repository.UIWorkspaceWizard
All Implemented Interfaces:
UISelectable

public class UIWorkspaceWizard
extends org.exoplatform.webui.form.UIFormTabPane
implements UISelectable

Created by The eXo Platform SARL Author : Pham Tuan tuan.pham@exoplatform.com May 11, 2007


Nested Class Summary
static class UIWorkspaceWizard.AddPermissionActionListener
           
static class UIWorkspaceWizard.BackActionListener
           
static class UIWorkspaceWizard.CancelActionListener
           
static class UIWorkspaceWizard.ChangeTypeStoreActionListener
           
static class UIWorkspaceWizard.EditPermissionActionListener
           
static class UIWorkspaceWizard.FinishActionListener
           
static class UIWorkspaceWizard.NextActionListener
           
static class UIWorkspaceWizard.RemovePermissionActionListener
           
static class UIWorkspaceWizard.SelectContainerActionListener
           
static class UIWorkspaceWizard.SelectQueryHandlerActionListener
           
static class UIWorkspaceWizard.SelectStoreActionListener
           
static class UIWorkspaceWizard.ViewStep1ActionListener
           
static class UIWorkspaceWizard.ViewStep2ActionListener
           
static class UIWorkspaceWizard.ViewStep3ActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormTabPane
org.exoplatform.webui.form.UIFormTabPane.SelectTabActionListener
 
Field Summary
static java.lang.String FIELD_STEP1
           
static java.lang.String FIELD_STEP2
           
static java.lang.String FIELD_STEP3
           
 boolean hasCheckDefault_
           
 boolean isCheckValid_
           
 boolean isNewRepo_
           
 boolean isNewWizard_
           
static java.lang.String KEY_CONTAINERTYPE
           
static java.lang.String KEY_DIALECT
           
static java.lang.String KEY_INDEXDIR
           
static java.lang.String KEY_LIVETIME
           
static java.lang.String KEY_LOCKMANAGER
           
static java.lang.String KEY_MAXBUFFER
           
static java.lang.String KEY_MAXSIZE
           
static java.lang.String KEY_MULTIDB
           
static java.lang.String KEY_PATH
           
static java.lang.String KEY_QUERYHANDLER
           
static java.lang.String KEY_SOURCENAME
           
static java.lang.String KEY_STORETYPE
           
static java.lang.String KEY_SWAPDIRECTORY
           
static java.lang.String KEY_TREE_STORETYPE
           
static java.lang.String KEY_UPDATESTORE
           
static java.lang.String POPUPID
           
 
Fields inherited from class org.exoplatform.webui.form.UIFormTabPane
name_, RENDER_TAB
 
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
UIWorkspaceWizard()
           
 
Method Summary
protected  java.lang.String autoInitStorePath(java.lang.String storePath, java.lang.String repoName, java.lang.String wsName)
           
protected  java.lang.String autoInitSwapPath(java.lang.String swapPath, java.lang.String repoName, java.lang.String wsName)
           
 void doSelect(java.lang.String selectField, java.lang.Object value)
           
 java.lang.String[] getActions()
           
 java.lang.String[] getCurrentAction()
           
 java.lang.String getCurrentChild()
           
 int getCurrentStep()
           
 int getMaxStep()
           
 int getNumberSteps()
           
 int getSelectedStep()
           
protected  boolean isEmpty(java.lang.String value)
           
protected  void lockForm(boolean isLock)
           
protected  void refresh(org.exoplatform.services.jcr.config.WorkspaceEntry workSpace, boolean isAddNewWs)
           
protected  void removePopup(java.lang.String id)
           
 void setContainerName(java.lang.String value)
           
 void setCurrentSep(int step)
           
 void setQueryHandlerName(java.lang.String value)
           
 void setSelectedStep(int step)
           
 void setStoreTypeName(java.lang.String value)
           
protected  void showHidden(boolean isChecked)
           
 java.lang.String url(java.lang.String name)
           
 void viewStep(int step)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormTabPane
getName, getSelectedTabId, hasInfoBar, hasRenderResourceTabName, processDecode, setInfoBar, setRenderResourceTabName, setSelectedTab, setSelectedTab
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction
 
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, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, 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
 

Field Detail

isNewWizard_

public boolean isNewWizard_

isNewRepo_

public boolean isNewRepo_

isCheckValid_

public boolean isCheckValid_

hasCheckDefault_

public boolean hasCheckDefault_

POPUPID

public static final java.lang.String POPUPID
See Also:
Constant Field Values

FIELD_STEP1

public static final java.lang.String FIELD_STEP1
See Also:
Constant Field Values

FIELD_STEP2

public static final java.lang.String FIELD_STEP2
See Also:
Constant Field Values

FIELD_STEP3

public static final java.lang.String FIELD_STEP3
See Also:
Constant Field Values

KEY_SWAPDIRECTORY

public static final java.lang.String KEY_SWAPDIRECTORY
See Also:
Constant Field Values

KEY_SOURCENAME

public static final java.lang.String KEY_SOURCENAME
See Also:
Constant Field Values

KEY_DIALECT

public static final java.lang.String KEY_DIALECT
See Also:
Constant Field Values

KEY_MULTIDB

public static final java.lang.String KEY_MULTIDB
See Also:
Constant Field Values

KEY_MAXBUFFER

public static final java.lang.String KEY_MAXBUFFER
See Also:
Constant Field Values

KEY_PATH

public static final java.lang.String KEY_PATH
See Also:
Constant Field Values

KEY_INDEXDIR

public static final java.lang.String KEY_INDEXDIR
See Also:
Constant Field Values

KEY_MAXSIZE

public static final java.lang.String KEY_MAXSIZE
See Also:
Constant Field Values

KEY_LIVETIME

public static final java.lang.String KEY_LIVETIME
See Also:
Constant Field Values

KEY_UPDATESTORE

public static final java.lang.String KEY_UPDATESTORE
See Also:
Constant Field Values

KEY_CONTAINERTYPE

public static final java.lang.String KEY_CONTAINERTYPE
See Also:
Constant Field Values

KEY_STORETYPE

public static final java.lang.String KEY_STORETYPE
See Also:
Constant Field Values

KEY_TREE_STORETYPE

public static final java.lang.String KEY_TREE_STORETYPE
See Also:
Constant Field Values

KEY_QUERYHANDLER

public static final java.lang.String KEY_QUERYHANDLER
See Also:
Constant Field Values

KEY_LOCKMANAGER

public static final java.lang.String KEY_LOCKMANAGER
See Also:
Constant Field Values
Constructor Detail

UIWorkspaceWizard

public UIWorkspaceWizard()
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

removePopup

protected void removePopup(java.lang.String id)

lockForm

protected void lockForm(boolean isLock)

setCurrentSep

public void setCurrentSep(int step)

getCurrentStep

public int getCurrentStep()

setSelectedStep

public void setSelectedStep(int step)

getSelectedStep

public int getSelectedStep()

getMaxStep

public int getMaxStep()

getActions

public java.lang.String[] getActions()
Overrides:
getActions in class org.exoplatform.webui.form.UIForm

getCurrentChild

public java.lang.String getCurrentChild()

getCurrentAction

public java.lang.String[] getCurrentAction()

refresh

protected void refresh(org.exoplatform.services.jcr.config.WorkspaceEntry workSpace,
                       boolean isAddNewWs)
                throws java.lang.Exception
Throws:
java.lang.Exception

url

public java.lang.String url(java.lang.String name)
                     throws java.lang.Exception
Overrides:
url in class org.exoplatform.webui.form.UIForm
Throws:
java.lang.Exception

getNumberSteps

public int getNumberSteps()

viewStep

public void viewStep(int step)

isEmpty

protected boolean isEmpty(java.lang.String value)

autoInitStorePath

protected java.lang.String autoInitStorePath(java.lang.String storePath,
                                             java.lang.String repoName,
                                             java.lang.String wsName)

autoInitSwapPath

protected java.lang.String autoInitSwapPath(java.lang.String swapPath,
                                            java.lang.String repoName,
                                            java.lang.String wsName)

doSelect

public void doSelect(java.lang.String selectField,
                     java.lang.Object value)
Specified by:
doSelect in interface UISelectable

showHidden

protected void showHidden(boolean isChecked)

setContainerName

public void setContainerName(java.lang.String value)

setStoreTypeName

public void setStoreTypeName(java.lang.String value)

setQueryHandlerName

public void setQueryHandlerName(java.lang.String value)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.