|
|||||||||
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 RuleActionService
ruleAction
- the ruleAction to add
EpServiceException
- - in case of any errorspublic RuleAction get(long ruleActionUid) throws EpServiceException
get
in interface RuleActionService
ruleActionUid
- the ruleAction UID
EpServiceException
- - in case of any errorspublic RuleAction get(long ruleActionUid, java.lang.String ruleActionType) throws EpServiceException
get
in interface RuleActionService
ruleActionUid
- the ruleAction UIDruleActionType
- the ruleAction type
EpServiceException
- in case of errors.public java.lang.Object getObject(long uid) throws EpServiceException
getObject
in interface EpPersistenceService
uid
- the persisted instance uid
EpServiceException
- - in case of any errorspublic RuleAction load(long ruleActionUid) throws EpServiceException
load
in interface RuleActionService
ruleActionUid
- the ruleAction UID
EpServiceException
- - in case of any errorspublic RuleAction load(long ruleActionUid, java.lang.String ruleActionType) throws EpServiceException
load
in interface RuleActionService
ruleActionUid
- the ruleAction UIDruleActionType
- the ruleAction type
EpServiceException
- in case of errors.public void remove(RuleAction ruleAction) throws EpServiceException
remove
in interface RuleActionService
ruleAction
- the ruleAction to remove
EpServiceException
- - in case of any errorspublic void update(RuleAction ruleAction) throws EpServiceException
update
in interface RuleActionService
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 |