org.alfresco.web.bean.rules
Class EditRuleWizard
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.rules.CreateRuleWizard
org.alfresco.web.bean.rules.CreateCompositeRuleWizard
org.alfresco.web.bean.rules.EditRuleWizard
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean, IWizardBean
public class EditRuleWizard
- extends CreateCompositeRuleWizard
Bean implementation for the "Edit Rule" wizard
- See Also:
- Serialized Form
Fields inherited from class org.alfresco.web.bean.rules.CreateRuleWizard |
allConditionsDataModel, allConditionsPropertiesList, applyToSubSpaces, conditionHandlers, currentConditionProperties, description, editingCondition, PROP_CONDITION_NAME, PROP_CONDITION_SUMMARY, ruleDisabled, rulesDialog, runInBackground, selectedCondition, title, type |
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 |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
boolean |
getRuleTypeDisabled()
Determines whether the rule type drop down list should be enabled. |
void |
init(java.util.Map parameters)
Initialises the dialog bean |
protected void |
populateActions(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.action.CompositeAction compositeAction)
|
protected void |
populateConditions(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.action.CompositeAction compositeAction)
|
protected void |
populateProperties(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.action.ActionCondition condition,
java.util.Map uiConditionProperties)
|
Methods inherited from class org.alfresco.web.bean.rules.CreateCompositeRuleWizard |
addCondition, cancelAddCondition, editCondition, finishAddingCompositeCondition, getAllCompositeConditionsDataModel, getCompositeConditions, isAddingCompositeCondition, printConditionState, promptForConditionValues, removeCondition, setAddingCompositeCondition, setupCompositeConditionsMode |
Methods inherited from class org.alfresco.web.bean.rules.CreateRuleWizard |
editCondition, getAllConditionsDataModel, getApplyToSubSpaces, getCompositeAction, getCondition, getConditionProperties, getConditions, getDescription, getErrorMessageId, getFinishButtonDisabled, getMimeTypes, getModelTypes, getNextButtonDisabled, getRuleDisabled, getRuleService, getRunInBackground, getSummary, getTitle, getType, getTypes, initialiseConditionHandlers, setApplyToSubSpaces, setCondition, setDescription, setRuleDisabled, setRulesDialog, setRuleService, setRunInBackground, setTitle, setType, setupRule |
Methods inherited from class org.alfresco.web.bean.actions.BaseActionWizard |
addAction, addRecipient, cancelAddAction, discardTemplate, displayLabelForAuthority, editAction, getAction, getActionProperties, getActions, 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, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, 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 |
EditRuleWizard
public EditRuleWizard()
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 CreateCompositeRuleWizard
- Parameters:
parameters
- Map of parameters for the dialog
populateActions
protected void populateActions(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.action.CompositeAction compositeAction)
populateConditions
protected void populateConditions(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.action.CompositeAction compositeAction)
populateProperties
protected void populateProperties(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.action.ActionCondition condition,
java.util.Map uiConditionProperties)
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
- Overrides:
finishImpl
in class CreateRuleWizard
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
getRuleTypeDisabled
public boolean getRuleTypeDisabled()
- Determines whether the rule type drop down list should be enabled.
- Overrides:
getRuleTypeDisabled
in class CreateRuleWizard
- Returns:
- true as the rule type drop down should be disabled
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.