org.exoplatform.webui.organization
Class UIListPermissionSelector

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIFormInputContainer<T>
              extended by 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


Nested Class Summary
static class UIListPermissionSelector.ChangePublicModeActionListener
           
static class UIListPermissionSelector.DeleteActionListener
           
static class UIListPermissionSelector.EmptyIteratorValidator
           
static class UISelector.SelectMembershipActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.form.UIFormInputContainer
bindingField, name, value_
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIListPermissionSelector()
           
 
Method Summary
 void clearGroups()
           
 void configure(java.lang.String iname, java.lang.String bfield)
           
 java.lang.String getLabel(java.lang.String id)
           
 java.lang.Class<java.lang.String[]> getTypeValue()
           
 java.lang.String[] getValue()
           
 boolean isPublicMode()
           
 void removePermission(java.lang.String exp)
           
 void setMembership(java.lang.String groupId, java.lang.String membershipType)
           
 void setPublicMode(boolean mode)
           
 UIListPermissionSelector setValue(java.lang.String[] permissions)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormInputContainer
addValidator, getBindingField, getLabel, getName, getValidators, isEmpty, reset, setBindingField, setLabel, setName
 
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
 

Constructor Detail

UIListPermissionSelector

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

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.