public class GroupsDialog extends BaseDialogBean implements IContextListener, FilterViewSupport, ChangeViewSupport
| Modifier and Type | Class and Description |
|---|---|
class |
GroupsDialog.AuthorityNamePropertyResolver |
class |
GroupsDialog.AuthorityPropertyResolver
Simple dynamic resolver class to return authority properties at runtime
|
static class |
GroupsDialog.UserAuthorityDetails
Simple wrapper bean exposing user authority and person details for JSF results list
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
filterMode
Filter mode
|
protected String |
group
Currently visible Group Authority
|
protected String |
groupName |
protected List<Map<String,String>> |
groups
Groups
|
protected UIRichList |
groupsRichList
Component references
|
static String |
KEY_GROUP |
protected List<IBreadcrumbHandler> |
location
Groups path breadcrumb location
|
static String |
PARAM_GROUP |
static String |
PARAM_GROUP_NAME |
protected UIRichList |
usersRichList |
protected String |
viewMode
RichList view mode
|
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
GroupsDialog()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that
the user has changed area i.e.
|
String |
cancel()
Method handler called when the cancel button of the dialog is pressed
|
void |
clickGroup(javax.faces.event.ActionEvent event)
Action called when a Group folder is clicked.
|
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that
all UI Beans should refresh dump all cached data and settings.
|
void |
filterModeChanged(javax.faces.event.ActionEvent event) |
protected String |
finishImpl(javax.faces.context.FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
Object |
getActionsContext()
Returns the object to use as the context for the main and more
actions that may be configured by the dialog
|
String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
String |
getContainerSubTitle()
Returns the subtitle to be used for the dialog
|
List<UIListItem> |
getFilterItems() |
String |
getFilterMode() |
String |
getGroup() |
String |
getGroupName() |
List<Map<String,String>> |
getGroups() |
UIRichList |
getGroupsRichList() |
String |
getGroupsSearchCriteria() |
List<IBreadcrumbHandler> |
getLocation() |
List<Map<String,Object>> |
getUsers() |
UIRichList |
getUsersRichList() |
List<UIListItem> |
getViewItems() |
String |
getViewMode() |
boolean |
isAllowSearchGroups() |
protected void |
removeFromBreadcrumb(String group) |
void |
removeUser(javax.faces.event.ActionEvent event)
Remove specified user from the current group
|
void |
restored()
Called when the dialog is restored after a nested dialog is closed
|
String |
searchGroups()
Event handler called when the user wishes to search for a group
|
void |
setAuthService(org.alfresco.service.cmr.security.AuthorityService authService) |
protected void |
setCurrentGroup(String group,
String groupName)
Set the current Group Authority.
|
void |
setFilterMode(String filterMode) |
void |
setGroupsRichList(UIRichList groupsRichList) |
void |
setGroupsSearchCriteria(String groupsSearchCriteria)
Simple setter
|
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
setUsersRichList(UIRichList usersRichList) |
void |
setViewMode(String viewMode) |
String |
showAllGroups()
Action handler to show all the sub-groups in the group
|
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that
the current space has changed.
|
protected void |
updateUILocation(String group)
Update the breadcrumb with the clicked Group location
|
void |
viewModeChanged(javax.faces.event.ActionEvent event) |
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic static final String KEY_GROUP
public static final String PARAM_GROUP
public static final String PARAM_GROUP_NAME
protected UIRichList groupsRichList
protected UIRichList usersRichList
protected String group
protected String groupName
protected String viewMode
protected String filterMode
protected List<IBreadcrumbHandler> location
protected String finishImpl(javax.faces.context.FacesContext context, String outcome) throws Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomeExceptionpublic String cancel()
IDialogBeancancel in interface IDialogBeancancel in class BaseDialogBeanpublic String getContainerSubTitle()
IDialogBeanIf this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle in interface IDialogBeangetContainerSubTitle in class BaseDialogBeanpublic String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic void restored()
IDialogBeanrestored in interface IDialogBeanrestored in class BaseDialogBeanpublic Object getActionsContext()
IDialogBeangetActionsContext in interface IDialogBeangetActionsContext in class BaseDialogBeanpublic List<UIListItem> getFilterItems()
getFilterItems in interface FilterViewSupportpublic void filterModeChanged(javax.faces.event.ActionEvent event)
filterModeChanged in interface FilterViewSupportpublic String getFilterMode()
getFilterMode in interface FilterViewSupportpublic void setFilterMode(String filterMode)
setFilterMode in interface FilterViewSupportpublic List<UIListItem> getViewItems()
getViewItems in interface ChangeViewSupportpublic void viewModeChanged(javax.faces.event.ActionEvent event)
viewModeChanged in interface ChangeViewSupportpublic String getViewMode()
getViewMode in interface ChangeViewSupportpublic void setViewMode(String viewMode)
setViewMode in interface ChangeViewSupportpublic String getGroup()
public String getGroupName()
public void setAuthService(org.alfresco.service.cmr.security.AuthorityService authService)
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
public UIRichList getGroupsRichList()
public void setGroupsRichList(UIRichList groupsRichList)
public UIRichList getUsersRichList()
public void setUsersRichList(UIRichList usersRichList)
public List<IBreadcrumbHandler> getLocation()
public boolean isAllowSearchGroups()
public List<Map<String,String>> getGroups()
public String getGroupsSearchCriteria()
public String searchGroups()
public String showAllGroups()
public List<Map<String,Object>> getUsers()
protected void setCurrentGroup(String group, String groupName)
Setting this value causes the UI to update and display the specified node as current.
group - The current group authority.public void clickGroup(javax.faces.event.ActionEvent event)
public void setGroupsSearchCriteria(String groupsSearchCriteria)
groupsSearchCriteria - Stringpublic void removeUser(javax.faces.event.ActionEvent event)
protected void updateUILocation(String group)
protected void removeFromBreadcrumb(String group)
public void contextUpdated()
IContextListenercontextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListenerareaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListenerspaceChanged in interface IContextListenerIContextListener.spaceChanged()Copyright © 2005–2018 Alfresco Software. All rights reserved.