org.exoplatform.wcm.webui.dialog.permission
Class UIPermissionManager

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.wcm.webui.dialog.permission.UIPermissionManager
All Implemented Interfaces:
org.exoplatform.ecm.webui.selector.UISelectable

public class UIPermissionManager
extends org.exoplatform.webui.form.UIForm
implements org.exoplatform.ecm.webui.selector.UISelectable

Created by The eXo Platform SAS Author : Phan Le Thanh Chuong chuong.phan@exoplatform.com, phan.le.thanh.chuong@gmail.com Oct 29, 2009


Nested Class Summary
static class UIPermissionManager.AddAnyActionListener
          The listener interface for receiving addAnyAction events.
static class UIPermissionManager.ClearActionListener
          The listener interface for receiving resetAction events.
static class UIPermissionManager.DeleteActionListener
          The listener interface for receiving deleteAction events.
static class UIPermissionManager.EditActionListener
          The listener interface for receiving editAction events.
static class UIPermissionManager.SaveActionListener
          The listener interface for receiving saveAction events.
static class UIPermissionManager.SelectMemberActionListener
          The listener interface for receiving selectMemberAction events.
static class UIPermissionManager.SelectUserActionListener
          The listener interface for receiving selectUserAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String ACCESSIBLE_CHECKBOX_INPUT
          The Constant ACCESSIBLE_CHECKBOX_INPUT.
static java.lang.String EDITABLE_CHECKBOX_INPUT
          The Constant EDITABLE_CHECKBOX_INPUT.
static java.lang.String GROUP_SELECTOR_POPUP_WINDOW
           
static java.lang.String PERMISSION_INPUT_SET
          The Constant PERMISSION_INPUT_SET.
static java.lang.String PERMISSION_MANAGER_GRID
          The Constant PERMISSION_MANAGER_GRID.
static java.lang.String PERMISSION_STRING_INPUT
          The Constant PERMISSION_STRING_INPUT.
static java.lang.String USER_SELECTOR_POPUP_WINDOW
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIPermissionManager()
          Instantiates a new uI permission info.
 
Method Summary
 void doSelect(java.lang.String selectField, java.lang.Object value)
           
 java.lang.String getPopupId()
           
 void setPopupId(java.lang.String popupId)
           
 void updateGrid()
          Update grid.
 
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, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMISSION_MANAGER_GRID

public static final java.lang.String PERMISSION_MANAGER_GRID
The Constant PERMISSION_MANAGER_GRID.

See Also:
Constant Field Values

PERMISSION_INPUT_SET

public static final java.lang.String PERMISSION_INPUT_SET
The Constant PERMISSION_INPUT_SET.

See Also:
Constant Field Values

PERMISSION_STRING_INPUT

public static final java.lang.String PERMISSION_STRING_INPUT
The Constant PERMISSION_STRING_INPUT.

See Also:
Constant Field Values

ACCESSIBLE_CHECKBOX_INPUT

public static final java.lang.String ACCESSIBLE_CHECKBOX_INPUT
The Constant ACCESSIBLE_CHECKBOX_INPUT.

See Also:
Constant Field Values

EDITABLE_CHECKBOX_INPUT

public static final java.lang.String EDITABLE_CHECKBOX_INPUT
The Constant EDITABLE_CHECKBOX_INPUT.

See Also:
Constant Field Values

USER_SELECTOR_POPUP_WINDOW

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

GROUP_SELECTOR_POPUP_WINDOW

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

UIPermissionManager

public UIPermissionManager()
                    throws java.lang.Exception
Instantiates a new uI permission info.

Throws:
java.lang.Exception - the exception
Method Detail

getPopupId

public java.lang.String getPopupId()

setPopupId

public void setPopupId(java.lang.String popupId)

updateGrid

public void updateGrid()
                throws java.lang.Exception
Update grid.

Throws:
java.lang.Exception - the exception

doSelect

public void doSelect(java.lang.String selectField,
                     java.lang.Object value)
              throws java.lang.Exception
Specified by:
doSelect in interface org.exoplatform.ecm.webui.selector.UISelectable
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.