public interface CrudDao<T,ID extends Serializable>
| Modifier and Type | Method and Description |
|---|---|
int |
count(Object parentKey) |
void |
delete(Object parentKey,
ID id) |
T |
get(Object parentKey,
ID id) |
ID |
put(Object parentKey,
ID id,
T entity) |
CursorPage<T> |
queryPage(Object ancestorKey,
int requestedPageSize,
String cursorString) |
int count(Object parentKey)
ID put(Object parentKey, ID id, T entity) throws IOException
IOExceptionT get(Object parentKey, ID id) throws IOException
IOExceptionvoid delete(Object parentKey, ID id) throws IOException
IOExceptionCursorPage<T> queryPage(Object ancestorKey, int requestedPageSize, String cursorString)
Copyright © 2015 Wadpam. All Rights Reserved.