org.alfresco.web.bean.rules
Class CreateCompositeRuleWizard

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wizard.BaseWizardBean
          extended by org.alfresco.web.bean.actions.BaseActionWizard
              extended by org.alfresco.web.bean.rules.CreateRuleWizard
                  extended by org.alfresco.web.bean.rules.CreateCompositeRuleWizard
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean
Direct Known Subclasses:
EditRuleWizard

public class CreateCompositeRuleWizard
extends CreateRuleWizard

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.web.bean.actions.BaseActionWizard
BaseActionWizard.RecipientWrapper
 
Field Summary
protected  java.util.List currentCompositeConditionPropertiesList
           
protected  javax.faces.model.DataModel currentCompositeConditionsDataModel
           
 
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
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
CreateCompositeRuleWizard()
           
 
Method Summary
 void addCondition()
          Adds the condition just setup by the user to the list of composite conditions This gathers the composite conditions in the
 void cancelAddCondition()
          Cancels the addition of the condition
 void editCondition()
          Sets up the context for editing existing composite condition values
 void finishAddingCompositeCondition()
           
 javax.faces.model.DataModel getAllCompositeConditionsDataModel()
          Returns the properties for all the conditions as a JSF DataModel
 java.util.List getCompositeConditions()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
protected  boolean isAddingCompositeCondition()
           
protected  void printConditionState()
           
 void promptForConditionValues()
          Displays the settings page for the current condition being added (if required)
 void removeCondition()
          Removes the requested condition from the list
protected  void setAddingCompositeCondition(boolean addingCompositeCondition)
           
 void setupCompositeConditionsMode()
           
 
Methods inherited from class org.alfresco.web.bean.rules.CreateRuleWizard
editCondition, finishImpl, getAllConditionsDataModel, getApplyToSubSpaces, getCompositeAction, getCondition, getConditionProperties, getConditions, getDescription, getErrorMessageId, getFinishButtonDisabled, getMimeTypes, getModelTypes, getNextButtonDisabled, getRuleDisabled, getRuleService, getRuleTypeDisabled, 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.wizard.BaseWizardBean
back, buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getDefaultFinishOutcome, getFinishButtonLabel, getNextButtonLabel, getStepDescription, getStepTitle, next
 
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
 

Field Detail

currentCompositeConditionsDataModel

protected javax.faces.model.DataModel currentCompositeConditionsDataModel

currentCompositeConditionPropertiesList

protected java.util.List currentCompositeConditionPropertiesList
Constructor Detail

CreateCompositeRuleWizard

public CreateCompositeRuleWizard()
Method Detail

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 CreateRuleWizard
Parameters:
parameters - Map of parameters for the dialog

setupCompositeConditionsMode

public void setupCompositeConditionsMode()

getAllCompositeConditionsDataModel

public javax.faces.model.DataModel getAllCompositeConditionsDataModel()
Returns the properties for all the conditions as a JSF DataModel

Returns:
JSF DataModel representing the condition properties

promptForConditionValues

public void promptForConditionValues()
Displays the settings page for the current condition being added (if required)

Overrides:
promptForConditionValues in class CreateRuleWizard

finishAddingCompositeCondition

public void finishAddingCompositeCondition()

cancelAddCondition

public void cancelAddCondition()
Description copied from class: CreateRuleWizard
Cancels the addition of the condition

Overrides:
cancelAddCondition in class CreateRuleWizard

addCondition

public void addCondition()
Adds the condition just setup by the user to the list of composite conditions This gathers the composite conditions in the

Overrides:
addCondition in class CreateRuleWizard

editCondition

public void editCondition()
Sets up the context for editing existing composite condition values

Overrides:
editCondition in class CreateRuleWizard

getCompositeConditions

public java.util.List getCompositeConditions()

isAddingCompositeCondition

protected boolean isAddingCompositeCondition()

setAddingCompositeCondition

protected void setAddingCompositeCondition(boolean addingCompositeCondition)

removeCondition

public void removeCondition()
Removes the requested condition from the list

Overrides:
removeCondition in class CreateRuleWizard

printConditionState

protected void printConditionState()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.