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, setSearchService
public void init(java.util.Map parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomejava.lang.Exception
protected java.lang.String getErrorMessageId()
BaseDialogBean
getErrorMessageId
in class BaseDialogBean
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public java.lang.String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class BaseDialogBean
public 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.