public class RuleDefinitionDaoImpl extends BaseAbstractDaoImpl<RuleDefinitionTable,Integer> implements RuleDefinitionDao
Constructor and Description |
---|
RuleDefinitionDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
Modifier and Type | Method and Description |
---|---|
void |
disableAllTriggered() |
RuleDefinitionTable |
get(RuleDefinitionTable ruleDefinitionTable) |
List<RuleDefinitionTable> |
getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<RuleDefinitionTable> |
getAll(List<Integer> ids) |
QueryResponse |
getAll(Query query) |
List<RuleDefinitionTable> |
getAll(RuleUtils.DAMPENING_TYPE dampeningType) |
List<RuleDefinitionTable> |
getAllEnabled() |
RuleDefinitionTable |
getByName(String name) |
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAll, getAllData, getById, getDao, getQueryResponse, getTableInfo, hasTable, update, updateBulk, updateBulk, updateId, updatePurgeCondition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, update, updateBulk, updateBulk, updateId
public RuleDefinitionDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) throws SQLException
SQLException
public List<RuleDefinitionTable> getAllEnabled()
getAllEnabled
in interface RuleDefinitionDao
public void disableAllTriggered()
disableAllTriggered
in interface RuleDefinitionDao
public QueryResponse getAll(Query query)
getAll
in interface RuleDefinitionDao
public RuleDefinitionTable get(RuleDefinitionTable ruleDefinitionTable)
get
in interface BaseDao<RuleDefinitionTable,Integer>
public List<RuleDefinitionTable> getAll(List<Integer> ids)
getAll
in interface BaseDao<RuleDefinitionTable,Integer>
public List<RuleDefinitionTable> getAll(RuleUtils.DAMPENING_TYPE dampeningType)
getAll
in interface RuleDefinitionDao
public RuleDefinitionTable getByName(String name)
getByName
in interface RuleDefinitionDao
public List<RuleDefinitionTable> getAll(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
getAll
in interface RuleDefinitionDao
Copyright © 2015–2019. All rights reserved.