Package org.exoplatform.wiki.webui
Class UIWikiPermissionForm
- java.lang.Object
-
- org.exoplatform.webui.core.UIComponent
-
- org.exoplatform.webui.core.UIContainer
-
- org.exoplatform.webui.form.UIForm
-
- org.exoplatform.wiki.webui.core.UIWikiForm
-
- org.exoplatform.wiki.webui.UIWikiPermissionForm
-
- All Implemented Interfaces:
org.exoplatform.webui.core.UIPopupComponent
public class UIWikiPermissionForm extends UIWikiForm implements org.exoplatform.webui.core.UIPopupComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIWikiPermissionForm.AddEntryActionListenerstatic classUIWikiPermissionForm.CloseActionListenerstatic classUIWikiPermissionForm.ClosePopupActionListenerstatic classUIWikiPermissionForm.CloseUserPopupActionListenerstatic classUIWikiPermissionForm.DeleteEntryActionListenerstatic classUIWikiPermissionForm.OpenSelectGroupFormActionListenerstatic classUIWikiPermissionForm.OpenSelectMembershipFormActionListenerstatic classUIWikiPermissionForm.OpenSelectUserFormActionListenerstatic classUIWikiPermissionForm.SaveActionListenerstatic classUIWikiPermissionForm.Scopestatic classUIWikiPermissionForm.SelectGroupActionListenerstatic classUIWikiPermissionForm.SelectMembershipActionListenerstatic classUIWikiPermissionForm.SelectUserActionListener
-
Field Summary
Fields Modifier and Type Field Description static StringADD_ENTRYstatic StringADD_ICONstatic StringANYstatic StringCLOSEstatic StringDELETE_ENTRYstatic StringGROUP_ICONstatic StringMEMBERSHIP_ICONstatic StringOPEN_SELECT_GROUP_FORMstatic StringOPEN_SELECT_MEMBERSHIP_FORMstatic StringOPEN_SELECT_USER_FORMstatic StringPERMISSION_OWNERstatic StringPERMISSION_POPUP_SELECTORstatic StringROOTstatic StringSAVEstatic StringUSER_ICONstatic StringUSER_PERMISSION_POPUP_SELECTORstatic StringWIKI_PERMISSION_OWNER-
Fields inherited from class org.exoplatform.wiki.webui.core.UIWikiForm
accept_Modes
-
-
Constructor Summary
Constructors Constructor Description UIWikiPermissionForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()voidcancelPopupAction()voiddeActivate()org.exoplatform.webui.core.UIPopupWindowgetPermissionPopupSelector()UIWikiPortlet.PopupLevelgetPopupLevel()UIWikiPermissionForm.ScopegetScope()org.exoplatform.webui.core.UIPopupWindowgetUserPermissionPopupSelector()voidsetPermission(List<org.exoplatform.wiki.mow.api.PermissionEntry> permissionEntries)voidsetPopupLevel(UIWikiPortlet.PopupLevel popupLevel)voidsetScope(UIWikiPermissionForm.Scope scope)-
Methods inherited from class org.exoplatform.wiki.webui.core.UIWikiForm
getAccept_Modes, getCurrentMode, processRender, setAccept_Modes
-
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, 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, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
-
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
-
-
-
-
Field Detail
-
ANY
public static final String ANY
- See Also:
- Constant Field Values
-
ROOT
public static final String ROOT
- See Also:
- Constant Field Values
-
ADD_ENTRY
public static final String ADD_ENTRY
- See Also:
- Constant Field Values
-
DELETE_ENTRY
public static final String DELETE_ENTRY
- See Also:
- Constant Field Values
-
WIKI_PERMISSION_OWNER
public static final String WIKI_PERMISSION_OWNER
- See Also:
- Constant Field Values
-
PERMISSION_OWNER
public static final String PERMISSION_OWNER
- See Also:
- Constant Field Values
-
PERMISSION_POPUP_SELECTOR
public static final String PERMISSION_POPUP_SELECTOR
- See Also:
- Constant Field Values
-
USER_PERMISSION_POPUP_SELECTOR
public static final String USER_PERMISSION_POPUP_SELECTOR
- See Also:
- Constant Field Values
-
OPEN_SELECT_USER_FORM
public static final String OPEN_SELECT_USER_FORM
- See Also:
- Constant Field Values
-
OPEN_SELECT_GROUP_FORM
public static final String OPEN_SELECT_GROUP_FORM
- See Also:
- Constant Field Values
-
OPEN_SELECT_MEMBERSHIP_FORM
public static final String OPEN_SELECT_MEMBERSHIP_FORM
- See Also:
- Constant Field Values
-
GROUP_ICON
public static final String GROUP_ICON
- See Also:
- Constant Field Values
-
USER_ICON
public static final String USER_ICON
- See Also:
- Constant Field Values
-
MEMBERSHIP_ICON
public static final String MEMBERSHIP_ICON
- See Also:
- Constant Field Values
-
ADD_ICON
public static final String ADD_ICON
- See Also:
- Constant Field Values
-
SAVE
public static final String SAVE
- See Also:
- Constant Field Values
-
CLOSE
public static final String CLOSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUserPermissionPopupSelector
public org.exoplatform.webui.core.UIPopupWindow getUserPermissionPopupSelector()
-
getPermissionPopupSelector
public org.exoplatform.webui.core.UIPopupWindow getPermissionPopupSelector()
-
getScope
public UIWikiPermissionForm.Scope getScope()
-
getPopupLevel
public UIWikiPortlet.PopupLevel getPopupLevel()
-
setPopupLevel
public void setPopupLevel(UIWikiPortlet.PopupLevel popupLevel)
-
setScope
public void setScope(UIWikiPermissionForm.Scope scope) throws Exception
- Throws:
Exception
-
setPermission
public void setPermission(List<org.exoplatform.wiki.mow.api.PermissionEntry> permissionEntries) throws Exception
- Throws:
Exception
-
activate
public void activate()
- Specified by:
activatein interfaceorg.exoplatform.webui.core.UIPopupComponent
-
deActivate
public void deActivate()
- Specified by:
deActivatein interfaceorg.exoplatform.webui.core.UIPopupComponent
-
-