public class UsersDialog extends BaseDialogBean implements IContextListener, ChangeViewSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME |
static String |
ERROR_NEGATIVE_QUOTA |
static String |
ERROR_PASSWORD_MATCH |
protected UsersBeanProperties |
properties |
NodePropertyResolver |
resolverUserMutable |
NodePropertyResolver |
resolverUserQuota |
NodePropertyResolver |
resolverUserSizeLatest |
protected String |
viewMode
RichList view mode
|
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
UsersDialog()
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
|
String |
changeUserDetails()
Action handler called for the OK button press
|
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that
all UI Beans should refresh dump all cached data and settings.
|
String |
deleteOK()
Action handler called when the OK button is clicked on the Delete User page
|
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
|
List<Node> |
getUsers() |
int |
getUsersSize() |
Long |
getUsersTotalQuota() |
Long |
getUsersTotalUsage() |
List<UIListItem> |
getViewItems() |
String |
getViewMode() |
String |
search()
Event handler called when the user wishes to search for a user
|
void |
setProperties(UsersBeanProperties properties) |
void |
setupUserAction(javax.faces.event.ActionEvent event)
Action event called by all actions that need to setup a Person context on
the Users bean before an action page is called.
|
void |
setupUserAction(String personId)
Called in preparation for actions that need to setup a Person context on
the Users bean before an action page is called.
|
void |
setViewMode(String viewMode) |
String |
showAll()
Action handler to show all the users currently in the system
|
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that
the current space has changed.
|
void |
viewModeChanged(javax.faces.event.ActionEvent event) |
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic static String BEAN_NAME
public static final String ERROR_PASSWORD_MATCH
public static final String ERROR_NEGATIVE_QUOTA
protected String viewMode
protected UsersBeanProperties properties
public NodePropertyResolver resolverUserSizeLatest
public NodePropertyResolver resolverUserQuota
public NodePropertyResolver resolverUserMutable
public void setProperties(UsersBeanProperties properties)
properties - the properties to setpublic int getUsersSize()
public Long getUsersTotalUsage()
public Long getUsersTotalQuota()
public void setupUserAction(javax.faces.event.ActionEvent event)
public void setupUserAction(String personId)
personId - Stringpublic String deleteOK()
public String changeUserDetails()
public String search()
public String showAll()
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 getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic Object getActionsContext()
IDialogBeangetActionsContext in interface IDialogBeangetActionsContext in class BaseDialogBeanpublic List<UIListItem> getViewItems()
getViewItems in interface ChangeViewSupportpublic String getViewMode()
getViewMode in interface ChangeViewSupportpublic void setViewMode(String viewMode)
setViewMode in interface ChangeViewSupportpublic void viewModeChanged(javax.faces.event.ActionEvent event)
viewModeChanged in interface ChangeViewSupportpublic 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.