public class ResourceDaoImpl extends BaseAbstractDaoImpl<Resource,Integer> implements ResourceDao
| Constructor and Description |
|---|
ResourceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
disable(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
enable(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Resource |
get(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Resource |
get(Resource tdao) |
List<Resource> |
getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<Resource> |
getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId,
Boolean enabled) |
List<Resource> |
getAll(List<Integer> ids) |
QueryResponse |
getAll(Query query) |
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, updatePurgeConditionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountOf, countOf, countOf, create, createOrUpdate, delete, delete, delete, delete, deleteById, deleteByIds, get, getAll, getAll, getAllData, getById, getDao, getTableInfo, update, updateBulk, updateBulk, updateIdpublic ResourceDaoImpl(com.j256.ormlite.support.ConnectionSource connectionSource)
throws SQLException
SQLExceptionpublic QueryResponse getAll(Query query)
getAll in interface ResourceDaopublic List<Resource> getAll(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId, Boolean enabled)
getAll in interface ResourceDaopublic List<Resource> getAll(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
getAll in interface ResourceDaopublic void enable(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
enable in interface ResourceDaopublic void disable(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
disable in interface ResourceDaopublic void delete(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
delete in interface ResourceDaopublic Resource get(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
get in interface ResourceDaoCopyright © 2015–2019. All rights reserved.