T
- the generic typepublic interface DaoUpdater<T>
Modifier and Type | Method and Description |
---|---|
boolean |
create(T item)
Creates the.
|
int |
deleteItemByInternalId(long 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 deleteItemByInternalId(long internalId) throws DatabaseServiceException
internalId
- the internal idDatabaseServiceException
- the database service exceptionCopyright © 2018. All Rights Reserved.