public class UsersDialog extends BaseDialogBean implements IContextListener, ChangeViewSupport
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_NAME |
static java.lang.String |
ERROR_NEGATIVE_QUOTA |
static java.lang.String |
ERROR_PASSWORD_MATCH |
protected UsersBeanProperties |
properties |
NodePropertyResolver |
resolverUserMutable |
NodePropertyResolver |
resolverUserQuota |
NodePropertyResolver |
resolverUserSizeLatest |
protected java.lang.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.
|
java.lang.String |
cancel()
Method handler called when the cancel button of the dialog is pressed
|
java.lang.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.
|
java.lang.String |
deleteOK()
Action handler called when the OK button is clicked on the Delete User page
|
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.util.List |
getUsers() |
int |
getUsersSize() |
java.lang.Long |
getUsersTotalQuota() |
java.lang.Long |
getUsersTotalUsage() |
java.util.List |
getViewItems() |
java.lang.String |
getViewMode() |
java.lang.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(java.lang.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(java.lang.String viewMode) |
java.lang.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 java.lang.String BEAN_NAME
public static final java.lang.String ERROR_PASSWORD_MATCH
public static final java.lang.String ERROR_NEGATIVE_QUOTA
protected java.lang.String viewMode
protected UsersBeanProperties properties
public NodePropertyResolver resolverUserSizeLatest
public NodePropertyResolver resolverUserQuota
public NodePropertyResolver resolverUserMutable
public void setProperties(UsersBeanProperties properties)
properties - the properties to setpublic java.util.List getUsers()
public int getUsersSize()
public java.lang.Long getUsersTotalUsage()
public java.lang.Long getUsersTotalQuota()
public void setupUserAction(javax.faces.event.ActionEvent event)
public void setupUserAction(java.lang.String personId)
personId - public java.lang.String deleteOK()
public java.lang.String changeUserDetails()
public java.lang.String search()
public java.lang.String showAll()
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.lang.String cancel()
IDialogBeancancel in interface IDialogBeancancel in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic java.lang.Object getActionsContext()
IDialogBeangetActionsContext in interface IDialogBeangetActionsContext in class BaseDialogBeanpublic java.util.List getViewItems()
getViewItems in interface ChangeViewSupportpublic java.lang.String getViewMode()
getViewMode in interface ChangeViewSupportpublic void setViewMode(java.lang.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 - 2010 Alfresco Software, Inc. All Rights Reserved.