public class BaseDao<T extends Dto> extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseDao(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
int |
countAll() |
void |
delete(List<T> objects) |
void |
delete(Long id) |
void |
delete(T object) |
void |
deleteAll() |
Boolean |
exists(com.googlecode.objectify.Key<T> key) |
Boolean |
exists(Long id) |
T |
get(com.googlecode.objectify.Key<T> key) |
List<T> |
get(List<com.googlecode.objectify.Key<T>> keys) |
T |
get(Long id) |
List<T> |
getAll() |
List<T> |
getSome(Integer offset,
Integer limit) |
List<T> |
getSubset(List<Long> ids) |
Map<Long,T> |
getSubsetMap(List<Long> ids) |
protected Ofy |
ofy() |
Collection<T> |
put(Iterable<T> entities) |
T |
put(T object) |
protected com.googlecode.objectify.cmd.LoadType<T> |
query() |
Copyright © 2010-2014 ArcBees. All Rights Reserved.