|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.organization.UIGroupMembershipSelector
org.exoplatform.ecm.webui.component.admin.unlock.UIPermissionSelector
public class UIPermissionSelector
Created by The eXo Platform SARL Author : Dang Van Minh minh.dang@exoplatform.com Nov 17, 2006
| Nested Class Summary | |
|---|---|
static class |
UIPermissionSelector.AddAnyPermissionActionListener
|
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. |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static java.lang.String |
defaultValue
The Constant defaultValue. |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIPermissionSelector()
Instantiates a new uI permission selector. |
|
| Method Summary | |
|---|---|
java.lang.String |
getReturnField()
Gets the return field. |
org.exoplatform.webui.core.UIComponent |
getSourceComponent()
Gets the return component. |
java.util.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(java.lang.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 |
setShowAnyPermission(boolean isShowAnyPermission)
Set show/hide any permission form |
void |
setSourceComponent(org.exoplatform.webui.core.UIComponent uicomponent,
java.lang.String[] initParams)
|
| Methods inherited from class org.exoplatform.webui.organization.UIGroupMembershipSelector |
|---|
changeGroup, event, getCurrentGroup, getListMemberhip, processRender |
| 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, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, registerRendererFor, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String defaultValue
| Constructor Detail |
|---|
public UIPermissionSelector()
throws java.lang.Exception
java.lang.Exception - the exception| Method Detail |
|---|
public void setCurrentPermission(java.lang.String per)
throws java.lang.Exception
per - the new current permission
java.lang.Exception - the exceptionpublic org.exoplatform.webui.core.UIComponent getSourceComponent()
getSourceComponent in interface ComponentSelectorpublic java.lang.String getReturnField()
public void setIsUsePopup(boolean isUsePopup)
public boolean isUsePopup()
public void setSourceComponent(org.exoplatform.webui.core.UIComponent uicomponent,
java.lang.String[] initParams)
setSourceComponent in interface ComponentSelectorpublic void setSelectedUser(boolean bool)
bool - the new selected userpublic boolean isSelectedUser()
public void setSelectedMembership(boolean bool)
bool - the new selected membershippublic boolean isSelectedMembership()
public java.util.List getUsers()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic boolean isShowAnyPermission()
public void setShowAnyPermission(boolean isShowAnyPermission)
isShowAnyPermission - isShowAnyPermission = true: Show form
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||