ENTITY - The type whose persistence is managed by this Dao.PARENT - The type of the parent (if any) of type ENTITY.BUILDER - The type of object that can build an ENTITY instance.PARENTBUILDER - The type of the object that can build a PARENT instance.public class DaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER> extends KeylessDaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER> implements Dao<ENTITY>, DaoDescriptor<ENTITY,BUILDER>
Dao implementation.
 
 There is no good reason to directly construct this class yourself.
 Use a DaoBuilder or IndirectDaoBuilder.
buildFunction, childrenDescriptors, connection, keylessSqlBuilder, parentColumn, sqlRunner, supplier, tableName| Constructor and Description | 
|---|
| DaoImpl(Connection connection,
       DaoDescriptor<ENTITY,BUILDER> daoDescriptor) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | atomicDelete(ENTITY item)Run a delete statement in the database within a transaction. | 
| void | atomicUpdate(ENTITY item)Run an update statement to change the values in the database associated
 with an existing record. | 
| void | delete(ENTITY item)Run a delete statement in the database. | 
| Long | insert(ENTITY item)Insert a record into the database. | 
| PrimaryKey<ENTITY,BUILDER> | primaryKey()The primary key for objects of type  ENTITY | 
| Queries | queries()Access the  SQLthisDaois using. | 
| ENTITY | select(long id)Read a record from the database by its primary key. | 
| List<ENTITY> | selectMany(List<Long> ids)Read several records from the database by their primary keys. | 
| void | update(ENTITY item)Run an update statement to change the values in the database associated
 with an existing record. | 
atomicInsert, buildFunction, childrenDescriptors, dataColumns, foldingSelect, fromSingletonList, joinColumns, mapBuilders, newEnvelope, parentColumn, runBigDecimalFunction, runLongFunction, select, select, selectAll, selectAll, selectByColumns, selectManyByColumns, selectManyByColumns, supplier, tableNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitatomicInsert, foldingSelect, runBigDecimalFunction, runLongFunction, select, select, selectAll, selectAll, selectByColumns, selectManyByColumns, selectManyByColumnsallColumns, buildFunction, childrenDescriptors, dataColumns, dataColumnsWithParent, dataColumnsWithParent, hasParent, joinColumns, parentColumn, select, supplier, tableNamepublic DaoImpl(Connection connection, DaoDescriptor<ENTITY,BUILDER> daoDescriptor)
public Long insert(ENTITY item)
KeylessDaoDepending on how the Dao was constucted (whether from a regular
 DaoBuilder or an IndirectDaoBuilder)
 a particular instance of this class may or may not attempt
 to mutate the state of the passed item by setting its primary
 key.
insert in interface KeylessDao<ENTITY>insert in class KeylessDaoImpl<ENTITY,PARENT,BUILDER,PARENTBUILDER>item - The instance to be inserted.public void update(ENTITY item)
Daopublic void delete(ENTITY item)
Daopublic ENTITY select(long id)
Daopublic List<ENTITY> selectMany(List<Long> ids)
DaoselectMany in interface Dao<ENTITY>ids - The primary keys of the records desired.public void atomicUpdate(ENTITY item)
DaoConnection
 when complete.atomicUpdate in interface Dao<ENTITY>item - An instance of the class with a populated primary key field
             and updated field values.public void atomicDelete(ENTITY item)
DaoConnection
 when complete.atomicDelete in interface Dao<ENTITY>item - An instance of type ENTITY with a populated primary key.public PrimaryKey<ENTITY,BUILDER> primaryKey()
DaoDescriptorENTITYprimaryKey in interface DaoDescriptor<ENTITY,BUILDER>Copyright © 2019. All rights reserved.