T
- public interface IDataProviderDao<T extends IDataProviderEntity>
Modifier and Type | Method and Description |
---|---|
long |
count()
Count the number of instances of
T |
long |
count(String search)
Count the number of instances of
T |
void |
delete(T entity,
Long userId)
Delete an instance of
T |
List<T> |
get(int start,
int count)
Get a list of instances of
T |
T |
get(Long id)
Get an instance of an
T |
List<T> |
get(String search,
int start,
int count,
String order)
Get a list of instances of
T |
T |
update(T entity,
Long userId)
Update an instance of
T |
T get(Long id)
T
id
- - id of instance to retrieveList<T> get(int start, int count)
T
start
- - the start to range to retrievecount
- - maximum instance count to retrieveList<T> get(String search, int start, int count, String order)
T
search
- - string search criteria to filter entitiesstart
- - the start to range to retrievecount
- - maximum instance count to retrieveorder
- - column and sort orderlong count()
T
long count(String search)
T
search
- - string search criteria to filter entitiesT update(T entity, Long userId)
T
entity
- - entity to be updateduserId
- - user performed updateCopyright © 2012–2016 Apache Software Foundation. All rights reserved.