public class CancelWorkflowDialog extends BaseDialogBean
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
CancelWorkflowDialog() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
java.lang.String |
getConfirmMessage()
Returns the confirmation to display to the user before deleting the content.
|
protected java.lang.String |
getErrorMessageId()
The default message id to use in error messages
|
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
|
protected org.alfresco.service.cmr.workflow.WorkflowInstance |
getWorkflowInstance() |
org.alfresco.service.cmr.workflow.WorkflowService |
getWorkflowService()
Returns the workflow service instance
|
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
void |
setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
Sets the workflow service to use
|
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionprotected java.lang.String getErrorMessageId()
BaseDialogBeangetErrorMessageId in class BaseDialogBeanpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic java.lang.String getFinishButtonLabel()
IDialogBeangetFinishButtonLabel in interface IDialogBeangetFinishButtonLabel in class BaseDialogBeanpublic java.lang.String getConfirmMessage()
public org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
workflowService - The WorkflowService instanceprotected org.alfresco.service.cmr.workflow.WorkflowInstance getWorkflowInstance()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.