atg.markers.bp.scenario
Class ValidatedBusinessProcessGrammarExtension

java.lang.Object
  extended by atg.ui.process.expression.DefaultProcessExpressionGrammarExtension
      extended by atg.ui.scenario.expression.DefaultGrammarExtension
          extended by atg.markers.scenario.ValidatedMarkerExpressionGrammar
              extended by atg.markers.bp.scenario.ValidatedBusinessProcessGrammarExtension
All Implemented Interfaces:
atg.ui.process.expression.ProcessExpressionGrammarExtension

public class ValidatedBusinessProcessGrammarExtension
extends ValidatedMarkerExpressionGrammar

Scenario editor grammar extension for Business Process actions and expressions.

This grammar extension provides the dynamic values for the businessProcessName and businessProcessStage parameter selections.


Field Summary
static java.lang.String ADD_STAGE_RULE_ID
          the rule name that will be dynamically constructed for the add business process marker action
static java.lang.String ADD_STAGE_VALUE_INTRO_RULE_ID
          the rule name that will be dynamically constructed for the token that preceeds the stage name in add stage actions
static java.lang.String CLASS_VERSION
          class versioning info
static java.lang.String HAS_STAGE_VALUE_INTRO_RULE_ID
          the rule name that will be dynamically constructed for the token that preceeds the stage name in has stage expressions
static java.lang.String HASLAST_STAGE_VALUE_INTRO_RULE_ID
          the rule name that will be dynamically constructed for the token that preceeds the stage name in has last stage expressions
static java.lang.String HASLASTSTAGE_RULE_ID
          the rule name that will be dynamically constructed for the has last business process marker conditional
static java.lang.String HASSTAGE_RULE_ID
          the rule name that will be dynamically constructed for the has business process marker conditional
static java.lang.String MOSTRECENTBPSTAGE_VALUE_INTRO_RULE_ID
          the ruleid used between key and value parameters of the mostRecentBusinessProcessStage expression
static java.lang.String MOSTRECENTSTAGE_RULE_ID
          the rule name that will be dynamically constructed for the most recent business process marker conditional
static java.lang.String REMOVE_STAGE_RULE_ID
          the rule name that will be dynamically constructed for the remove business process marker action
static java.lang.String REMOVE_STAGE_VALUE_INTRO_RULE_ID
          the rule name that will be dynamically constructed for the token that preceeds the stage name in remove stage actions
 
Fields inherited from class atg.markers.scenario.ValidatedMarkerExpressionGrammar
ADD_MARKER_VALUE_INTRO_RULE_ID, HAS_MARKER_VALUE_INTRO_RULE_ID, HASLAST_MARKER_VALUE_INTRO_RULE_ID, HASLASTMARKERWITHKEY_VALUE_INTRO_RULE_ID, KEY_VALUE_PROPERTY_NAME, REMOVE_MARKER_VALUE_INTRO_RULE_ID
 
Constructor Summary
ValidatedBusinessProcessGrammarExtension()
           
 
Method Summary
 java.lang.String getAddMarkerRuleId()
          Should return the grammar rule id for the dynamic add marker key/values
 java.lang.String getAddMarkerValueIntroTextRuleId()
           
 java.lang.String getComponentPathWithKeyValues()
          Should return the path to the component used for obtaining the validated keys and values.
 java.lang.String getHasLastMarkerRuleId()
          Should return the grammar rule id for the dynamic hasLastMarker key/values
 java.lang.String getHasLastMarkerValueIntroTextRuleId()
           
 java.lang.String getHasLastMarkerWithKeyRuleId()
          Should return the grammar rule id for the dynamic hasMarker and hasLastMarkerWithKey key/values
 java.lang.String getHasLastMarkerWithKeyValueIntroTextRuleId()
           
 java.lang.String getHasMarkerRuleId()
          Should return the grammar rule id for the dynamic hasMarker key/values
 java.lang.String getHasMarkerValueIntroTextRuleId()
           
 java.lang.String getPropertyNameForKeysAndValues()
          Should return the property name that contains the map of keys and values.
 java.lang.String getRemoveMarkerRuleId()
          Should return the grammar rule id for the dynamic remove marker key/values
 java.lang.String getRemoveMarkerValueIntroTextRuleId()
           
 
