org.exoplatform.contentvalidation.webui
Class UIDocumentForm

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.contentvalidation.webui.UIDocumentForm
All Implemented Interfaces:
UISelectable, org.exoplatform.webui.core.UIPopupComponent

public class UIDocumentForm
extends UIDialogForm
implements org.exoplatform.webui.core.UIPopupComponent, UISelectable

Created by The eXo Platform SARL Author : Ly Dinh Quang quang.ly@exoplatform.com xxx5669@gmail.com Jan 16, 2009


Nested Class Summary
static class UIDocumentForm.AddActionListener
           
static class UIDocumentForm.CancelActionListener
           
static class UIDocumentForm.RemoveActionListener
           
static class UIDocumentForm.SaveActionListener
           
 
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 FIELD_TAXONOMY
           
static java.lang.String PATH_TAXONOMY
           
static java.lang.String POPUP_TAXONOMY
           
 
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, uiMultiValueParam, 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
UIDocumentForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 void doSelect(java.lang.String selectField, java.lang.Object value)
           
 javax.jcr.Node getCurrentNode()
           
 java.util.List<java.lang.String> getlistTaxonomyName()
           
 javax.jcr.Node getRootPathTaxonomy(javax.jcr.Node node)
           
 java.lang.String getTemplate()
           
 org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context, java.lang.String template)
           
 void initFieldInput()
           
 boolean isEditing()
           
 void renderField(java.lang.String name)
           
 void setListTaxonomyName(java.util.List<java.lang.String> listTaxonomyNameNew)
           
 void setNodePath(java.lang.String nodePath)
           
 void setRepositoryName(java.lang.String repositoryName)
           
 void setTemplateNode(java.lang.String type)
           
 void setWorkspace(java.lang.String workspace)
           
 
Methods inherited from class org.exoplatform.ecm.webui.form.UIDialogForm
addActionField, addActionField, addCalendarField, addCalendarField, addCheckBoxField, addCheckBoxField, addHiddenField, addInterceptor, addMixinField, addMixinField, addNew, addRadioBoxField, addRadioBoxField, addRichtextField, addRichtextField, addSelectBoxField, addSelectBoxField, addTextAreaField, addTextAreaField, addTextField, addTextField, addUploadField, addUploadField, addWYSIWYGField, addWYSIWYGField, dataRemoved, getCategoryLabel, getChildNode, getContentType, geti18nNodePath, getImage, getInputProperties, getInputProperty, getJCRResourceResolver, getLastModifiedDate, getLastModifiedDate, getListTaxonomy, getNode, getNodePath, getPathTaxonomy, getPropertyName, getSelectBoxFieldValue, getSelectedBoxFieldValue, getSelectedTab, getSession, getSesssion, getStoredPath, isAddNew, isKeepinglock, isOnchange, isResetForm, onchange, processAction, processRenderAction, releaseLock, removeComponent, resetInterceptors, resetProperties, setChildPath, setContentType, setDataRemoved, seti18nNodePath, setInputProperty, setIsKeepinglock, setIsNotEditNode, setIsNTFile, setIsOnchange, setIsResetForm, setIsResetMultiField, setIsUpdateSelect, setJCRResourceResolver, setListTaxonomy, setSelectedTab, setStoredLocation, setStoredPath
 
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, isRendered, loadConfirmMesssage, 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

FIELD_TAXONOMY

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

POPUP_TAXONOMY

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

PATH_TAXONOMY

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

UIDocumentForm

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

getlistTaxonomyName

public java.util.List<java.lang.String> getlistTaxonomyName()

setListTaxonomyName

public void setListTaxonomyName(java.util.List<java.lang.String> listTaxonomyNameNew)

setNodePath

public void setNodePath(java.lang.String nodePath)
Overrides:
setNodePath in class UIDialogForm

setTemplateNode

public void setTemplateNode(java.lang.String type)

setRepositoryName

public void setRepositoryName(java.lang.String repositoryName)
Overrides:
setRepositoryName in class UIDialogForm

setWorkspace

public void setWorkspace(java.lang.String workspace)
Overrides:
setWorkspace in class UIDialogForm

getTemplate

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

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

getCurrentNode

public javax.jcr.Node getCurrentNode()
                              throws java.lang.Exception
Throws:
java.lang.Exception

isEditing

public boolean isEditing()
Overrides:
isEditing in class UIDialogForm

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

getRootPathTaxonomy

public javax.jcr.Node getRootPathTaxonomy(javax.jcr.Node node)
                                   throws java.lang.Exception
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

initFieldInput

public void initFieldInput()
                    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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.