org.exoplatform.wiki.webui
Class UIWikiPermissionForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.wiki.webui.core.UIWikiForm
                  extended by 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
static class UIWikiPermissionForm.AddEntryActionListener
           
static class UIWikiPermissionForm.CloseActionListener
           
static class UIWikiPermissionForm.ClosePopupActionListener
           
static class UIWikiPermissionForm.CloseUserPopupActionListener
           
static class UIWikiPermissionForm.DeleteEntryActionListener
           
static class UIWikiPermissionForm.OpenSelectGroupFormActionListener
           
static class UIWikiPermissionForm.OpenSelectMembershipFormActionListener
           
static class UIWikiPermissionForm.OpenSelectUserFormActionListener
           
static class UIWikiPermissionForm.SaveActionListener
           
static class UIWikiPermissionForm.Scope
           
static class UIWikiPermissionForm.SelectGroupActionListener
           
static class UIWikiPermissionForm.SelectMembershipActionListener
           
static class UIWikiPermissionForm.SelectUserActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String ADD_ENTRY
           
static String ADD_ICON
           
static String ANY
           
static String CLOSE
           
static String DELETE_ENTRY
           
static String GROUP_ICON
           
static String MEMBERSHIP_ICON
           
static String OPEN_SELECT_GROUP_FORM
           
static String OPEN_SELECT_MEMBERSHIP_FORM
           
static String OPEN_SELECT_USER_FORM
           
static String PERMISSION_OWNER
           
static String PERMISSION_POPUP_SELECTOR
           
static String ROOT
           
static String SAVE
           
static String USER_ICON
           
static String USER_PERMISSION_POPUP_SELECTOR
           
static String WIKI_PERMISSION_OWNER
           
 
Fields inherited from class org.exoplatform.wiki.webui.core.UIWikiForm
accept_Modes
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIWikiPermissionForm()
           
 
Method Summary
 void activate()
           
 void cancelPopupAction()
           
 List<org.exoplatform.wiki.service.PermissionEntry> convertToPermissionEntryList(HashMap<String,String[]> permissions)
           
 void deActivate()
           
 org.exoplatform.webui.core.UIPopupWindow getPermissionPopupSelector()
           
 UIWikiPortlet.PopupLevel getPopupLevel()
           
 UIWikiPermissionForm.Scope getScope()
           
 org.exoplatform.webui.core.UIPopupWindow getUserPermissionPopupSelector()
           
 void setPermission(List<org.exoplatform.wiki.service.PermissionEntry> permissionEntries)
           
 void setPopupLevel(UIWikiPortlet.PopupLevel popupLevel)
           
 void setScope(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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

UIWikiPermissionForm

public UIWikiPermissionForm()
                     throws Exception
Throws:
Exception
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)

cancelPopupAction

public void cancelPopupAction()
                       throws Exception
Throws:
Exception

setScope

public void setScope(UIWikiPermissionForm.Scope scope)
              throws Exception
Throws:
Exception

setPermission

public void setPermission(List<org.exoplatform.wiki.service.PermissionEntry> permissionEntries)
                   throws Exception
Throws:
Exception

convertToPermissionEntryList

public List<org.exoplatform.wiki.service.PermissionEntry> convertToPermissionEntryList(HashMap<String,String[]> permissions)

activate

public void activate()
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent

deActivate

public void deActivate()
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.