T
- The type of the entity handled by this DAO.public abstract class ObjectifyDao<T> extends Object
Constructor and Description |
---|
ObjectifyDao() |
Modifier and Type | Method and Description |
---|---|
int |
countAll() |
void |
delete(T entity) |
void |
deleteAll(Iterable<T> entities) |
void |
deleteKey(com.googlecode.objectify.Key<T> entityKey) |
void |
deleteKeys(Iterable<com.googlecode.objectify.Key<T>> keys) |
Map<com.googlecode.objectify.Key<T>,T> |
get(Iterable<com.googlecode.objectify.Key<T>> keys) |
T |
get(com.googlecode.objectify.Key<T> key) |
T |
get(Long id) |
com.googlecode.objectify.Key<T> |
getKey(Long id) |
List<T> |
listAll(int start,
int length) |
List<T> |
listByProperty(String propName,
Object propValue) |
List<com.googlecode.objectify.Key<T>> |
listChildKeys(Object parent) |
List<T> |
listChildren(Object parent) |
List<com.googlecode.objectify.Key<T>> |
listKeysByProperty(String propName,
Object propValue) |
com.googlecode.objectify.cmd.LoadType<T> |
load() |
protected com.googlecode.objectify.Objectify |
ofy() |
com.googlecode.objectify.Key<T> |
put(T entity) |
Map<com.googlecode.objectify.Key<T>,T> |
putAll(Iterable<T> entities) |
public com.googlecode.objectify.cmd.LoadType<T> load()
public void delete(T entity)
public void deleteKey(com.googlecode.objectify.Key<T> entityKey)
public Map<com.googlecode.objectify.Key<T>,T> get(Iterable<com.googlecode.objectify.Key<T>> keys)
public int countAll()
public List<com.googlecode.objectify.Key<T>> listKeysByProperty(String propName, Object propValue)
protected com.googlecode.objectify.Objectify ofy()
Copyright © 2010–2014 Arcbees. All rights reserved.