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(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(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(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, setSearchService
public 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(ActionEvent event)
public void setupUserAction(String personId)
personId
- Stringpublic String deleteOK()
public String changeUserDetails()
public String search()
public String showAll()
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 getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public Object getActionsContext()
IDialogBean
getActionsContext
in interface IDialogBean
getActionsContext
in class BaseDialogBean
public List<UIListItem> getViewItems()
getViewItems
in interface ChangeViewSupport
public String getViewMode()
getViewMode
in interface ChangeViewSupport
public void setViewMode(String viewMode)
setViewMode
in interface ChangeViewSupport
public void viewModeChanged(ActionEvent event)
viewModeChanged
in interface ChangeViewSupport
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.