|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleActionService
Provides rule action component related services.
Method Summary | |
---|---|
RuleAction |
add(RuleAction ruleAction)
Adds the given ruleAction. |
RuleAction |
get(long ruleActionUid)
Get the ruleAction with the given UID. |
RuleAction |
get(long ruleActionUid,
java.lang.String ruleActionType)
Get the ruleAction with the given UID if it is greater than 0; otherwise get new instance of the ruleAction of the given ruleActionType from the spring beanFactory (assuming bean id is the same as the ruleActionType). |
RuleAction |
load(long ruleActionUid)
Load the ruleAction with the given UID. |
RuleAction |
load(long ruleActionUid,
java.lang.String ruleActionType)
Load the ruleAction with the given UID if it is greater than 0; otherwise get new instance of the ruleAction of the given ruleActionType from the spring beanFactory (assuming bean id is the same as the ruleActionType). |
void |
remove(RuleAction ruleAction)
Delete the ruleAction. |
void |
update(RuleAction ruleAction)
Updates the given ruleActionle. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
RuleAction add(RuleAction ruleAction) throws EpServiceException
ruleAction
- the ruleAction to add
EpServiceException
- - in case of any errorsRuleAction get(long ruleActionUid) throws EpServiceException
ruleActionUid
- the ruleAction UID
EpServiceException
- - in case of any errorsRuleAction get(long ruleActionUid, java.lang.String ruleActionType) throws EpServiceException
ruleActionUid
- the ruleAction UIDruleActionType
- the ruleAction type
EpServiceException
- in case of errors.RuleAction load(long ruleActionUid) throws EpServiceException
ruleActionUid
- the ruleAction UID
EpServiceException
- - in case of any errorsRuleAction load(long ruleActionUid, java.lang.String ruleActionType) throws EpServiceException
ruleActionUid
- the ruleAction UIDruleActionType
- the ruleAction type
EpServiceException
- in case of errors.void remove(RuleAction ruleAction) throws EpServiceException
ruleAction
- the ruleAction to remove
EpServiceException
- - in case of any errorsvoid update(RuleAction ruleAction) throws EpServiceException
ruleAction
- the ruleAction to update
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |