public class UIPermissionSelector extends org.exoplatform.webui.organization.UIGroupMembershipSelector implements ComponentSelector
| Modifier and Type | Class and Description |
|---|---|
static class |
UIPermissionSelector.ChangeNodeActionListener
The listener interface for receiving changeNodeAction events.
|
static class |
UIPermissionSelector.SelectMembershipActionListener
The listener interface for receiving selectMembershipAction events.
|
static class |
UIPermissionSelector.SelectPathActionListener
The listener interface for receiving selectPathAction events.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultValue
The Constant defaultValue.
|
| Constructor and Description |
|---|
UIPermissionSelector()
Instantiates a new uI permission selector.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getListGroup() |
String |
getReturnField()
Gets the return field.
|
org.exoplatform.webui.core.UIComponent |
getSourceComponent()
Gets the return component.
|
List |
getUsers()
Gets the users.
|
boolean |
isSelectedMembership()
Checks if is selected membership.
|
boolean |
isSelectedUser()
Checks if is selected user.
|
boolean |
isShowAnyPermission()
Check show/hide form to set any permission
|
boolean |
isUsePopup() |
void |
setCurrentPermission(String per)
Sets the current permission.
|
void |
setIsUsePopup(boolean isUsePopup) |
void |
setSelectedMembership(boolean bool)
Sets the selected membership.
|
void |
setSelectedUser(boolean bool)
Sets the selected user.
|
void |
setSourceComponent(org.exoplatform.webui.core.UIComponent uicomponent,
String[] initParams)
Sets the source component of a selector
|
changeGroup, event, getCurrentGroup, getListMemberhip, processRenderaddChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlpublic static final String defaultValue
public void setCurrentPermission(String per) throws Exception
per - the new current permissionException - the exceptionpublic org.exoplatform.webui.core.UIComponent getSourceComponent()
getSourceComponent in interface ComponentSelectorpublic String getReturnField()
public void setIsUsePopup(boolean isUsePopup)
public boolean isUsePopup()
public void setSourceComponent(org.exoplatform.webui.core.UIComponent uicomponent,
String[] initParams)
ComponentSelectorsetSourceComponent in interface ComponentSelectoruicomponent - the uicomponentinitParams - the init paramspublic void setSelectedUser(boolean bool)
bool - the new selected userpublic boolean isSelectedUser()
public void setSelectedMembership(boolean bool)
bool - the new selected membershippublic boolean isSelectedMembership()
public List getUsers() throws Exception
Exception - the exceptionpublic boolean isShowAnyPermission()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.