public class RuleDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<RuleEntity,Long> implements org.exoplatform.commons.api.persistence.GenericDAO<RuleEntity,Long>
| Constructor and Description |
|---|
RuleDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
deleteRuleById(int ruleId) |
int |
deleteRuleByTitle(String ruleTitle) |
RuleEntity |
findEnableRuleByTitle(String ruleTitle) |
RuleEntity |
findRuleByTitle(String ruleTitle) |
List<RuleEntity> |
getAllRules() |
List<RuleEntity> |
getAllRulesByDomain(String domain) |
List<RuleEntity> |
getAllRulesWithNullDomain() |
List<String> |
getDomainList() |
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getDialect, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAllpublic RuleEntity findEnableRuleByTitle(String ruleTitle) throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic RuleEntity findRuleByTitle(String ruleTitle) throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic List<RuleEntity> getAllRules() throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic List<RuleEntity> getAllRulesByDomain(String domain) throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic List<RuleEntity> getAllRulesWithNullDomain() throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic int deleteRuleById(int ruleId)
throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic int deleteRuleByTitle(String ruleTitle) throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic List<String> getDomainList() throws javax.persistence.PersistenceException
javax.persistence.PersistenceExceptionpublic void clear()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.