public class GeneratedDUniqueDaoImpl extends TypeDaoImpl<DUnique,Long> implements GeneratedDUniqueDao
cursorFactory, DATA_TYPES_DEFAULT, databaseHelper, minLogPriority, OPERATION_IN, SDF, TAGAUDIT_CURSOR_PREFIX, COLUMN_NAME_GEOBOXES_DEFAULT, DAO_MAP, mardaoParentDao, memCacheAll, memCacheEntities, persistentClass, populateTotalSize, PRINCIPAL_NAME_ANONYMOUS, RUNNABLE_VOID, simpleIdClassBASIC_NAMES, COLUMN_NAME__ID, COLUMN_NAME_CREATEDBY, COLUMN_NAME_CREATEDDATE, COLUMN_NAME_EMAIL, COLUMN_NAME_MESSAGE, COLUMN_NAME_UPDATEDBY, COLUMN_NAME_UPDATEDDATE, COLUMN_NAMES, MANY_TO_ONE_NAMES| Constructor and Description |
|---|
GeneratedDUniqueDaoImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
_setCreatedBy(DUnique domain,
String creator) |
void |
_setCreatedDate(DUnique domain,
Date date) |
void |
_setUpdatedBy(DUnique domain,
String updator) |
void |
_setUpdatedDate(DUnique domain,
Date date) |
DUnique |
findByEmail(String email)
find-by method for unique attribute field email
|
Long |
findKeyByEmail(String email)
find-key-by method for unique attribute field email
|
protected List<String> |
getBasicColumnNames()
to list the property names for ManyToOne relations
|
Class |
getColumnClass(String name)
Returns the class of the domain property for specified column
|
List<String> |
getColumnNames() |
String |
getCreatedBy(DUnique domain) |
String |
getCreatedByColumnName() |
Date |
getCreatedDate(DUnique domain) |
String |
getCreatedDateColumnName() |
protected Object |
getDomainProperty(DUnique domain,
String name) |
protected List<String> |
getManyToOneColumnNames()
to list the property names for ManyToOne relations
|
protected DaoImpl |
getManyToOneDao(String columnName) |
String |
getPrimaryKeyColumnName() |
Long |
getSimpleKey(DUnique domain) |
String |
getUpdatedBy(DUnique domain) |
String |
getUpdatedByColumnName() |
Date |
getUpdatedDate(DUnique domain) |
String |
getUpdatedDateColumnName() |
DUnique |
persist(Long _id,
String email,
String message)
Persist an entity given all attributes
|
DUnique |
persist(String email,
String message)
Persists an entity unless it already exists
|
Iterable<DUnique> |
queryByCreatedBy(String createdBy)
query-by method for field createdBy
|
Iterable<DUnique> |
queryByCreatedDate(Date createdDate)
query-by method for field createdDate
|
Iterable<DUnique> |
queryByMessage(String message)
query-by method for field message
|
Iterable<DUnique> |
queryByUpdatedBy(String updatedBy)
query-by method for field updatedBy
|
Iterable<DUnique> |
queryByUpdatedDate(Date updatedDate)
query-by method for field updatedDate
|
Iterable<Long> |
queryKeysByCreatedBy(String createdBy)
query-key-by method for attribute field createdBy
|
Iterable<Long> |
queryKeysByCreatedDate(Date createdDate)
query-key-by method for attribute field createdDate
|
Iterable<Long> |
queryKeysByMessage(String message)
query-key-by method for attribute field message
|
Iterable<Long> |
queryKeysByUpdatedBy(String updatedBy)
query-key-by method for attribute field updatedBy
|
Iterable<Long> |
queryKeysByUpdatedDate(Date updatedDate)
query-key-by method for attribute field updatedDate
|
net.sf.mardao.core.CursorPage<DUnique,Long> |
queryPageByCreatedBy(String createdBy,
int pageSize,
String cursorString)
query-page-by method for field createdBy
|
net.sf.mardao.core.CursorPage<DUnique,Long> |
queryPageByCreatedDate(Date createdDate,
int pageSize,
String cursorString)
query-page-by method for field createdDate
|
net.sf.mardao.core.CursorPage<DUnique,Long> |
queryPageByMessage(String message,
int pageSize,
String cursorString)
query-page-by method for field message
|
net.sf.mardao.core.CursorPage<DUnique,Long> |
queryPageByUpdatedBy(String updatedBy,
int pageSize,
String cursorString)
query-page-by method for field updatedBy
|
net.sf.mardao.core.CursorPage<DUnique,Long> |
queryPageByUpdatedDate(Date updatedDate,
int pageSize,
String cursorString)
query-page-by method for field updatedDate
|
protected void |
setCoreProperty(Object core,
String name,
Object value)
Overrides to substitute Entity properties with foreign keys
|
protected void |
setDomainProperty(DUnique domain,
String name,
Object value) |
protected void |
setDomainStringProperty(DUnique domain,
String name,
Map<String,String> properties) |
void |
setSimpleKey(DUnique domain,
Long _id) |
appendColumnDefinition, appendColumnDefinition, appendConstraint, appendConstraints, appendParentKeyColumnDefinition, appendWhereFilters, asList, beginTransaction, commitTransaction, convert, coreKeyToParentKey, coreKeyToSimpleKey, coreToParentKey, coreToSimpleKey, count, createCore, createCore, createCoreKey, createDomain, createEqualsFilter, createGreaterThanOrEqualFilter, createInFilter, createMemCacheKey, createTable, deleteAll, doDelete, doDelete, doFindByPrimaryKey, doFindByPrimaryKeyForFuture, doPersistCoreForFuture, doPersistCoreForFuture, doQueryByPrimaryKeys, dropTable, findBy, findBy, findBy, findUniqueBy, findUniqueKeyBy, getCoreProperty, getDataType, getDataType, getDbConnection, getFromCursor, getKeyString, getParentKey, getParentKey, getParentKeyByPrimaryKey, getPrimaryKey, getPrimaryKey, onCreate, onUpgrade, persist, persist, persistCore, persistCore, persistCore, println, printStackTrace, putLong, putString, queryIterable, queryIterableKeys, queryPage, releaseDbConnection, rollbackActiveTransaction, setDatabaseHelper, setDomainFromCursor, update, update, updateByCore, updateByCore, updateByCore, whatsDeletedcopyCorePropertyToDomain, copyDomainPropertyToCore, coreKeysToSimpleKeys, coresToSimpleKeys, coreToDomain, count, createDomain, createDomain, createDomain, createDomain, createMemCacheKeyAll, createMemCacheKeys, debug, debug, delete, delete, delete, delete, delete, domainPageToSimplePage, domainsToPrimaryKeys, domainsToSimpleKeys, domainToCore, doQueryByAncestorKey, error, error, escapeCsv, findByPrimaryKey, findByPrimaryKey, findByPrimaryKey, findByPrimaryKeyForFuture, findByPrimaryKeyForFuture, findByPrimaryKeyForFuture, findNearest, getCachedByPrimaryKey, getCoreKind, getCsvColumnValues, getDomain, getDomainProperties, getGeoboxesColumnName, getGeoLocation, getGeoLocationColumnName, getMemCache, getParentKeyColumnName, getPrimaryKey, getPrincipalName, getSimpleKey, getSimpleKey, getSimpleKeyByPrimaryKey, getSimpleKeys, getSimpleKeys, getTableName, info, info, parseProperty, persistForFuture, persistForFuture, putCachedByPrimaryKey, queryAll, queryAll, queryAllKeys, queryAllKeys, queryByAncestorKey, queryByPrimaryKeys, queryChunk, queryInGeobox, queryPage, queryPage, setBoxBits, setMapProperty, setMardaoParentDao, setMemCacheConfig, setParentKey, setPrincipalName, updateGeoModel, updateMemCache, updateMemCache, updateMemCache, updateMemCacheAll, warn, warn, whatsChanged, whatsChanged, writeAsCsv, writeAsCsv, writeAsCsvclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginTransaction, commitTransaction, count, createDomain, createEqualsFilter, createGreaterThanOrEqualFilter, createInFilter, delete, delete, delete, delete, deleteAll, findByPrimaryKey, findByPrimaryKey, findByPrimaryKey, findByPrimaryKeyForFuture, findByPrimaryKeyForFuture, findByPrimaryKeyForFuture, findNearest, getDomain, getDomainProperties, getGeoLocation, getGeoLocationColumnName, getKeyString, getParentKey, getParentKey, getParentKeyByPrimaryKey, getParentKeyColumnName, getPrimaryKey, getPrimaryKey, getPrimaryKey, getSimpleKey, getSimpleKey, getSimpleKeyByPrimaryKey, getSimpleKeys, getSimpleKeys, getTableName, persist, persist, persistForFuture, persistForFuture, queryAll, queryAll, queryAllKeys, queryAllKeys, queryByAncestorKey, queryByPrimaryKeys, queryChunk, queryInGeobox, queryPage, queryPage, rollbackActiveTransaction, setParentKey, update, update, whatsChanged, whatsChanged, writeAsCsv, writeAsCsv, writeAsCsvprotected List<String> getBasicColumnNames()
getBasicColumnNames in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>protected List<String> getManyToOneColumnNames()
getManyToOneColumnNames in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public String getPrimaryKeyColumnName()
getPrimaryKeyColumnName in interface Dao<DUnique,Long>public List<String> getColumnNames()
getColumnNames in interface Dao<DUnique,Long>protected DaoImpl getManyToOneDao(String columnName)
getManyToOneDao in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>protected Object getDomainProperty(DUnique domain, String name)
getDomainProperty in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public Class getColumnClass(String name)
getColumnClass in interface Dao<DUnique,Long>name - protected void setDomainProperty(DUnique domain, String name, Object value)
setDomainProperty in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>protected void setDomainStringProperty(DUnique domain, String name, Map<String,String> properties)
setDomainStringProperty in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>protected void setCoreProperty(Object core, String name, Object value)
setCoreProperty in class TypeDaoImpl<DUnique,Long>public Long getSimpleKey(DUnique domain)
getSimpleKey in interface Dao<DUnique,Long>public void setSimpleKey(DUnique domain, Long _id)
setSimpleKey in interface Dao<DUnique,Long>public String getCreatedByColumnName()
getCreatedByColumnName in interface Dao<DUnique,Long>getCreatedByColumnName in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public String getCreatedBy(DUnique domain)
getCreatedBy in interface Dao<DUnique,Long>getCreatedBy in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public void _setCreatedBy(DUnique domain, String creator)
_setCreatedBy in interface Dao<DUnique,Long>_setCreatedBy in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public String getUpdatedByColumnName()
getUpdatedByColumnName in interface Dao<DUnique,Long>getUpdatedByColumnName in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public String getUpdatedBy(DUnique domain)
getUpdatedBy in interface Dao<DUnique,Long>getUpdatedBy in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public void _setUpdatedBy(DUnique domain, String updator)
_setUpdatedBy in interface Dao<DUnique,Long>_setUpdatedBy in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public String getCreatedDateColumnName()
getCreatedDateColumnName in interface Dao<DUnique,Long>getCreatedDateColumnName in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public Date getCreatedDate(DUnique domain)
getCreatedDate in interface Dao<DUnique,Long>getCreatedDate in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public void _setCreatedDate(DUnique domain, Date date)
_setCreatedDate in interface Dao<DUnique,Long>_setCreatedDate in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public String getUpdatedDateColumnName()
getUpdatedDateColumnName in interface Dao<DUnique,Long>getUpdatedDateColumnName in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public Date getUpdatedDate(DUnique domain)
getUpdatedDate in interface Dao<DUnique,Long>getUpdatedDate in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public void _setUpdatedDate(DUnique domain, Date date)
_setUpdatedDate in interface Dao<DUnique,Long>_setUpdatedDate in class DaoImpl<DUnique,Long,Long,CursorIterable,android.content.ContentValues,Long>public final Iterable<DUnique> queryByCreatedBy(String createdBy)
queryByCreatedBy in interface GeneratedDUniqueDaocreatedBy - the specified attributepublic final Iterable<Long> queryKeysByCreatedBy(String createdBy)
queryKeysByCreatedBy in interface GeneratedDUniqueDaocreatedBy - the specified attributepublic final net.sf.mardao.core.CursorPage<DUnique,Long> queryPageByCreatedBy(String createdBy, int pageSize, String cursorString)
queryPageByCreatedBy in interface GeneratedDUniqueDaocreatedBy - the specified attributepageSize - the number of domain entities in the pagecursorString - non-null if get next pagepublic final Iterable<DUnique> queryByCreatedDate(Date createdDate)
queryByCreatedDate in interface GeneratedDUniqueDaocreatedDate - the specified attributepublic final Iterable<Long> queryKeysByCreatedDate(Date createdDate)
queryKeysByCreatedDate in interface GeneratedDUniqueDaocreatedDate - the specified attributepublic final net.sf.mardao.core.CursorPage<DUnique,Long> queryPageByCreatedDate(Date createdDate, int pageSize, String cursorString)
queryPageByCreatedDate in interface GeneratedDUniqueDaocreatedDate - the specified attributepageSize - the number of domain entities in the pagecursorString - non-null if get next pagepublic final DUnique findByEmail(String email)
findByEmail in interface GeneratedDUniqueDaoemail - the unique attributepublic final Long findKeyByEmail(String email)
findKeyByEmail in interface GeneratedDUniqueDaoemail - the unique attributepublic final Iterable<DUnique> queryByMessage(String message)
queryByMessage in interface GeneratedDUniqueDaomessage - the specified attributepublic final Iterable<Long> queryKeysByMessage(String message)
queryKeysByMessage in interface GeneratedDUniqueDaomessage - the specified attributepublic final net.sf.mardao.core.CursorPage<DUnique,Long> queryPageByMessage(String message, int pageSize, String cursorString)
queryPageByMessage in interface GeneratedDUniqueDaomessage - the specified attributepageSize - the number of domain entities in the pagecursorString - non-null if get next pagepublic final Iterable<DUnique> queryByUpdatedBy(String updatedBy)
queryByUpdatedBy in interface GeneratedDUniqueDaoupdatedBy - the specified attributepublic final Iterable<Long> queryKeysByUpdatedBy(String updatedBy)
queryKeysByUpdatedBy in interface GeneratedDUniqueDaoupdatedBy - the specified attributepublic final net.sf.mardao.core.CursorPage<DUnique,Long> queryPageByUpdatedBy(String updatedBy, int pageSize, String cursorString)
queryPageByUpdatedBy in interface GeneratedDUniqueDaoupdatedBy - the specified attributepageSize - the number of domain entities in the pagecursorString - non-null if get next pagepublic final Iterable<DUnique> queryByUpdatedDate(Date updatedDate)
queryByUpdatedDate in interface GeneratedDUniqueDaoupdatedDate - the specified attributepublic final Iterable<Long> queryKeysByUpdatedDate(Date updatedDate)
queryKeysByUpdatedDate in interface GeneratedDUniqueDaoupdatedDate - the specified attributepublic final net.sf.mardao.core.CursorPage<DUnique,Long> queryPageByUpdatedDate(Date updatedDate, int pageSize, String cursorString)
queryPageByUpdatedDate in interface GeneratedDUniqueDaoupdatedDate - the specified attributepageSize - the number of domain entities in the pagecursorString - non-null if get next pagepublic DUnique persist(Long _id, String email, String message)
persist in interface GeneratedDUniqueDaopublic DUnique persist(String email, String message)
persist in interface GeneratedDUniqueDaoCopyright © 2013. All Rights Reserved.