org.exoplatform.ecm.webui.component.admin.nodetype
Class UINodeTypeForm

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.nodetype.UINodeTypeForm

public class UINodeTypeForm
extends org.exoplatform.webui.form.UIFormTabPane

Created by The eXo Platform SARL Author : Dang Van Minh minh.dang@exoplatform.com Sep 20, 2006 5:33:13 PM


Nested Class Summary
static class UINodeTypeForm.AddSuperTypeActionListener
           
static class UINodeTypeForm.CancelActionListener
           
static class UINodeTypeForm.CloseActionListener
           
static class UINodeTypeForm.SaveActionListener
           
static class UINodeTypeForm.SaveDraftActionListener
           
static class UINodeTypeForm.ViewChildNodeActionListener
           
static class UINodeTypeForm.ViewPropertyActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormTabPane
org.exoplatform.webui.form.UIFormTabPane.SelectTabActionListener
 
Field Summary
static java.lang.String[] ACTION_BACK
           
static java.lang.String ACTION_CANCEL
           
static java.lang.String ACTION_CANCEL_TAB
           
static java.lang.String ACTION_SAVE
           
static java.lang.String ACTION_SAVEDRAFT
           
static java.lang.String ADD_CHILD
           
static java.lang.String ADD_PROPERTY
           
static java.lang.String ADD_TYPE
           
 java.util.List<org.exoplatform.services.jcr.core.nodetype.NodeDefinitionValue> addedChildDef_
           
 java.util.List<org.exoplatform.services.jcr.core.nodetype.PropertyDefinitionValue> addedPropertiesDef_
           
static java.lang.String CHILD_NODE_DEFINITIONS
           
static java.lang.String CHILDNODE_DEFINITION
           
static java.lang.String CHILDNODE_DEFINITIONS
           
static java.lang.String DEFAULT_PRIMARY_TYPE_TAB
           
static java.lang.String FALSE
           
static java.lang.String HAS_ORDERABLE_CHILDNODES
           
static java.lang.String IS_MIX_IN
           
static java.lang.String JCR_NODETYPE_DRAFT
           
static java.lang.String MIXIN_TYPE
           
static java.lang.String NAMESPACE
           
static java.lang.String NODETYPE_DEFINITION
           
static java.lang.String NODETYPE_NAME
           
static java.lang.String NT_UNSTRUCTURED
           
static java.lang.String ON_PARENT_VERSION
           
static java.lang.String PRIMARY_ITEMNAME
           
static java.lang.String PROPERTY_DEFINITION
           
static java.lang.String PROPERTY_DEFINITIONS
           
static java.lang.String PROPERTY_DEFINITIONS_NODE
           
static java.lang.String PROPERTY_NAME
           
static java.lang.String REQUIRED_PRIMARY_TYPE_TAB
           
static java.lang.String SUPER_TYPE
           
static java.lang.String SUPER_TYPE_TAB
           
static java.lang.String TRUE
           
 
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
UINodeTypeForm()
           
 
Method Summary
 java.lang.String[] getActions()
           
 java.lang.String getLabel(java.util.ResourceBundle res, java.lang.String id)
           
 java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> getNamespaces()
           
 void refresh()
           
 void removeChildTabs(java.lang.String[] tabNames)
           
 void setActionInTab(UIFormInputSetWithAction tab)
           
 void setChildDraftNode(javax.jcr.Node draftNodeType)
           
 void setChildValue(java.util.List<org.exoplatform.services.jcr.core.nodetype.NodeDefinitionValue> listChildNode)
           
 void setPropertyDraftNode(javax.jcr.Node draftNodeType)
           
 void setPropertyValue(java.util.List<org.exoplatform.services.jcr.core.nodetype.PropertyDefinitionValue> listProperty)
           
 void setTabRender(java.lang.String tabName)
           
 void update(javax.jcr.nodetype.NodeType nodeType, boolean isView)
           
 void updateEdit(javax.jcr.Node draftNodeType, boolean isDraft)
           
 
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, 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, 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

NAMESPACE

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

NODETYPE_NAME

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

MIXIN_TYPE

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

HAS_ORDERABLE_CHILDNODES

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

PRIMARY_ITEMNAME

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

PROPERTY_DEFINITIONS

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

CHILDNODE_DEFINITIONS

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

SUPER_TYPE

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

SUPER_TYPE_TAB

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

DEFAULT_PRIMARY_TYPE_TAB

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

REQUIRED_PRIMARY_TYPE_TAB

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

NODETYPE_DEFINITION

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

PROPERTY_DEFINITION

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

CHILDNODE_DEFINITION

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

NT_UNSTRUCTURED

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

PROPERTY_DEFINITIONS_NODE

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

CHILD_NODE_DEFINITIONS

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

IS_MIX_IN

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

PROPERTY_NAME

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

ON_PARENT_VERSION

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

JCR_NODETYPE_DRAFT

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

TRUE

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

FALSE

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

ADD_CHILD

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

ADD_PROPERTY

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

ACTION_SAVE

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

ACTION_SAVEDRAFT

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

ACTION_CANCEL

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

ACTION_CANCEL_TAB

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

ACTION_BACK

public static final java.lang.String[] ACTION_BACK

ADD_TYPE

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

addedPropertiesDef_

public java.util.List<org.exoplatform.services.jcr.core.nodetype.PropertyDefinitionValue> addedPropertiesDef_

addedChildDef_

public java.util.List<org.exoplatform.services.jcr.core.nodetype.NodeDefinitionValue> addedChildDef_
Constructor Detail

UINodeTypeForm

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

setActionInTab

public void setActionInTab(UIFormInputSetWithAction tab)

getActions

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

getLabel

public java.lang.String getLabel(java.util.ResourceBundle res,
                                 java.lang.String id)
Overrides:
getLabel in class org.exoplatform.webui.form.UIForm

getNamespaces

public java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> getNamespaces()
                                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

setChildValue

public void setChildValue(java.util.List<org.exoplatform.services.jcr.core.nodetype.NodeDefinitionValue> listChildNode)
                   throws java.lang.Exception
Throws:
java.lang.Exception

removeChildTabs

public void removeChildTabs(java.lang.String[] tabNames)

setPropertyValue

public void setPropertyValue(java.util.List<org.exoplatform.services.jcr.core.nodetype.PropertyDefinitionValue> listProperty)
                      throws java.lang.Exception
Throws:
java.lang.Exception

update

public void update(javax.jcr.nodetype.NodeType nodeType,
                   boolean isView)
            throws java.lang.Exception
Throws:
java.lang.Exception

setChildDraftNode

public void setChildDraftNode(javax.jcr.Node draftNodeType)
                       throws java.lang.Exception
Throws:
java.lang.Exception

setPropertyDraftNode

public void setPropertyDraftNode(javax.jcr.Node draftNodeType)
                          throws java.lang.Exception
Throws:
java.lang.Exception

updateEdit

public void updateEdit(javax.jcr.Node draftNodeType,
                       boolean isDraft)
                throws java.lang.Exception
Throws:
java.lang.Exception

refresh

public void refresh()
             throws java.lang.Exception
Throws:
java.lang.Exception

setTabRender

public void setTabRender(java.lang.String tabName)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.