public class DefaultRulesModuleDao extends AbstractItemDao implements RulesModuleDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultRulesModuleDao() |
| Modifier and Type | Method and Description |
|---|---|
List<AbstractRulesModuleModel> |
findAll()
returns all (active) rules modules
|
AbstractRulesModuleModel |
findByName(String name)
returns the active rules module for the given name or null
|
AbstractRulesModuleModel |
findByNameAndVersion(String name,
long version)
returns the rules module for the given name and version or null
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic AbstractRulesModuleModel findByName(String name)
RulesModuleDaofindByName in interface RulesModuleDaoname - the namepublic List<AbstractRulesModuleModel> findAll()
RulesModuleDaofindAll in interface RulesModuleDaopublic AbstractRulesModuleModel findByNameAndVersion(String name, long version)
RulesModuleDaofindByNameAndVersion in interface RulesModuleDaoname - the nameversion - the version of the moduleCopyright © 2017 SAP SE. All Rights Reserved.