|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.service.impl.AbstractEpServiceImpl com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl com.elasticpath.service.rules.impl.RuleParameterServiceImpl
public class RuleParameterServiceImpl
Provides rule parameter component related services.
Constructor Summary | |
---|---|
RuleParameterServiceImpl()
|
Method Summary | |
---|---|
RuleParameter |
add(RuleParameter ruleParameter)
Adds the given ruleParameter. |
java.util.List |
findUniqueParametersWithKey(java.lang.String parameterKey)
Get the list of unique RuleParameter value for the given parameter key. |
RuleParameter |
get(long ruleParameterUid)
Get the ruleParameter with the given UID. |
java.lang.Object |
getObject(long uid)
Generic get method for all persistable domain models. |
RuleParameter |
load(long ruleParameterUid)
Load the ruleParameter with the given UID. |
void |
remove(RuleParameter ruleParameter)
Delete the ruleParameter. |
void |
update(RuleParameter ruleParameter)
Updates the given ruleParameterle. |
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 RuleParameterServiceImpl()
Method Detail |
---|
public RuleParameter add(RuleParameter ruleParameter) throws EpServiceException
add
in interface RuleParameterService
ruleParameter
- the ruleParameter to add
EpServiceException
- - in case of any errorspublic java.util.List findUniqueParametersWithKey(java.lang.String parameterKey) throws EpServiceException
RuleParameter
value for the given parameter key.
findUniqueParametersWithKey
in interface RuleParameterService
parameterKey
- - the RuleParameter
key.
RuleParameter
s for the given parameter key.
EpServiceException
- in case of errors.public RuleParameter get(long ruleParameterUid) throws EpServiceException
get
in interface RuleParameterService
ruleParameterUid
- the ruleParameter UID
EpServiceException
- - in case of any errorspublic java.lang.Object getObject(long uid) throws EpServiceException
getObject
in interface EpPersistenceService
uid
- the persisted instance uid
EpServiceException
- - in case of any errorspublic RuleParameter load(long ruleParameterUid) throws EpServiceException
load
in interface RuleParameterService
ruleParameterUid
- the ruleParameter UID
EpServiceException
- - in case of any errorspublic void remove(RuleParameter ruleParameter) throws EpServiceException
remove
in interface RuleParameterService
ruleParameter
- the ruleParameter to remove
EpServiceException
- - in case of any errorspublic void update(RuleParameter ruleParameter) throws EpServiceException
update
in interface RuleParameterService
ruleParameter
- the ruleParameter to update
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |