|
|||||||||
| 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.RuleConditionServiceImpl
public class RuleConditionServiceImpl
Provides rule condition component related services.
| Constructor Summary | |
|---|---|
RuleConditionServiceImpl()
|
|
| Method Summary | |
|---|---|
RuleCondition |
add(RuleCondition ruleCondition)
Adds the given ruleCondition. |
RuleCondition |
get(long ruleConditionUid)
Get the ruleCondition with the given UID. |
RuleCondition |
get(long ruleConditionUid,
java.lang.String ruleConditionType)
Get the ruleCondition with the given UID if it is greater than 0; otherwise get new instance of the ruleCondition of the given ruleConditionType from the spring beanFactory (assuming bean id is the same as the ruleConditionType). |
java.lang.Object |
getObject(long uid)
Generic get method for all persistable domain models. |
RuleCondition |
load(long ruleConditionUid)
Load the ruleCondition with the given UID. |
RuleCondition |
load(long ruleConditionUid,
java.lang.String ruleConditionType)
Load the ruleCondition with the given UID if it is greater than 0; otherwise get new instance of the ruleCondition of the given ruleConditionType from the spring beanFactory (assuming bean id is the same as the ruleConditionType). |
void |
remove(RuleCondition ruleCondition)
Delete the ruleCondition. |
void |
update(RuleCondition ruleCondition)
Updates the given ruleConditionle. |
| 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 RuleConditionServiceImpl()
| Method Detail |
|---|
public RuleCondition add(RuleCondition ruleCondition)
throws EpServiceException
add in interface RuleConditionServiceruleCondition - the ruleCondition to add
EpServiceException - - in case of any errors
public RuleCondition get(long ruleConditionUid)
throws EpServiceException
get in interface RuleConditionServiceruleConditionUid - the ruleCondition UID
EpServiceException - - in case of any errors
public RuleCondition get(long ruleConditionUid,
java.lang.String ruleConditionType)
throws EpServiceException
get in interface RuleConditionServiceruleConditionUid - the ruleCondition UIDruleConditionType - the ruleCondition 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 RuleCondition load(long ruleConditionUid)
throws EpServiceException
load in interface RuleConditionServiceruleConditionUid - the ruleCondition UID
EpServiceException - - in case of any errors
public RuleCondition load(long ruleConditionUid,
java.lang.String ruleConditionType)
throws EpServiceException
load in interface RuleConditionServiceruleConditionUid - the ruleCondition UIDruleConditionType - the ruleCondition type
EpServiceException - in case of errors.
public void remove(RuleCondition ruleCondition)
throws EpServiceException
remove in interface RuleConditionServiceruleCondition - the ruleCondition to remove
EpServiceException - - in case of any errors
public void update(RuleCondition ruleCondition)
throws EpServiceException
update in interface RuleConditionServiceruleCondition - the ruleCondition to update
EpServiceException - - in case of any errors
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||