|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.workflow.CancelWorkflowDialog
public class CancelWorkflowDialog
Bean implementation for the "Cancel Workflow" dialog
Field Summary |
---|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
CancelWorkflowDialog()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CancelWorkflowDialog()
Method Detail |
---|
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 outcome
java.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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |