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(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(ActionEvent event) |
protected String |
finishImpl(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(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(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(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(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, setSearchService
public 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(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String cancel()
IDialogBean
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
public String getContainerSubTitle()
IDialogBean
If this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle
in interface IDialogBean
getContainerSubTitle
in class BaseDialogBean
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public void restored()
IDialogBean
restored
in interface IDialogBean
restored
in class BaseDialogBean
public Object getActionsContext()
IDialogBean
getActionsContext
in interface IDialogBean
getActionsContext
in class BaseDialogBean
public List<UIListItem> getFilterItems()
getFilterItems
in interface FilterViewSupport
public void filterModeChanged(ActionEvent event)
filterModeChanged
in interface FilterViewSupport
public String getFilterMode()
getFilterMode
in interface FilterViewSupport
public void setFilterMode(String filterMode)
setFilterMode
in interface FilterViewSupport
public List<UIListItem> getViewItems()
getViewItems
in interface ChangeViewSupport
public void viewModeChanged(ActionEvent event)
viewModeChanged
in interface ChangeViewSupport
public String getViewMode()
getViewMode
in interface ChangeViewSupport
public void setViewMode(String viewMode)
setViewMode
in interface ChangeViewSupport
public String getGroup()
public String getGroupName()
public void setAuthService(AuthorityService authService)
public void setPersonService(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(ActionEvent event)
public void setGroupsSearchCriteria(String groupsSearchCriteria)
groupsSearchCriteria
- Stringpublic void removeUser(ActionEvent event)
protected void updateUILocation(String group)
protected void removeFromBreadcrumb(String group)
public void contextUpdated()
IContextListener
contextUpdated
in interface IContextListener
IContextListener.contextUpdated()
public void areaChanged()
IContextListener
areaChanged
in interface IContextListener
IContextListener.areaChanged()
public void spaceChanged()
IContextListener
spaceChanged
in interface IContextListener
IContextListener.spaceChanged()
Copyright © 2005–2017 Alfresco Software. All rights reserved.