T - domain object typeID - domain object simple key typeP - domain object parent key typeCT - cursor typeE - database core entity typeC - database core key typepublic abstract class DaoImpl<T,ID extends Serializable,P extends Serializable,CT,E,C extends Serializable> extends Object implements Dao<T,ID>, CsvConverter<T>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AUDIT_CURSOR_PREFIX |
static String |
COLUMN_NAME_GEOBOXES_DEFAULT
Default name of the geoboxes column is "geoboxes"
|
protected DaoImpl |
mardaoParentDao |
protected boolean |
memCacheAll
Set this to true in DaoBean constructor, to enable
the all-domains memCache
|
protected boolean |
memCacheEntities
Set this to true in DaoBean constructor, to enable
the primaryKey-to-domain memCache
|
protected Class<T> |
persistentClass
mostly for logging
|
protected boolean |
populateTotalSize
Set this to false in DaoBean constructor, to disable the count()
query for first page (cursorKey is null).
|
static String |
PRINCIPAL_NAME_ANONYMOUS |
protected static Runnable |
RUNNABLE_VOID |
protected Class<ID> |
simpleIdClass
To help converting keys
|
| Modifier | Constructor and Description |
|---|---|
protected |
DaoImpl(Class<T> domainType,
Class<ID> simpleIdType) |
| Modifier and Type | Method and Description |
|---|---|
void |
_setCreatedBy(T domain,
String creator)
Default implementation is void, override for your creator field
|
void |
_setCreatedDate(T domain,
Date date)
Default implementation is void, override for your creator field
|
void |
_setUpdatedBy(T domain,
String updator)
Default implementation is void, override for your updator field
|
void |
_setUpdatedDate(T domain,
Date date)
Default implementation is void, override for your updated field
|
protected Object |
copyCorePropertyToDomain(String name,
E core,
T domain) |
protected Object |
copyDomainPropertyToCore(String name,
T domain,
E core) |
Collection<ID> |
coreKeysToSimpleKeys(Iterable<C> cores) |
protected abstract P |
coreKeyToParentKey(C core)
Implemented in TypeDaoImpl
|
protected abstract ID |
coreKeyToSimpleKey(C core)
Implemented in TypeDaoImpl
|
Collection<ID> |
coresToSimpleKeys(Iterable<E> cores) |
T |
coreToDomain(E core) |
protected abstract P |
coreToParentKey(E core)
Implemented in TypeDaoImpl
|
protected abstract ID |
coreToSimpleKey(E core)
Implemented in TypeDaoImpl
|
int |
count()
Count all entities of this kind
|
protected abstract int |
count(Object ancestorKey,
Object simpleKey,
Filter... filters) |
protected abstract E |
createCore(Object primaryKey) |
protected abstract E |
createCore(Object parentKey,
ID simpleKey) |
protected abstract C |
createCoreKey(Object parentKey,
ID simpleKey) |
T |
createDomain() |
T |
createDomain(Map<String,String> properties) |
T |
createDomain(Object primaryKey) |
T |
createDomain(Object parentKey,
ID simpleKey) |
protected abstract String |
createMemCacheKey(Object parentKey,
ID simpleKey) |
protected String |
createMemCacheKeyAll() |
protected Collection<String> |
createMemCacheKeys(Object parentKey,
Iterable<ID> simpleKeys) |
protected void |
debug(String format,
Object... args) |
protected void |
debug(String message,
Throwable t) |
boolean |
delete(ID simpleKey) |
int |
delete(Iterable<T> domains) |
boolean |
delete(Object parentKey,
ID simpleKey) |
int |
delete(Object parentKey,
Iterable<ID> simpleKeys) |
boolean |
delete(T domain) |
protected abstract int |
doDelete(Iterable<T> domains)
Implement / Override this in TypeDaoImpl.
|
protected abstract int |
doDelete(Object parentKey,
Iterable<ID> simpleKeys)
Implement / Override this in TypeDaoImpl.
|
protected abstract T |
doFindByPrimaryKey(Object parentKey,
ID simpleKeys) |
protected abstract Future<?> |
doFindByPrimaryKeyForFuture(Object parentKey,
ID simpleKeys) |
CursorPage<ID,ID> |
domainPageToSimplePage(CursorPage<T,ID> domainPage) |
Collection<Serializable> |
domainsToPrimaryKeys(Iterable<T> domains) |
Collection<ID> |
domainsToSimpleKeys(Iterable<T> domains) |
E |
domainToCore(T domain,
Date currentDate) |
protected abstract Future<?> |
doPersistCoreForFuture(E core) |
protected abstract Future<List<C>> |
doPersistCoreForFuture(Iterable<E> entities) |
protected abstract Iterable<T> |
doQueryByPrimaryKeys(Object parentKey,
Iterable<ID> simpleKeys) |
void |
dropTable()
For test purposes.
|
protected void |
error(String format,
Object... args) |
protected void |
error(String message,
Throwable t) |
static String |
escapeCsv(Object s) |
T |
findByPrimaryKey(ID simpleKey) |
T |
findByPrimaryKey(Object primaryKey) |
T |
findByPrimaryKey(Object parentKey,
ID simpleKey) |
Future<?> |
findByPrimaryKeyForFuture(ID simpleKey) |
Future<?> |
findByPrimaryKeyForFuture(Object primaryKey) |
Future<?> |
findByPrimaryKeyForFuture(Object parentKey,
ID simpleKey) |
Collection<T> |
findNearest(float lat,
float lng,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
int offset,
int limit,
Filter... filters) |
protected abstract T |
findUniqueBy(Filter... filters) |
protected abstract ID |
findUniqueKeyBy(Filter... filters) |
protected List<String> |
getBasicColumnNames()
to list the property names for ManyToOne relations
|
protected T |
getCachedByPrimaryKey(Object parentKey,
ID simpleKey) |
protected abstract Object |
getCoreProperty(E core,
String name,
Class domainPropertyClass)
Implemented in TypeDaoImpl
|
String |
getCreatedBy(T domain)
Default implementation returns null, override for your creator field
|
String |
getCreatedByColumnName()
Default implementation returns null, override for your creator field
|
Date |
getCreatedDate(T domain)
Default implementation returns null, override for your created field
|
String |
getCreatedDateColumnName()
Default implementation returns null, override for your created field
|
Map<String,Object> |
getCsvColumnValues(DaoImpl dao,
String[] columns,
T domain)
Convert the specified domain object into column values.
|
T |
getDomain(Future<?> future) |
Map<String,Object> |
getDomainProperties(Object domainObject) |
protected Object |
getDomainProperty(T domain,
String name)
Override in GeneratedDaoImpl
|
protected String |
getGeoboxesColumnName()
Override to return your desired column name
|
DLocation |
getGeoLocation(T domain) |
String |
getGeoLocationColumnName()
Override in GeneratedEntityDaoImpl
|
protected List<String> |
getManyToOneColumnNames()
to list the property names for ManyToOne relations
|
protected DaoImpl |
getManyToOneDao(String columnName)
to map the Daos for ManyToOne relations
|
protected net.sf.jsr107cache.Cache |
getMemCache() |
Object |
getParentKey(Map<String,String> properties) |
String |
getParentKeyColumnName()
Default implementation returns null, override for your hierarchy
|
Object |
getPrimaryKey(Object parentKey,
ID simpleKey) |
static String |
getPrincipalName() |
ID |
getSimpleKey(Future<?> future) |
ID |
getSimpleKey(Map<String,String> properties) |
ID |
getSimpleKeyByPrimaryKey(Object primaryKey) |
Collection<ID> |
getSimpleKeys(Future<List<?>> future) |
Collection<ID> |
getSimpleKeys(Iterable<T> domains) |
String |
getTableName() |
String |
getUpdatedBy(T domain)
Default implementation returns null, override for your updator field
|
String |
getUpdatedByColumnName()
Default implementation returns null, override for your updator field
|
Date |
getUpdatedDate(T domain)
Default implementation returns null, override for your updated field
|
String |
getUpdatedDateColumnName()
Default implementation returns null, override for your updated field
|
protected void |
info(String format,
Object... args) |
protected void |
info(String message,
Throwable t) |
static Object |
parseProperty(String value,
Class clazz) |
Collection<ID> |
persist(Iterable<T> domains) |
ID |
persist(T domain) |
protected abstract Collection<C> |
persistCore(Iterable<E> itrbl)
Implemented in TypeDaoImpl
|
Future<List<?>> |
persistForFuture(Iterable<T> domains) |
Future<?> |
persistForFuture(T domain) |
protected void |
println(int priority,
String format,
Object... args)
Override this method to do other than System.out.println()
|
protected void |
printStackTrace(int priority,
String message,
Throwable t)
Override this method to do other than System.out.println()
|
protected String |
putCachedByPrimaryKey(Object parentKey,
ID simpleKey,
T domain) |
Iterable<T> |
queryAll() |
Iterable<T> |
queryAll(Object parentKey) |
Iterable<ID> |
queryAllKeys() |
Iterable<ID> |
queryAllKeys(Object parentKey) |
Iterable<T> |
queryByPrimaryKeys(Object parentKey,
Iterable<ID> simpleKeys) |
Iterable<T> |
queryChunk(int offset,
int limit,
Object ancestorKey,
Object primaryKey,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
Filter... filters) |
CursorPage<T,ID> |
queryInGeobox(float lat,
float lng,
int bits,
int pageSize,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
String cursorString,
Filter... filters) |
protected abstract Iterable<T> |
queryIterable(boolean keysOnly,
int offset,
int limit,
Object ancestorKey,
Object primaryKey,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
Filter... filters)
Implemented in TypeDaoImpl
|
protected abstract Iterable<ID> |
queryIterableKeys(int offset,
int limit,
Object ancestorKey,
Object primaryKey,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
Filter... filters)
Implemented in TypeDaoImpl
|
protected abstract CursorPage<T,ID> |
queryPage(boolean keysOnly,
int pageSize,
Object ancestorKey,
Object primaryKey,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
String cursorString,
Filter... filters)
Implemented in TypeDaoImpl
|
CursorPage<T,ID> |
queryPage(int pageSize,
String cursorString) |
CursorPage<T,ID> |
queryPage(int pageSize,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
String cursorString) |
void |
setBoxBits(Collection<Integer> boxBits) |
protected abstract void |
setCoreProperty(Object core,
String name,
Object value)
Implemented in TypeDaoImpl
|
protected void |
setDomainProperty(T domain,
String name,
Object value)
Override in GeneratedDaoImpl
|
protected abstract void |
setDomainStringProperty(T domain,
String name,
Map<String,String> properties) |
protected void |
setMapProperty(Map<String,Object> map,
String name,
Object value) |
void |
setMardaoParentDao(DaoImpl mardaoParentDao) |
static void |
setMemCacheConfig(Map memCacheConfig) |
void |
setParentKey(T domain,
Object parentKey)
Default implementation is void, override for your parent field
|
static void |
setPrincipalName(String name) |
void |
update(Iterable<T> domains)
Implemented with a call to persist(domains).
|
void |
update(T domain)
Implemented with a call to persist(domains).
|
protected void |
updateGeoModel(T domain,
E core)
geoboxes are needed to findGeo the nearest entities before sorting them by distance
|
protected Collection<T> |
updateMemCache(boolean remove,
Iterable<T> domains) |
protected void |
updateMemCache(boolean remove,
Map<String,T> domains) |
protected void |
updateMemCache(Collection<String> memCacheKeys) |
protected Collection<T> |
updateMemCacheAll(Iterable<T> domains) |
protected void |
warn(String format,
Object... args) |
protected void |
warn(String message,
Throwable t) |
CursorPage<ID,ID> |
whatsChanged(Date since,
int pageSize,
String cursorKey)
Returns the IDs for the entities with updatedDate >= since, in descending order.
|
CursorPage<ID,ID> |
whatsChanged(Object parentKey,
Date since,
int pageSize,
String cursorKey,
Filter... filters)
Returns the IDs for the entities with updatedDate >= since, in descending order.
|
protected abstract CursorPage<ID,ID> |
whatsDeleted(Date since,
int pageSize,
String cursorKey) |
void |
writeAsCsv(OutputStream out,
String[] columns,
CsvConverter<T> converter,
Iterable<T> qi) |
void |
writeAsCsv(OutputStream out,
String[] columns,
CsvConverter<T> converter,
Object ancestorKey,
String primaryOrderBy,
boolean primaryIsAscending,
String secondaryOrderBy,
boolean secondaryIsAscending,
Filter... filters) |
void |
writeAsCsv(OutputStream out,
String[] columns,
Iterable<T> qi) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginTransaction, commitTransaction, createEqualsFilter, createGreaterThanOrEqualFilter, createInFilter, deleteAll, getColumnClass, getColumnNames, getKeyString, getParentKey, getParentKeyByPrimaryKey, getPrimaryKey, getPrimaryKey, getPrimaryKeyColumnName, getSimpleKey, rollbackActiveTransaction, setSimpleKeypublic static final String PRINCIPAL_NAME_ANONYMOUS
public static final String COLUMN_NAME_GEOBOXES_DEFAULT
protected static final String AUDIT_CURSOR_PREFIX
protected final Class<ID extends Serializable> simpleIdClass
protected DaoImpl mardaoParentDao
protected static final Runnable RUNNABLE_VOID
protected boolean memCacheAll
protected boolean memCacheEntities
protected boolean populateTotalSize
protected List<String> getBasicColumnNames()
protected List<String> getManyToOneColumnNames()
protected DaoImpl getManyToOneDao(String columnName)
public String getTableName()
getTableName in interface Dao<T,ID extends Serializable>protected abstract int doDelete(Object parentKey, Iterable<ID> simpleKeys)
parentKey - simpleKeys - protected abstract int doDelete(Iterable<T> domains)
domains - protected abstract Future<?> doFindByPrimaryKeyForFuture(Object parentKey, ID simpleKeys)
protected abstract Future<List<C>> doPersistCoreForFuture(Iterable<E> entities)
protected abstract Iterable<T> doQueryByPrimaryKeys(Object parentKey, Iterable<ID> simpleKeys)
protected abstract Collection<C> persistCore(Iterable<E> itrbl)
protected abstract CursorPage<T,ID> queryPage(boolean keysOnly, int pageSize, Object ancestorKey, Object primaryKey, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, String cursorString, Filter... filters)
protected abstract Iterable<T> queryIterable(boolean keysOnly, int offset, int limit, Object ancestorKey, Object primaryKey, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, Filter... filters)
protected abstract Iterable<ID> queryIterableKeys(int offset, int limit, Object ancestorKey, Object primaryKey, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, Filter... filters)
protected abstract Object getCoreProperty(E core, String name, Class domainPropertyClass)
protected abstract void setCoreProperty(Object core, String name, Object value)
protected abstract void setDomainStringProperty(T domain, String name, Map<String,String> properties)
protected abstract CursorPage<ID,ID> whatsDeleted(Date since, int pageSize, String cursorKey)
protected void println(int priority,
String format,
Object... args)
protected void printStackTrace(int priority,
String message,
Throwable t)
public T createDomain(Map<String,String> properties)
createDomain in interface Dao<T,ID extends Serializable>public T createDomain() throws InstantiationException, IllegalAccessException
public T createDomain(Object primaryKey) throws InstantiationException, IllegalAccessException
public T createDomain(Object parentKey, ID simpleKey) throws InstantiationException, IllegalAccessException
public Map<String,Object> getDomainProperties(Object domainObject)
getDomainProperties in interface Dao<T,ID extends Serializable>public Collection<Serializable> domainsToPrimaryKeys(Iterable<T> domains)
public Collection<ID> domainsToSimpleKeys(Iterable<T> domains)
public CursorPage<ID,ID> domainPageToSimplePage(CursorPage<T,ID> domainPage)
public void dropTable()
public Collection<ID> coresToSimpleKeys(Iterable<E> cores)
public Collection<ID> coreKeysToSimpleKeys(Iterable<C> cores)
public ID getSimpleKeyByPrimaryKey(Object primaryKey)
getSimpleKeyByPrimaryKey in interface Dao<T,ID extends Serializable>protected final String createMemCacheKeyAll()
protected final Collection<String> createMemCacheKeys(Object parentKey, Iterable<ID> simpleKeys)
protected Object getDomainProperty(T domain, String name)
public Object getParentKey(Map<String,String> properties)
getParentKey in interface Dao<T,ID extends Serializable>public ID getSimpleKey(Map<String,String> properties)
getSimpleKey in interface Dao<T,ID extends Serializable>public Collection<ID> getSimpleKeys(Iterable<T> domains)
getSimpleKeys in interface Dao<T,ID extends Serializable>protected net.sf.jsr107cache.Cache getMemCache()
protected final void updateMemCache(Collection<String> memCacheKeys)
protected final Collection<T> updateMemCache(boolean remove, Iterable<T> domains)
protected final Collection<T> updateMemCacheAll(Iterable<T> domains)
public String getParentKeyColumnName()
getParentKeyColumnName in interface Dao<T,ID extends Serializable>public static String getPrincipalName()
public void setParentKey(T domain, Object parentKey)
setParentKey in interface Dao<T,ID extends Serializable>public String getCreatedBy(T domain)
getCreatedBy in interface Dao<T,ID extends Serializable>public String getCreatedByColumnName()
getCreatedByColumnName in interface Dao<T,ID extends Serializable>public void _setCreatedBy(T domain, String creator)
_setCreatedBy in interface Dao<T,ID extends Serializable>public String getUpdatedBy(T domain)
getUpdatedBy in interface Dao<T,ID extends Serializable>public String getUpdatedByColumnName()
getUpdatedByColumnName in interface Dao<T,ID extends Serializable>public void _setUpdatedBy(T domain, String updator)
_setUpdatedBy in interface Dao<T,ID extends Serializable>public Date getCreatedDate(T domain)
getCreatedDate in interface Dao<T,ID extends Serializable>public String getCreatedDateColumnName()
getCreatedDateColumnName in interface Dao<T,ID extends Serializable>public void _setCreatedDate(T domain, Date date)
_setCreatedDate in interface Dao<T,ID extends Serializable>public Date getUpdatedDate(T domain)
getUpdatedDate in interface Dao<T,ID extends Serializable>public String getUpdatedDateColumnName()
getUpdatedDateColumnName in interface Dao<T,ID extends Serializable>public void _setUpdatedDate(T domain, Date date)
_setUpdatedDate in interface Dao<T,ID extends Serializable>protected String getGeoboxesColumnName()
public String getGeoLocationColumnName()
getGeoLocationColumnName in interface Dao<T,ID extends Serializable>public DLocation getGeoLocation(T domain)
getGeoLocation in interface Dao<T,ID extends Serializable>protected void updateGeoModel(T domain, E core) throws IllegalArgumentException
IllegalArgumentExceptionpublic int count()
Daocount in interface Dao<T,ID extends Serializable>public int delete(Object parentKey, Iterable<ID> simpleKeys)
delete in interface Dao<T,ID extends Serializable>public boolean delete(Object parentKey, ID simpleKey)
delete in interface Dao<T,ID extends Serializable>public boolean delete(ID simpleKey)
delete in interface Dao<T,ID extends Serializable>public boolean delete(T domain)
delete in interface Dao<T,ID extends Serializable>public T findByPrimaryKey(Object parentKey, ID simpleKey)
findByPrimaryKey in interface Dao<T,ID extends Serializable>public T findByPrimaryKey(ID simpleKey)
findByPrimaryKey in interface Dao<T,ID extends Serializable>public T findByPrimaryKey(Object primaryKey)
findByPrimaryKey in interface Dao<T,ID extends Serializable>public Future<?> findByPrimaryKeyForFuture(Object parentKey, ID simpleKey)
findByPrimaryKeyForFuture in interface Dao<T,ID extends Serializable>public Future<?> findByPrimaryKeyForFuture(ID simpleKey)
findByPrimaryKeyForFuture in interface Dao<T,ID extends Serializable>public Future<?> findByPrimaryKeyForFuture(Object primaryKey)
findByPrimaryKeyForFuture in interface Dao<T,ID extends Serializable>protected String putCachedByPrimaryKey(Object parentKey, ID simpleKey, T domain)
public T getDomain(Future<?> future)
getDomain in interface Dao<T,ID extends Serializable>public ID getSimpleKey(Future<?> future)
getSimpleKey in interface Dao<T,ID extends Serializable>public Collection<ID> getSimpleKeys(Future<List<?>> future)
getSimpleKeys in interface Dao<T,ID extends Serializable>public Object getPrimaryKey(Object parentKey, ID simpleKey)
getPrimaryKey in interface Dao<T,ID extends Serializable>public Collection<ID> persist(Iterable<T> domains)
persist in interface Dao<T,ID extends Serializable>public ID persist(T domain)
persist in interface Dao<T,ID extends Serializable>public Future<?> persistForFuture(T domain)
persistForFuture in interface Dao<T,ID extends Serializable>public Future<List<?>> persistForFuture(Iterable<T> domains)
persistForFuture in interface Dao<T,ID extends Serializable>public Iterable<T> queryAll()
queryAll in interface Dao<T,ID extends Serializable>public Iterable<T> queryAll(Object parentKey)
queryAll in interface Dao<T,ID extends Serializable>public Iterable<T> queryChunk(int offset, int limit, Object ancestorKey, Object primaryKey, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, Filter... filters)
queryChunk in interface Dao<T,ID extends Serializable>public Iterable<ID> queryAllKeys()
queryAllKeys in interface Dao<T,ID extends Serializable>public Iterable<ID> queryAllKeys(Object parentKey)
queryAllKeys in interface Dao<T,ID extends Serializable>public Iterable<T> queryByPrimaryKeys(Object parentKey, Iterable<ID> simpleKeys)
queryByPrimaryKeys in interface Dao<T,ID extends Serializable>public CursorPage<T,ID> queryPage(int pageSize, String cursorString)
queryPage in interface Dao<T,ID extends Serializable>public CursorPage<T,ID> queryPage(int pageSize, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, String cursorString)
queryPage in interface Dao<T,ID extends Serializable>public CursorPage<T,ID> queryInGeobox(float lat, float lng, int bits, int pageSize, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, String cursorString, Filter... filters)
queryInGeobox in interface Dao<T,ID extends Serializable>public Collection<T> findNearest(float lat, float lng, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, int offset, int limit, Filter... filters)
findNearest in interface Dao<T,ID extends Serializable>public void update(Iterable<T> domains)
update in interface Dao<T,ID extends Serializable>domains - public void update(T domain)
update in interface Dao<T,ID extends Serializable>domain - public Map<String,Object> getCsvColumnValues(DaoImpl dao, String[] columns, T domain)
CsvConvertergetCsvColumnValues in interface CsvConverter<T>public void writeAsCsv(OutputStream out, String[] columns, CsvConverter<T> converter, Object ancestorKey, String primaryOrderBy, boolean primaryIsAscending, String secondaryOrderBy, boolean secondaryIsAscending, Filter... filters)
writeAsCsv in interface Dao<T,ID extends Serializable>public void writeAsCsv(OutputStream out, String[] columns, Iterable<T> qi)
writeAsCsv in interface Dao<T,ID extends Serializable>public void writeAsCsv(OutputStream out, String[] columns, CsvConverter<T> converter, Iterable<T> qi)
writeAsCsv in interface Dao<T,ID extends Serializable>public CursorPage<ID,ID> whatsChanged(Date since, int pageSize, String cursorKey)
whatsChanged in interface Dao<T,ID extends Serializable>since - public CursorPage<ID,ID> whatsChanged(Object parentKey, Date since, int pageSize, String cursorKey, Filter... filters)
whatsChanged in interface Dao<T,ID extends Serializable>since - protected void setDomainProperty(T domain, String name, Object value)
public void setMardaoParentDao(DaoImpl mardaoParentDao)
public void setBoxBits(Collection<Integer> boxBits)
public static void setPrincipalName(String name)
public static void setMemCacheConfig(Map memCacheConfig)
Copyright © 2013. All Rights Reserved.