org.alfresco.web.bean.workflow
Class ViewCompletedTaskDialog

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.workflow.ViewCompletedTaskDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class ViewCompletedTaskDialog
extends ManageTaskDialog

Bean implementation for the "View Completed Task" dialog.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.web.bean.workflow.ManageTaskDialog
ManageTaskDialog.TaskCompleteResolver
 
Field Summary
 
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
ViewCompletedTaskDialog()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 java.util.List getAdditionalButtons()
          Returns a list of additional buttons to display in the dialog.
 java.lang.String getCancelButtonLabel()
          Returns the label to use for the cancel button
 java.lang.String getContainerTitle()
          Returns the title to be used for the dialog
 
Methods inherited from class org.alfresco.web.bean.workflow.ManageTaskDialog
addAVMNode, addPackageItems, cancelAddPackageItems, createAndAddNode, getAvmService, getAvmSyncService, getContainerDescription, getFinishButtonDisabled, getFinishButtonLabel, getItemsToAdd, getPackageActionGroup, getPackageItemActionGroup, getPackageItemsRichList, getResources, getTaskNode, getWebProjectService, getWorkflowDefinitionImageUrl, getWorkflowInstance, getWorkflowService, getWorkflowTask, getWorkflowTransitions, init, isItemBeingAdded, isPooledTask, prepareForAdd, removePackageItem, restored, returnOwnership, setAvmService, setAvmSyncService, setItemsToAdd, setPackageItemsRichList, setWebProjectService, setWorkflowService, takeOwnership, togglePackageItemComplete, transition, updateResources
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, 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
 

Constructor Detail

ViewCompletedTaskDialog

public ViewCompletedTaskDialog()
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 ManageTaskDialog
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

getCancelButtonLabel

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

Specified by:
getCancelButtonLabel in interface IDialogBean
Overrides:
getCancelButtonLabel in class BaseDialogBean
Returns:
The cancel button label

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

getContainerTitle

public java.lang.String getContainerTitle()
Description copied from interface: IDialogBean
Returns the title to be used for the dialog

If this returns null the DialogManager will lookup the title via the dialog configuration

Specified by:
getContainerTitle in interface IDialogBean
Overrides:
getContainerTitle in class ManageTaskDialog
Returns:
The title or null if the title is to be acquired via configuration


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