Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.security
Class GroupManagementActions

java.lang.Object
  extended by org.nuxeo.ecm.webapp.security.AbstractUserGroupManagement
      extended by org.nuxeo.ecm.webapp.security.GroupManagementActions
All Implemented Interfaces:
Serializable

@Name(value="groupManagementActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class GroupManagementActions
extends AbstractUserGroupManagement
implements Serializable

/** Handles users management related web actions.

Since:
5.4.2
Author:
Thomas Roger
See Also:
Serialized Form

Field Summary
static String GROUPS_LISTING_CHANGED
           
static String GROUPS_TAB
           
 
Fields inherited from class org.nuxeo.ecm.webapp.security.AbstractUserGroupManagement
DEFAULT_LISTING_MODE, DETAILS_VIEW_MODE, MAIN_TAB_HOME, MAIN_TABS_CATEGORY, NUXEO_ADMIN_CATEGORY, USER_CENTER_CATEGORY, USERS_GROUPS_HOME, USERS_GROUPS_HOME_SUB_TAB, USERS_GROUPS_MANAGER, USERS_GROUPS_MANAGER_SUB_TAB, VALID_CHARS, VIEW_HOME
 
Constructor Summary
GroupManagementActions()
           
 
Method Summary
 void clearSearch()
           
 void createGroup()
           
 void createGroup(boolean createAnotherGroup)
           
 void deleteGroup()
           
 boolean getAllowCreateGroup()
           
 boolean getAllowDeleteGroup()
           
 boolean getAllowEditGroup()
           
 DocumentModel getNewGroup()
           
 DocumentModel getSelectedGroup()
           
 void onUsersListingChanged()
           
 void resetState()
           
 void setSelectedGroup(String groupName)
           
 void updateGroup()
           
 void validateGroupName(FacesContext context, UIComponent component, Object value)
           
 String viewGroup()
           
 String viewGroup(String groupName)
           
 
Methods inherited from class org.nuxeo.ecm.webapp.security.AbstractUserGroupManagement
getDetailsMode, getListingMode, getSearchString, isShowCreateForm, isShowUserOrGroup, setDetailsMode, setListingMode, setSearchString, toggleShowCreateForm, toggleShowUserOrGroup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUPS_TAB

public static final String GROUPS_TAB
See Also:
Constant Field Values

GROUPS_LISTING_CHANGED

public static final String GROUPS_LISTING_CHANGED
See Also:
Constant Field Values
Constructor Detail

GroupManagementActions

public GroupManagementActions()
Method Detail

getSelectedGroup

public DocumentModel getSelectedGroup()

setSelectedGroup

public void setSelectedGroup(String groupName)
                      throws ClientException
Throws:
ClientException

getNewGroup

public DocumentModel getNewGroup()
                          throws ClientException
Throws:
ClientException

clearSearch

public void clearSearch()

createGroup

public void createGroup()
                 throws ClientException
Throws:
ClientException

createGroup

public void createGroup(boolean createAnotherGroup)
                 throws ClientException
Throws:
ClientException

updateGroup

public void updateGroup()
                 throws ClientException
Throws:
ClientException

deleteGroup

public void deleteGroup()
                 throws ClientException
Throws:
ClientException

getAllowCreateGroup

public boolean getAllowCreateGroup()
                            throws ClientException
Throws:
ClientException

getAllowDeleteGroup

public boolean getAllowDeleteGroup()
                            throws ClientException
Throws:
ClientException

getAllowEditGroup

public boolean getAllowEditGroup()
                          throws ClientException
Throws:
ClientException

validateGroupName

public void validateGroupName(FacesContext context,
                              UIComponent component,
                              Object value)

viewGroup

public String viewGroup()
                 throws ClientException
Throws:
ClientException

viewGroup

public String viewGroup(String groupName)
                 throws ClientException
Throws:
ClientException

onUsersListingChanged

@Observer(value="groupsListingChanged")
public void onUsersListingChanged()

resetState

@Observer(value={"currentTabChanged_MAIN_TABS","currentTabChanged_NUXEO_ADMIN","currentTabChanged_USER_CENTER","currentTabChanged_UsersGroupsManager_sub_tab","currentTabChanged_UsersGroupsHome_sub_tab"})
public void resetState()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.