public class CancelWorkflowDialog extends BaseDialogBean
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
CancelWorkflowDialog() |
Modifier and Type | Method and Description |
---|---|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
String |
getConfirmMessage()
Returns the confirmation to display to the user before deleting the content.
|
protected String |
getErrorMessageId()
The default message id to use in error messages
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
protected WorkflowInstance |
getWorkflowInstance() |
WorkflowService |
getWorkflowService()
Returns the workflow service instance
|
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
void |
setWorkflowService(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(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
protected String getErrorMessageId()
BaseDialogBean
getErrorMessageId
in class BaseDialogBean
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class BaseDialogBean
public String getConfirmMessage()
public WorkflowService getWorkflowService()
public void setWorkflowService(WorkflowService workflowService)
workflowService
- The WorkflowService instanceprotected WorkflowInstance getWorkflowInstance()
Copyright © 2005–2017 Alfresco Software. All rights reserved.