org.alfresco.web.bean.wcm
Class ManageChangeRequestTaskDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.workflow.ManageTaskDialog
          extended by org.alfresco.web.bean.wcm.ManageChangeRequestTaskDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class ManageChangeRequestTaskDialog
extends ManageTaskDialog

Bean implementation for the "Manage Task" dialog when dealing with the "Change Request" task specifically.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.web.bean.workflow.ManageTaskDialog
ManageTaskDialog.TaskCompleteResolver
 
Field Summary
protected  AVMBrowseBean avmBrowseBean
           
protected  boolean doResubmitNow
           
 
Fields inherited from class org.alfresco.web.bean.workflow.ManageTaskDialog
CLIENT_ID_PREFIX, completeResolver, ID_PREFIX, isItemBeingAdded, itemsToAdd, packageItemsRichList, packageItemsToAdd, packageItemsToRemove, resources, taskNode, workflowPackage
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
ManageChangeRequestTaskDialog()
           
 
Method Summary
 java.util.List getAdditionalButtons()
          Returns a list of additional buttons to display in the dialog.
protected  org.alfresco.service.cmr.avm.locking.AVMLockingService getAvmLockingService()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
           
 void setAvmLockingService(org.alfresco.service.cmr.avm.locking.AVMLockingService avmLockingService)
           
protected  void setupSubmitDialog(javax.faces.context.FacesContext context, java.util.List submitPaths, java.util.List submitNodes)
          Submits all the expired items immediately after the task is completed by launching the submit dialog with the expired items set as the modified items
 java.lang.String transition()
           
 java.lang.String transitionAndResubmit()
          Event handler for the 'Task Done & Re-Submit All' button
 
Methods inherited from class org.alfresco.web.bean.workflow.ManageTaskDialog
addAVMNode, addPackageItems, cancelAddPackageItems, createAndAddNode, finishImpl, getAvmService, getAvmSyncService, getContainerDescription, getContainerTitle, getFinishButtonDisabled, getFinishButtonLabel, getItemsToAdd, getPackageActionGroup, getPackageItemActionGroup, getPackageItemsRichList, getResources, getTaskNode, getWebProjectService, getWorkflowDefinitionImageUrl, getWorkflowInstance, getWorkflowService, getWorkflowTask, getWorkflowTransitions, isItemBeingAdded, isPooledTask, prepareForAdd, removePackageItem, restored, returnOwnership, setAvmService, setAvmSyncService, setItemsToAdd, setPackageItemsRichList, setWebProjectService, setWorkflowService, takeOwnership, togglePackageItemComplete, updateResources
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getCancelButtonLabel, getCheckOutCheckInService, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, 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
 

Field Detail

doResubmitNow

protected boolean doResubmitNow

avmBrowseBean

protected AVMBrowseBean avmBrowseBean
Constructor Detail

ManageChangeRequestTaskDialog

public ManageChangeRequestTaskDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class ManageTaskDialog
Parameters:
parameters - Map of parameters for the dialog

getAdditionalButtons

public java.util.List getAdditionalButtons()
Description copied from interface: IDialogBean
Returns a list of additional buttons to display in the dialog.

Specified by:
getAdditionalButtons in interface IDialogBean
Overrides:
getAdditionalButtons in class ManageTaskDialog
Returns:
List of button configurations, null if there are no buttons

transition

public java.lang.String transition()
Overrides:
transition in class ManageTaskDialog

transitionAndResubmit

public java.lang.String transitionAndResubmit()
Event handler for the 'Task Done & Re-Submit All' button


setAvmBrowseBean

public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
Parameters:
avmBrowseBean - AVMBrowseBean instance

setAvmLockingService

public void setAvmLockingService(org.alfresco.service.cmr.avm.locking.AVMLockingService avmLockingService)
Parameters:
avmLockingService - The AVMLockingService instance

getAvmLockingService

protected org.alfresco.service.cmr.avm.locking.AVMLockingService getAvmLockingService()

setupSubmitDialog

protected void setupSubmitDialog(javax.faces.context.FacesContext context,
                                 java.util.List submitPaths,
                                 java.util.List submitNodes)
Submits all the expired items immediately after the task is completed by launching the submit dialog with the expired items set as the modified items

Parameters:
context - Faces context
submitPaths - The list of paths being submitted
submitNodes - Node desriptor for each node being submitted


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