|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.groups.GroupsDialog
public class GroupsDialog
Backing Bean for the Groups Management pages.
| Nested Class Summary | |
|---|---|
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 |
| Field Summary | |
|---|---|
protected java.lang.String |
filterMode
Filter mode |
protected java.lang.String |
group
Currently visible Group Authority |
protected java.lang.String |
groupName
|
protected java.util.List |
groups
Groups |
protected UIRichList |
groupsRichList
Component references |
static java.lang.String |
KEY_GROUP
|
protected java.util.List |
location
Groups path breadcrumb location |
static java.lang.String |
PARAM_GROUP
|
static java.lang.String |
PARAM_GROUP_NAME
|
protected UIRichList |
usersRichList
|
protected java.lang.String |
viewMode
RichList view mode |
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
GroupsDialog()
Default Constructor |
|
| Method Summary | |
|---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that the user has changed area i.e. |
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 java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
java.lang.Object |
getActionsContext()
Returns the object to use as the context for the main and more actions that may be configured by the dialog |
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button |
java.lang.String |
getContainerSubTitle()
Returns the subtitle to be used for the dialog |
java.util.List |
getFilterItems()
|
java.lang.String |
getFilterMode()
|
java.lang.String |
getGroup()
|
java.lang.String |
getGroupName()
|
java.util.List |
getGroups()
|
UIRichList |
getGroupsRichList()
|
java.lang.String |
getGroupsSearchCriteria()
|
java.util.List |
getLocation()
|
java.util.List |
getUsers()
|
UIRichList |
getUsersRichList()
|
java.util.List |
getViewItems()
|
java.lang.String |
getViewMode()
|
boolean |
isAllowSearchGroups()
|
protected void |
removeFromBreadcrumb(java.lang.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 |
java.lang.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(java.lang.String group,
java.lang.String groupName)
Set the current Group Authority. |
void |
setFilterMode(java.lang.String filterMode)
|
void |
setGroupsRichList(UIRichList groupsRichList)
|
void |
setGroupsSearchCriteria(java.lang.String groupsSearchCriteria)
Simple setter |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService)
|
void |
setUsersRichList(UIRichList usersRichList)
|
void |
setViewMode(java.lang.String viewMode)
|
java.lang.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(java.lang.String group)
Update the breadcrumb with the clicked Group location |
void |
viewModeChanged(javax.faces.event.ActionEvent event)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String KEY_GROUP
public static final java.lang.String PARAM_GROUP
public static final java.lang.String PARAM_GROUP_NAME
protected UIRichList groupsRichList
protected UIRichList usersRichList
protected java.util.List groups
protected java.lang.String group
protected java.lang.String groupName
protected java.lang.String viewMode
protected java.lang.String filterMode
protected java.util.List location
| Constructor Detail |
|---|
public GroupsDialog()
| Method Detail |
|---|
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic java.lang.String getContainerSubTitle()
IDialogBeanIf this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle in interface IDialogBeangetContainerSubTitle in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic void restored()
IDialogBean
restored in interface IDialogBeanrestored in class BaseDialogBeanpublic java.lang.Object getActionsContext()
IDialogBean
getActionsContext in interface IDialogBeangetActionsContext in class BaseDialogBeanpublic java.util.List getFilterItems()
getFilterItems in interface FilterViewSupportpublic void filterModeChanged(javax.faces.event.ActionEvent event)
filterModeChanged in interface FilterViewSupportpublic java.lang.String getFilterMode()
getFilterMode in interface FilterViewSupportpublic void setFilterMode(java.lang.String filterMode)
setFilterMode in interface FilterViewSupportpublic java.util.List getViewItems()
getViewItems in interface ChangeViewSupportpublic void viewModeChanged(javax.faces.event.ActionEvent event)
viewModeChanged in interface ChangeViewSupportpublic java.lang.String getViewMode()
getViewMode in interface ChangeViewSupportpublic void setViewMode(java.lang.String viewMode)
setViewMode in interface ChangeViewSupportpublic java.lang.String getGroup()
public java.lang.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 java.util.List getLocation()
public boolean isAllowSearchGroups()
public java.util.List getGroups()
public java.lang.String getGroupsSearchCriteria()
public java.lang.String searchGroups()
public java.lang.String showAllGroups()
public java.util.List getUsers()
protected void setCurrentGroup(java.lang.String group,
java.lang.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(java.lang.String groupsSearchCriteria)
groupsSearchCriteria - public void removeUser(javax.faces.event.ActionEvent event)
protected void updateUILocation(java.lang.String group)
protected void removeFromBreadcrumb(java.lang.String group)
public void contextUpdated()
IContextListener
contextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListener
areaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListener
spaceChanged in interface IContextListenerIContextListener.spaceChanged()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||