org.alfresco.web.bean.users
Class ChangeMyPasswordDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.users.UsersDialog
          extended by org.alfresco.web.bean.users.ChangeMyPasswordDialog
All Implemented Interfaces:
java.io.Serializable, IContextListener, ChangeViewSupport, IDialogBean

public class ChangeMyPasswordDialog
extends UsersDialog

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.users.UsersDialog
BEAN_NAME, ERROR_NEGATIVE_QUOTA, ERROR_PASSWORD_MATCH, properties, resolverUserMutable, resolverUserQuota, resolverUserSizeLatest, viewMode
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
ChangeMyPasswordDialog()
           
 
Method Summary
 java.lang.String changeMyPasswordOK(java.lang.String newOutcome, javax.faces.context.FacesContext newContext)
          Action handler called for OK button press on Change My Password screen For this screen the user is required to enter their old password - effectively login.
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 java.lang.String getFinishButtonLabel()
          Returns the label to use for the finish button
 
Methods inherited from class org.alfresco.web.bean.users.UsersDialog
areaChanged, cancel, changeUserDetails, contextUpdated, deleteOK, getActionsContext, getCancelButtonLabel, getUsers, getUsersSize, getUsersTotalQuota, getUsersTotalUsage, getViewItems, getViewMode, search, setProperties, setupUserAction, setupUserAction, setViewMode, showAll, spaceChanged, viewModeChanged
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeMyPasswordDialog

public ChangeMyPasswordDialog()
Method Detail

finishImpl

protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
                                      java.lang.String outcome)
                               throws java.lang.Exception
Description copied from class: BaseDialogBean
Performs the actual processing for the wizard. NOTE: This method is called within the context of a transaction so no transaction handling is required

Overrides:
finishImpl in class UsersDialog
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

getFinishButtonLabel

public java.lang.String getFinishButtonLabel()
Description copied from interface: IDialogBean
Returns the label to use for the finish button

Specified by:
getFinishButtonLabel in interface IDialogBean
Overrides:
getFinishButtonLabel in class BaseDialogBean
Returns:
The finish button label

getFinishButtonDisabled

public boolean getFinishButtonDisabled()
Description copied from interface: IDialogBean
Determines whether the finish button on the dialog should be disabled

Specified by:
getFinishButtonDisabled in interface IDialogBean
Overrides:
getFinishButtonDisabled in class BaseDialogBean
Returns:
true if the button should be disabled

changeMyPasswordOK

public java.lang.String changeMyPasswordOK(java.lang.String newOutcome,
                                           javax.faces.context.FacesContext newContext)
Action handler called for OK button press on Change My Password screen For this screen the user is required to enter their old password - effectively login.



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.