org.alfresco.web.bean.wcm
Class FormWorkflowDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wcm.FormWorkflowDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
- Direct Known Subclasses:
- SubmitConfigureWorkflowDialog
public class FormWorkflowDialog
- extends BaseDialogBean
Backing bean for the Website Project Configure Workflow dialog.
Launched from the Configure Workflow button on the Define Web Content Forms page.
- See Also:
- Serialized Form
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, 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 |
websiteWizard
protected CreateWebsiteWizard websiteWizard
workflowNode
protected TransientNode workflowNode
FormWorkflowDialog
public FormWorkflowDialog()
setWorkflowService
public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
- Parameters:
workflowService
- The WorkflowService to set.
getWorkflowService
protected org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
setCreateWebsiteWizard
public void setCreateWebsiteWizard(CreateWebsiteWizard wizard)
- Parameters:
wizard
- The Create Website Wizard to set.
getFilenamePattern
public java.lang.String getFilenamePattern()
- Returns:
- Returns the filename pattern.
setFilenamePattern
public void setFilenamePattern(java.lang.String filenamePattern)
- Parameters:
filenamePattern
- The filename pattern to set.
init
public void init(java.util.Map parameters)
- Description copied from interface:
IDialogBean
- Initialises the dialog bean
- Specified by:
init
in interface IDialogBean
- Overrides:
init
in class BaseDialogBean
- Parameters:
parameters
- Map of parameters for the dialog- See Also:
BaseDialogBean.init(java.util.Map)
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
- Specified by:
finishImpl
in class BaseDialogBean
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
- See Also:
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)
getFinishButtonDisabled
public boolean getFinishButtonDisabled()
- Description copied from interface:
IDialogBean
- Determines whether the finish button on the dialog should be disabled
- Specified by:
getFinishButtonDisabled
in interface IDialogBean
- Overrides:
getFinishButtonDisabled
in class BaseDialogBean
- Returns:
- true if the button should be disabled
- See Also:
BaseDialogBean.getFinishButtonDisabled()
getActionWorkflow
public WorkflowConfiguration getActionWorkflow()
- Returns:
- an object representing the workflow for the current action
getWorkflowMetadataNode
public Node getWorkflowMetadataNode()
- Returns the Node representing the start task metadata required
- Returns:
- The Node for the start task
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.