@Name(value="groupManagementActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class GroupManagementActions extends AbstractUserGroupManagement implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Boolean |
canEditGroups |
protected boolean |
createAnotherGroup |
static String |
GROUPS_LISTING_CHANGED |
static String |
GROUPS_TAB |
protected DocumentModel |
newGroup |
protected DocumentModel |
selectedGroup |
contentViewActions, currentUser, DEFAULT_LISTING_MODE, DETAILS_VIEW_MODE, detailsMode, facesMessages, listingMode, MAIN_TAB_HOME, MAIN_TABS_CATEGORY, navigationContext, NUXEO_ADMIN_CATEGORY, resourcesAccessor, searchString, shouldResetStateOnTabChange, showCreateForm, showUserOrGroup, USER_CENTER_CATEGORY, userManager, USERS_GROUPS_HOME, USERS_GROUPS_HOME_SUB_TAB, USERS_GROUPS_MANAGEMENT_ACCESS_FILTER, USERS_GROUPS_MANAGER, USERS_GROUPS_MANAGER_SUB_TAB, VALID_CHARS, VIEW_HOME, webActions
Constructor and Description |
---|
GroupManagementActions() |
Modifier and Type | Method and Description |
---|---|
void |
clearSearch() |
protected String |
computeListingMode() |
void |
createGroup() |
void |
deleteGroup() |
protected void |
fireSeamEvent(String eventName) |
boolean |
getAllowCreateGroup() |
boolean |
getAllowDeleteGroup() |
boolean |
getAllowEditGroup() |
protected boolean |
getCanEditGroups() |
DocumentModel |
getNewGroup() |
DocumentModel |
getSelectedGroup() |
String |
getSelectedGroupName() |
boolean |
isCreateAnotherGroup() |
void |
onUsersListingChanged() |
protected DocumentModel |
refreshGroup(String groupName) |
void |
resetState() |
void |
setCreateAnotherGroup(boolean createAnotherGroup) |
void |
setSelectedGroup(String groupName) |
void |
setSelectedGroupName(String groupName) |
void |
setShowGroup(String showGroup) |
void |
updateGroup() |
void |
validateGroupName(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value) |
String |
viewGroup() |
String |
viewGroup(String groupName) |
getAllAdminGroups, getDetailsMode, getListingMode, getSearchString, isShowCreateForm, isShowUserOrGroup, setDetailsMode, setListingMode, setSearchString, toggleShowCreateForm, toggleShowUserOrGroup
public static final String GROUPS_TAB
public static final String GROUPS_LISTING_CHANGED
protected Boolean canEditGroups
protected DocumentModel selectedGroup
protected DocumentModel newGroup
protected boolean createAnotherGroup
public GroupManagementActions()
protected String computeListingMode()
computeListingMode
in class AbstractUserGroupManagement
public DocumentModel getSelectedGroup()
public String getSelectedGroupName()
public void setSelectedGroupName(String groupName)
public void setShowGroup(String showGroup)
public void setSelectedGroup(String groupName)
protected DocumentModel refreshGroup(String groupName)
public DocumentModel getNewGroup()
public void clearSearch()
public void createGroup()
public void updateGroup()
public void deleteGroup()
public boolean getAllowCreateGroup()
protected boolean getCanEditGroups()
public boolean getAllowDeleteGroup()
public boolean getAllowEditGroup()
public void validateGroupName(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
protected void fireSeamEvent(String eventName)
@Observer(value="groupsListingChanged") public void onUsersListingChanged()
@Observer(value={"currentTabChanged_MAIN_TABS","currentTabChanged_NUXEO_ADMIN","currentTabChanged_USER_CENTER","currentTabChanged_UsersGroupsManager_sub_tab","currentTabChanged_UsersGroupsHome_sub_tab","currentTabSelected_MAIN_TABS","currentTabSelected_NUXEO_ADMIN","currentTabSelected_USER_CENTER","currentTabSelected_UsersGroupsManager_sub_tab","currentTabSelected_UsersGroupsHome_sub_tab"}, create=false) public void resetState()
public boolean isCreateAnotherGroup()
public void setCreateAnotherGroup(boolean createAnotherGroup)
Copyright © 2017 Nuxeo. All rights reserved.