Methods inherited from class atg.markers.scenario.ValidatedMarkerExpressionGrammar
addAddActionDefaultKeyValueChoice, addAnyValueChoice, addConditionKeyParamSequenceRule, addConditionValueChoiceRule, addHasConditionDefaultKeyValueChoice, addKeyParamSequenceRule, addKeyParamSequenceRuleForCondition, addKeyValueChoicesForActionParam, addKeyValueChoicesForConditionParam, addLiteralChoiceToken, addNullChoice, addRemoveActionDefaultKeyValueChoice, addScenarioExpression, addScenarioExpression, addStringChoice, addValueChoiceRule, addValueParamIntroConstruct, addValueParamIntroConstruct, completeExtendedGrammar, createActionParamSequenceRule, createConditionParamSequenceRule, createConstantActionParamSequenceRule, createConstantConditionParamSequenceRule, getKeyValueMapFromComponent, populateAddMarkerKeyValueChoices, populateHasLastMarkerKeyValueChoices, populateHasLastMarkerWithKeyKeyValueChoices, populateHasMarkerKeyValueChoices, populateRemoveMarkerKeyValueChoices
 
Methods inherited from class atg.ui.process.expression.DefaultProcessExpressionGrammarExtension
prepareExtendedGrammar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
class versioning info


ADD_STAGE_RULE_ID

public static final java.lang.String ADD_STAGE_RULE_ID
the rule name that will be dynamically constructed for the add business process marker action

See Also:
Constant Field Values

REMOVE_STAGE_RULE_ID

public static final java.lang.String REMOVE_STAGE_RULE_ID
the rule name that will be dynamically constructed for the remove business process marker action

See Also:
Constant Field Values

HASSTAGE_RULE_ID

public static final java.lang.String HASSTAGE_RULE_ID
the rule name that will be dynamically constructed for the has business process marker conditional

See Also:
Constant Field Values

HASLASTSTAGE_RULE_ID

public static final java.lang.String HASLASTSTAGE_RULE_ID
the rule name that will be dynamically constructed for the has last business process marker conditional

See Also:
Constant Field Values

MOSTRECENTSTAGE_RULE_ID

public static final java.lang.String MOSTRECENTSTAGE_RULE_ID
the rule name that will be dynamically constructed for the most recent business process marker conditional

See Also:
Constant Field Values

ADD_STAGE_VALUE_INTRO_RULE_ID

public static final java.lang.String ADD_STAGE_VALUE_INTRO_RULE_ID
the rule name that will be dynamically constructed for the token that preceeds the stage name in add stage actions

See Also:
Constant Field Values

REMOVE_STAGE_VALUE_INTRO_RULE_ID

public static final java.lang.String REMOVE_STAGE_VALUE_INTRO_RULE_ID
the rule name that will be dynamically constructed for the token that preceeds the stage name in remove stage actions

See Also:
Constant Field Values

HAS_STAGE_VALUE_INTRO_RULE_ID

public static final java.lang.String HAS_STAGE_VALUE_INTRO_RULE_ID
the rule name that will be dynamically constructed for the token that preceeds the stage name in has stage expressions

See Also:
Constant Field Values

HASLAST_STAGE_VALUE_INTRO_RULE_ID

public static final java.lang.String HASLAST_STAGE_VALUE_INTRO_RULE_ID
the rule name that will be dynamically constructed for the token that preceeds the stage name in has last stage expressions

See Also:
Constant Field Values

MOSTRECENTBPSTAGE_VALUE_INTRO_RULE_ID

public static final java.lang.String MOSTRECENTBPSTAGE_VALUE_INTRO_RULE_ID
the ruleid used between key and value parameters of the mostRecentBusinessProcessStage expression

See Also:
Constant Field Values
Constructor Detail

ValidatedBusinessProcessGrammarExtension

public ValidatedBusinessProcessGrammarExtension()
Method Detail

getPropertyNameForKeysAndValues

public java.lang.String getPropertyNameForKeysAndValues()
Should return the property name that contains the map of keys and values. In the case of business process tracking this property is called namesAndStages" That property must exist on the component identified by the componentPathWithKeysValues property.

