|
|||||||||
| 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.users.UsersDialog
public class UsersDialog
| Field Summary | |
|---|---|
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 |
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
UsersDialog()
Default Constructor |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public UsersDialog()
| Method Detail |
|---|
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
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic java.lang.String cancel()
IDialogBean
cancel in interface IDialogBeancancel in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic java.lang.Object getActionsContext()
IDialogBean
getActionsContext 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()
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 | ||||||||