|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleConditionService
Provides rule condition component related services.
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). |
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 interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
RuleCondition add(RuleCondition ruleCondition) throws EpServiceException
ruleCondition
- the ruleCondition to add
EpServiceException
- - in case of any errorsRuleCondition get(long ruleConditionUid) throws EpServiceException
ruleConditionUid
- the ruleCondition UID
EpServiceException
- - in case of any errorsRuleCondition get(long ruleConditionUid, java.lang.String ruleConditionType) throws EpServiceException
ruleConditionUid
- the ruleCondition UIDruleConditionType
- the ruleCondition type
EpServiceException
- in case of errors.RuleCondition load(long ruleConditionUid) throws EpServiceException
ruleConditionUid
- the ruleCondition UID
EpServiceException
- - in case of any errorsRuleCondition load(long ruleConditionUid, java.lang.String ruleConditionType) throws EpServiceException
ruleConditionUid
- the ruleCondition UIDruleConditionType
- the ruleCondition type
EpServiceException
- in case of errors.void remove(RuleCondition ruleCondition) throws EpServiceException
ruleCondition
- the ruleCondition to remove
EpServiceException
- - in case of any errorsvoid update(RuleCondition ruleCondition) throws EpServiceException
ruleCondition
- 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 |