|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuleSetService
Provides rule engine-related services.
| Method Summary | |
|---|---|
RuleSet |
add(RuleSet ruleSet)
Adds the given ruleSet. |
java.util.List |
findByModifiedDate(java.util.Date date)
Retrieves list of RuleSets where the last modified date is later than the specified date. |
RuleSet |
findByScenarioId(int scenarioId)
Find the rule set by its scenario id. |
RuleSet |
get(long ruleSetUid)
Get the ruleSet with the given UID. |
java.util.List |
list()
List all ruleSets stored in the database. |
RuleSet |
load(long ruleSetUid)
Load the ruleSet with the given UID. |
void |
remove(RuleSet ruleSet)
Delete the ruleSet. |
void |
update(RuleSet ruleSet)
Updates the given ruleset. |
void |
updateLastModifiedTime(RuleSet ruleSet)
Update the ruleSet's last modified timestamp. |
| Methods inherited from interface com.elasticpath.service.EpPersistenceService |
|---|
getObject, getPersistenceEngine, setPersistenceEngine |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Method Detail |
|---|
RuleSet add(RuleSet ruleSet)
throws EpServiceException
ruleSet - the ruleSet to add
EpServiceException - - in case of any errorsjava.util.List findByModifiedDate(java.util.Date date)
RuleSets where the last modified date is later than the specified date.
date - date to compare with the last modified date
RuleSet whose last modified date is later than the specified date
RuleSet findByScenarioId(int scenarioId)
throws EpServiceException
scenarioId - the id of the scenario (see Scenarios interface)
EpServiceException - - in case of any errors
RuleSet get(long ruleSetUid)
throws EpServiceException
ruleSetUid - the rule UID
EpServiceException - - in case of any errors
java.util.List list()
throws EpServiceException
EpServiceException - - in case of any errors
RuleSet load(long ruleSetUid)
throws EpServiceException
ruleSetUid - the ruleSet UID
EpServiceException - - in case of any errors
void remove(RuleSet ruleSet)
throws EpServiceException
ruleSet - the ruleSet to remove
EpServiceException - - in case of any errors
void update(RuleSet ruleSet)
throws EpServiceException
ruleSet - the ruleSet to update
EpServiceException - - in case of any errorsvoid updateLastModifiedTime(RuleSet ruleSet)
ruleSet - the ruleSet whose timestamp is to be updated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||