CommunicationDao

public class CommunicationDao extends AbstractDao<Communication, Long>

DAO for table CommunicationTable.

Fields

TABLENAME

public static final String TABLENAME

Constructors

CommunicationDao

public CommunicationDao(DaoConfig config)

CommunicationDao

public CommunicationDao(DaoConfig config, DaoSession daoSession)

Methods

bindValues

protected void bindValues(SQLiteStatement stmt, Communication entity)

createTable

public static void createTable(SQLiteDatabase db, boolean ifNotExists)

Creates the underlying database table.

dropTable

public static void dropTable(SQLiteDatabase db, boolean ifExists)

Drops the underlying database table.

getKey

public Long getKey(Communication entity)

isEntityUpdateable

protected boolean isEntityUpdateable()

readEntity

public Communication readEntity(Cursor cursor, int offset)

readEntity

public void readEntity(Cursor cursor, Communication entity, int offset)

readKey

public Long readKey(Cursor cursor, int offset)

updateKeyAfterInsert

protected Long updateKeyAfterInsert(Communication entity, long rowId)