org.alfresco.web.bean.users
Class EditContentUserRolesDialog

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

public class EditContentUserRolesDialog
extends BaseDialogBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
EditContentUserRolesDialog()
           
 
Method Summary
 void addRole(javax.faces.event.ActionEvent event)
           
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 ContentUsersBean getContentUsersBean()
           
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 javax.faces.model.DataModel getPersonRolesDataModel()
           
 void removeRole(javax.faces.event.ActionEvent event)
           
 void setContentUsersBean(ContentUsersBean contentUsersBean)
           
 void setupUserAction(javax.faces.event.ActionEvent event)
           
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, 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

EditContentUserRolesDialog

public EditContentUserRolesDialog()
Method Detail

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

getContentUsersBean

public ContentUsersBean getContentUsersBean()

setContentUsersBean

public void setContentUsersBean(ContentUsersBean contentUsersBean)

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

Specified by:
finishImpl in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

addRole

public void addRole(javax.faces.event.ActionEvent event)

setupUserAction

public void setupUserAction(javax.faces.event.ActionEvent event)

removeRole

public void removeRole(javax.faces.event.ActionEvent event)

getPersonRolesDataModel

public javax.faces.model.DataModel getPersonRolesDataModel()


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