|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuleAction
Represents an action that can be executed by a rule.
| Field Summary | |
|---|---|
static java.lang.String |
ACTION_KIND
Identifies the RuleElement as an action to a rule. |
static java.lang.String |
DEFAULT_AGENDA_GROUP
Default agenda group. |
static java.lang.String |
SUBTOTAL_DEPENDENT_AGENDA_GROUP
Agenda group that identifies actions that must be fired separately because they depend on the post-rule value of the cart subtotal. |
| Method Summary | |
|---|---|
java.lang.String |
getAgendaGroup()
Get the agenda group for this action. |
int |
getSalience()
Get the salience value for this rule. |
void |
setAgendaGroup(java.lang.String agendaGroup)
Set the agenda group. |
void |
setSalience(int salience)
Set the salience value. |
| Methods inherited from interface com.elasticpath.domain.rules.RuleElement |
|---|
addParameter, appliesInScenario, getAllowedExceptions, getDisplayText, getExceptions, getKind, getParameterKeys, getParameters, getRuleCode, getType, setExceptions, setKind, setParameters, setRuleId, setType, validate |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
static final java.lang.String ACTION_KIND
RuleElement as an action to a rule.
static final java.lang.String DEFAULT_AGENDA_GROUP
static final java.lang.String SUBTOTAL_DEPENDENT_AGENDA_GROUP
| Method Detail |
|---|
java.lang.String getAgendaGroup()
null if no agenda group is requiredint getSalience()
void setAgendaGroup(java.lang.String agendaGroup)
agendaGroup - the agenda group namegetAgendaGroupvoid setSalience(int salience)
salience - the new salience valuegetSalience
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||