org.alfresco.web.bean.actions
Class RunActionWizard
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wizard.BaseWizardBean
org.alfresco.web.bean.actions.BaseActionWizard
org.alfresco.web.bean.actions.RunActionWizard
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean, IWizardBean
public class RunActionWizard
- extends BaseActionWizard
Bean implementation for the "Run Action" wizard.
- See Also:
- Serialized Form
Fields inherited from class org.alfresco.web.bean.actions.BaseActionWizard |
action, actionHandlers, actions, addableAspects, allActionsDataModel, allActionsProperties, commonAspects, currentActionProperties, currentEmailRecipientsDataModel, editingAction, encodings, ERROR_ACTION_CANNOT_BE_EXECUTE_REPEATEDLY, imageTransformers, NO_PARAMS_MARKER, objectTypes, PROP_ACTION_EMAIL_RECIPIENTS, PROP_ACTION_NAME, PROP_ACTION_SUMMARY, removableAspects, returnViewId, testableAspects, transformers, users, usingTemplate |
Method Summary |
protected java.lang.String |
doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs any post commit processing subclasses may want to provide |
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
java.util.List |
getActions()
|
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 |
boolean |
getNextButtonDisabled()
Determines whether the next button on the wizard should be disabled |
java.lang.String |
getSummary()
|
void |
init(java.util.Map parameters)
Initialises the dialog bean |
Methods inherited from class org.alfresco.web.bean.actions.BaseActionWizard |
addAction, addRecipient, cancelAddAction, discardTemplate, displayLabelForAuthority, editAction, getAction, getActionProperties, getActionService, getAddableAspects, getAllActionsDataModel, getAuthorityService, getCommonAspects, getEmailRecipients, getEmailRecipientsDataModel, getImageTransformers, getMimetypeService, getObjectTypes, getPersonService, getRemovableAspects, getTestableAspects, getTransformers, getUsers, getUsingTemplate, goToPage, initialiseActionHandlers, insertTemplate, isActionPresent, isFinishButtonDisabled, promptForActionValues, readAspectsConfig, removeAction, removeRecipient, setAction, setActionService, setAuthorityService, setMimetypeService, setPersonService, setUsingTemplate |
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
cancel, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorOutcome, getFileFolderService, 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 |
Methods inherited from interface org.alfresco.web.bean.dialog.IDialogBean |
cancel, finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restored |
checkinActionPresent
protected boolean checkinActionPresent
RunActionWizard
public RunActionWizard()
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 BaseActionWizard
- Parameters:
parameters
- Map of parameters for the dialog
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
getActions
public java.util.List getActions()
- Overrides:
getActions
in class BaseActionWizard
- Returns:
- Returns the list of selectable actions
doPostCommitProcessing
protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
java.lang.String outcome)
- Description copied from class:
BaseDialogBean
- Performs any post commit processing subclasses may want to provide
- Overrides:
doPostCommitProcessing
in class BaseDialogBean
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
getErrorMessageId
protected java.lang.String getErrorMessageId()
- Description copied from class:
BaseDialogBean
- The default message id to use in error messages
- Overrides:
getErrorMessageId
in class BaseDialogBean
- Returns:
- The error message lookup id
getSummary
public java.lang.String getSummary()
- Returns:
- Returns the summary data for the wizard.
getNextButtonDisabled
public boolean getNextButtonDisabled()
- Description copied from interface:
IWizardBean
- Determines whether the next button on the wizard should be disabled
- Specified by:
getNextButtonDisabled
in interface IWizardBean
- Overrides:
getNextButtonDisabled
in class BaseWizardBean
- Returns:
- true if the button should be disabled
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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.