org.exoplatform.webui.organization
Class UIListPermissionSelector
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputContainer<T>
org.exoplatform.webui.organization.UIListPermissionSelector
- All Implemented Interfaces:
- UIFormInput<java.lang.String[]>
public class UIListPermissionSelector
- extends UIFormInputContainer<T>
Created by The eXo Platform SARL
Author : Pham Dung Ha
ha.pham@exoplatform.com
May 7, 2007
| 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, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIListPermissionSelector
public UIListPermissionSelector()
throws java.lang.Exception
- Throws:
java.lang.Exception
configure
public void configure(java.lang.String iname,
java.lang.String bfield)
clearGroups
public void clearGroups()
throws java.lang.Exception
- Throws:
java.lang.Exception
getValue
public java.lang.String[] getValue()
throws java.lang.Exception
- Specified by:
getValue in interface UIFormInput<java.lang.String[]>- Overrides:
getValue in class UIFormInputContainer<java.lang.String[]>
- Throws:
java.lang.Exception
setValue
public UIListPermissionSelector setValue(java.lang.String[] permissions)
throws java.lang.Exception
- Specified by:
setValue in interface UIFormInput<java.lang.String[]>- Overrides:
setValue in class UIFormInputContainer<java.lang.String[]>
- Throws:
java.lang.Exception
removePermission
public void removePermission(java.lang.String exp)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMembership
public void setMembership(java.lang.String groupId,
java.lang.String membershipType)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTypeValue
public java.lang.Class<java.lang.String[]> getTypeValue()
getLabel
public java.lang.String getLabel(java.lang.String id)
throws java.lang.Exception
- Throws:
java.lang.Exception
isPublicMode
public boolean isPublicMode()
setPublicMode
public void setPublicMode(boolean mode)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.