org.exoplatform.ecm.webui.component.admin.taxonomy.action
Class UIActionForm

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.ecm.webui.form.UIDialogForm
                  extended by org.exoplatform.ecm.webui.component.admin.taxonomy.action.UIActionForm
All Implemented Interfaces:
UISelectable

public class UIActionForm
extends UIDialogForm
implements UISelectable

Created by The eXo Platform SARL Author : Hoang Van Hung hunghvit@gmail.com Apr 5, 2009


Nested Class Summary
static class UIActionForm.AddActionListener
           
static class UIActionForm.NextViewTreeActionListener
           
static class UIActionForm.PreviousViewPermissionActionListener
           
static class UIActionForm.RemoveActionListener
           
static class UIActionForm.RemoveReferenceActionListener
           
static class UIActionForm.SaveActionListener
           
static class UIActionForm.ShowComponentActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.ecm.webui.form.UIDialogForm
UIDialogForm.OnchangeActionListener
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String EXO_ACTIONS
           
static java.lang.String POPUP_COMPONENT
           
 
Fields inherited from class org.exoplatform.ecm.webui.form.UIDialogForm
ACTIONS, CANCEL_ACTION, componentSelectors, contentType, fieldNames, i18nNodePath, isAddNew, isReference, isRemoveActionField, isRemovePreference, isShowingComponent, isUpdateSelect, nodePath, properties, propertiesName, repositoryName, resourceResolver, SAVE_ACTION, workspaceName
 
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
UIActionForm()
           
 
Method Summary
 void createNewAction(javax.jcr.Node parentNode, java.lang.String actionType, boolean isAddNew)
           
 void doSelect(java.lang.String selectField, java.lang.Object value)
           
 java.lang.String getCurrentPath()
           
 java.lang.String getDialogPath()
           
 java.lang.String getPath()
           
 java.lang.String getRepositoryName()
           
 java.lang.String getRootPath()
           
 TaxonomyTreeData getTaxoTreeData()
           
 java.lang.String getTemplate()
           
 org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context, java.lang.String template)
           
 java.lang.String getTenmplateNodeType()
           
 java.lang.String getWorkspace()
           
 void onchange(org.exoplatform.webui.event.Event<?> event)
           
 void renderField(java.lang.String name)
           
 void setCurrentPath(java.lang.String path)
           
 void setRootPath(java.lang.String rootPath)
           
 
Methods inherited from class org.exoplatform.ecm.webui.form.UIDialogForm
addActionField, addActionField, addCalendarField, addCalendarField, addCheckBoxField, addCheckBoxField, addHiddenField, addInterceptor, addMixinField, addMixinField, addNew, addRadioBoxField, addRadioBoxField, addSelectBoxField, addSelectBoxField, addTextAreaField, addTextAreaField, addTextField, addTextField, addUploadField, addUploadField, addWYSIWYGField, addWYSIWYGField, dataRemoved, getCategoryLabel, getChildNode, getContentType, geti18nNodePath, getImage, getInputProperties, getInputProperty, getJCRResourceResolver, getListTaxonomy, getNode, getNodePath, getPathTaxonomy, getPropertyName, getSelectBoxFieldValue, getSelectedBoxFieldValue, getSession, getSesssion, getStoredPath, isAddNew, isEditing, isKeepinglock, isOnchange, isResetForm, processAction, processRenderAction, releaseLock, removeComponent, resetInterceptors, resetProperties, setChildPath, setContentType, setDataRemoved, seti18nNodePath, setInputProperty, setIsKeepinglock, setIsNotEditNode, setIsNTFile, setIsOnchange, setIsResetForm, setIsResetMultiField, setIsUpdateSelect, setJCRResourceResolver, setListTaxonomy, setNodePath, setRepositoryName, setStoredLocation, setStoredPath, setWorkspace
 
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, 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, isRendered, loadConfirmMesssage, 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
 

Field Detail

POPUP_COMPONENT

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

EXO_ACTIONS

public static final java.lang.String EXO_ACTIONS
Constructor Detail

UIActionForm

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

createNewAction

public void createNewAction(javax.jcr.Node parentNode,
                            java.lang.String actionType,
                            boolean isAddNew)
                     throws java.lang.Exception
Throws:
java.lang.Exception

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

getCurrentPath

public java.lang.String getCurrentPath()
                                throws java.lang.Exception
Throws:
java.lang.Exception

setCurrentPath

public void setCurrentPath(java.lang.String path)

getWorkspace

public java.lang.String getWorkspace()

getRepositoryName

public java.lang.String getRepositoryName()

getTaxoTreeData

public TaxonomyTreeData getTaxoTreeData()

getTemplateResourceResolver

public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
                                                                             java.lang.String template)
Overrides:
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent

getTemplate

public java.lang.String getTemplate()
Overrides:
getTemplate in class UIDialogForm

getDialogPath

public java.lang.String getDialogPath()

onchange

public void onchange(org.exoplatform.webui.event.Event<?> event)
              throws java.lang.Exception
Overrides:
onchange in class UIDialogForm
Throws:
java.lang.Exception

renderField

public void renderField(java.lang.String name)
                 throws java.lang.Exception
Overrides:
renderField in class UIDialogForm
Throws:
java.lang.Exception

getTenmplateNodeType

public java.lang.String getTenmplateNodeType()

getPath

public java.lang.String getPath()

setRootPath

public void setRootPath(java.lang.String rootPath)

getRootPath

public java.lang.String getRootPath()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.