org.exoplatform.ecm.webui.component.admin.taxonomy.tree.info
Class UIPermissionTreeForm

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.component.admin.taxonomy.tree.info.UIPermissionTreeForm
All Implemented Interfaces:
UISelectable

public class UIPermissionTreeForm
extends org.exoplatform.webui.form.UIForm
implements UISelectable

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


Nested Class Summary
static class UIPermissionTreeForm.AddAnyActionListener
           
static class UIPermissionTreeForm.NextAddActionActionListener
           
static class UIPermissionTreeForm.PreviousActionListener
           
static class UIPermissionTreeForm.ResetActionListener
           
static class UIPermissionTreeForm.SaveActionListener
           
static class UIPermissionTreeForm.SelectMemberActionListener
           
static class UIPermissionTreeForm.SelectUserActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String PERMISSION
           
static java.lang.String POPUP_SELECT
           
static java.lang.String SELECT_GROUP_ID
           
 
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
UIPermissionTreeForm()
           
 
Method Summary
 void doSelect(java.lang.String selectField, java.lang.Object value)
           
 void fillForm(java.lang.String user, org.exoplatform.services.jcr.core.ExtendedNode node)
           
 javax.jcr.Node getCurrentNode()
           
 PermissionBean getPermBean()
           
protected  boolean isEditable(javax.jcr.Node node)
           
protected  void lockForm(boolean isLock)
           
 void setCurrentNode(javax.jcr.Node currentNode)
           
 void setPermBean(PermissionBean permBean)
           
 
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, 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, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, 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

PERMISSION

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

POPUP_SELECT

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

SELECT_GROUP_ID

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

UIPermissionTreeForm

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

isEditable

protected boolean isEditable(javax.jcr.Node node)
                      throws java.lang.Exception
Throws:
java.lang.Exception

fillForm

public void fillForm(java.lang.String user,
                     org.exoplatform.services.jcr.core.ExtendedNode node)
              throws java.lang.Exception
Throws:
java.lang.Exception

lockForm

protected void lockForm(boolean isLock)

getCurrentNode

public javax.jcr.Node getCurrentNode()

setCurrentNode

public void setCurrentNode(javax.jcr.Node currentNode)

getPermBean

public PermissionBean getPermBean()

setPermBean

public void setPermBean(PermissionBean permBean)

doSelect

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.