org.alfresco.web.bean.workflow
Class BaseReassignDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.workflow.BaseReassignDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean
Direct Known Subclasses:
ReassignTaskDialog, ReassignWorkItemDialog

public abstract class BaseReassignDialog
extends BaseDialogBean

Base dialog bean for workflow user reassignment.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
BaseReassignDialog()
           
 
Method Summary
 javax.faces.model.SelectItem[] getFilters()
          Property accessed by the Generic Picker component.
protected  org.alfresco.service.cmr.security.PersonService getPersonService()
           
protected  org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
           
 javax.faces.model.SelectItem[] pickerCallback(int filterIndex, java.lang.String contains)
          Query callback method executed by the Generic Picker component.
 void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
           
 void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
          Sets the workflow service to use
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, finishImpl, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseReassignDialog

public BaseReassignDialog()
Method Detail

setWorkflowService

public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
Sets the workflow service to use

Parameters:
workflowService - The WorkflowService instance

getWorkflowService

protected org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()

setPersonService

public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
Parameters:
personService - The PersonService to set.

getPersonService

protected org.alfresco.service.cmr.security.PersonService getPersonService()

getFilters

public javax.faces.model.SelectItem[] getFilters()
Property accessed by the Generic Picker component.

Returns:
the array of filter options to show in the users/groups picker

pickerCallback

public javax.faces.model.SelectItem[] pickerCallback(int filterIndex,
                                                     java.lang.String contains)
Query callback method executed by the Generic Picker component. This method is part of the contract to the Generic Picker, it is up to the backing bean to execute whatever query is appropriate and return the results.

Parameters:
filterIndex - Index of the filter drop-down selection
contains - Text from the contains textbox
Returns:
An array of SelectItem objects containing the results to display in the picker.


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