Overrides:
getPropertyNameForKeysAndValues in class ValidatedMarkerExpressionGrammar

getComponentPathWithKeyValues

public java.lang.String getComponentPathWithKeyValues()
Description copied from class: ValidatedMarkerExpressionGrammar
Should return the path to the component used for obtaining the validated keys and values.

Specified by:
getComponentPathWithKeyValues in class ValidatedMarkerExpressionGrammar
Returns:
the path to the component that will provide the keys and values map.

getHasLastMarkerRuleId

public java.lang.String getHasLastMarkerRuleId()
Should return the grammar rule id for the dynamic hasLastMarker key/values

Specified by:
getHasLastMarkerRuleId in class ValidatedMarkerExpressionGrammar

getHasLastMarkerWithKeyRuleId

public java.lang.String getHasLastMarkerWithKeyRuleId()
Description copied from class: ValidatedMarkerExpressionGrammar
Should return the grammar rule id for the dynamic hasMarker and hasLastMarkerWithKey key/values

Specified by:
getHasLastMarkerWithKeyRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule name the will be used to construct the business process name and stages for the hasLastBusinessProcessStage conditional. This rule is dynamically constructed by this grammar extension

getHasMarkerRuleId

public java.lang.String getHasMarkerRuleId()
Description copied from class: ValidatedMarkerExpressionGrammar
Should return the grammar rule id for the dynamic hasMarker key/values

Specified by:
getHasMarkerRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule name the will be used to construct the business process name and stages for the hasBusinessProcessStage conditional. This rule is dynamically constructed by this grammar extension

getAddMarkerRuleId

public java.lang.String getAddMarkerRuleId()
Description copied from class: ValidatedMarkerExpressionGrammar
Should return the grammar rule id for the dynamic add marker key/values

Specified by:
getAddMarkerRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule name the will be used to construct the business process name and stages for the addBusinessProcessStage action. This rule is dynamically constructed by this grammar extension

getRemoveMarkerRuleId

public java.lang.String getRemoveMarkerRuleId()
Description copied from class: ValidatedMarkerExpressionGrammar
Should return the grammar rule id for the dynamic remove marker key/values

Specified by:
getRemoveMarkerRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule name the will be used to construct the business process name and stages for the removeBusinessProcessStage action. This rule is dynamically constructed by this grammar extension

getAddMarkerValueIntroTextRuleId

public java.lang.String getAddMarkerValueIntroTextRuleId()
Overrides:
getAddMarkerValueIntroTextRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule id that specifies the token that appears between key and value in the scenario editor ui for add stage actions. (e.g. "and value =") override this to specify a differnt ruleId(i.e. to change the text)

getRemoveMarkerValueIntroTextRuleId

public java.lang.String getRemoveMarkerValueIntroTextRuleId()
Overrides:
getRemoveMarkerValueIntroTextRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule id that specifies the token that appears between key and value in the scenario editor ui for remove stage actions. (e.g. "and value =") override this to specify a differnt ruleId(i.e. to change the text)

getHasMarkerValueIntroTextRuleId

public java.lang.String getHasMarkerValueIntroTextRuleId()
Overrides:
getHasMarkerValueIntroTextRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule id that specifies the token that appears between key and value in the scenario editor ui for has stage conditions. (e.g. "and value =") override this to specify a differnt ruleId(i.e. to change the text)

getHasLastMarkerValueIntroTextRuleId

public java.lang.String getHasLastMarkerValueIntroTextRuleId()
Overrides:
getHasLastMarkerValueIntroTextRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule id that specifies the token that appears between key and value in the scenario editor ui for has last stage conditions. (e.g. "and value =") override this to specify a differnt ruleId(i.e. to change the text)

getHasLastMarkerWithKeyValueIntroTextRuleId

public java.lang.String getHasLastMarkerWithKeyValueIntroTextRuleId()
Overrides:
getHasLastMarkerWithKeyValueIntroTextRuleId in class ValidatedMarkerExpressionGrammar
Returns:
the grammar rule id that specifies the token that appears between key and value params of the "last business process stage for bpname" condition. expression. (e.g. "with stage name =") override this to specify a differnt ruleId(i.e. to change the text)