|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl
com.elasticpath.service.rules.impl.RuleActionServiceImpl
public class RuleActionServiceImpl
Provides rule action component related services.
| Constructor Summary | |
|---|---|
RuleActionServiceImpl()
|
|
| 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). |
java.lang.Object |
getObject(long uid)
Generic get method for all persistable domain models. |
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 class com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl |
|---|
getPersistenceEngine, setPersistenceEngine |
| Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.service.EpPersistenceService |
|---|
getPersistenceEngine, setPersistenceEngine |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Constructor Detail |
|---|
public RuleActionServiceImpl()
| Method Detail |
|---|
public RuleAction add(RuleAction ruleAction)
throws EpServiceException
add in interface RuleActionServiceruleAction - the ruleAction to add
EpServiceException - - in case of any errors
public RuleAction get(long ruleActionUid)
throws EpServiceException
get in interface RuleActionServiceruleActionUid - the ruleAction UID
EpServiceException - - in case of any errors
public RuleAction get(long ruleActionUid,
java.lang.String ruleActionType)
throws EpServiceException
get in interface RuleActionServiceruleActionUid - the ruleAction UIDruleActionType - the ruleAction type
EpServiceException - in case of errors.
public java.lang.Object getObject(long uid)
throws EpServiceException
getObject in interface EpPersistenceServiceuid - the persisted instance uid
EpServiceException - - in case of any errors
public RuleAction load(long ruleActionUid)
throws EpServiceException
load in interface RuleActionServiceruleActionUid - the ruleAction UID
EpServiceException - - in case of any errors
public RuleAction load(long ruleActionUid,
java.lang.String ruleActionType)
throws EpServiceException
load in interface RuleActionServiceruleActionUid - the ruleAction UIDruleActionType - the ruleAction type
EpServiceException - in case of errors.
public void remove(RuleAction ruleAction)
throws EpServiceException
remove in interface RuleActionServiceruleAction - the ruleAction to remove
EpServiceException - - in case of any errors
public void update(RuleAction ruleAction)
throws EpServiceException
update in interface RuleActionServiceruleAction - 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 | ||||||||