T - the generic typepublic interface DaoUpdater<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(T item)
Creates the.
|
int |
deleteItemByIdField(String idField)
Delete item by id field.
|
int |
deleteItemByInternalId(int internalId)
Delete item by internal id.
|
boolean |
insert(T item)
Insert.
|
boolean |
remove(T item,
boolean transaction)
Removes the.
|
int |
removeAll()
Removes the all.
|
T |
update(T item)
Update.
|
boolean create(T item) throws DatabaseServiceException
item - the itemDatabaseServiceException - the database service exceptionboolean insert(T item) throws DatabaseServiceException
item - the itemDatabaseServiceException - the database service exceptionT update(T item) throws DatabaseServiceException
item - the itemDatabaseServiceException - the database service exceptionboolean remove(T item, boolean transaction) throws DatabaseServiceException
item - the itemtransaction - the transactionDatabaseServiceException - the database service exceptionint removeAll()
throws DatabaseServiceException
DatabaseServiceException - the database service exceptionint deleteItemByIdField(String idField) throws DatabaseServiceException
idField - the id fieldDatabaseServiceException - the database service exceptionint deleteItemByInternalId(int internalId)
throws DatabaseServiceException
internalId - the internal idDatabaseServiceException - the database service exceptionCopyright © 2015. All Rights Reserved.