| Package | Description |
|---|---|
| org.iternine.jeppetto.dao |
| Modifier and Type | Class and Description |
|---|---|
class |
AccessControlException |
class |
FailedBatchException |
class |
NoSuchItemException |
class |
OptimisticLockException |
class |
TooManyItemsException |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericDAO.delete(T entity)
Delete the specified object from the persistent store.
|
void |
GenericDAO.deleteById(ID id)
Delete an object from the persistent store based on the id.
|
void |
GenericDAO.deleteByIds(ID... ids)
Delete objects from the persistent store based on the passed in id values.
|
void |
QueryModelDAO.deleteUsingQueryModel(QueryModel queryModel)
Delete objects of type T that correspond to the QueryModel.
|
java.lang.Iterable<T> |
GenericDAO.findAll()
Find all objects of type T.
|
T |
GenericDAO.findById(ID id)
Find an object T with the specified id.
|
java.lang.Iterable<T> |
GenericDAO.findByIds(ID... ids)
Find objects of type T with the specified ids.
|
T |
QueryModelDAO.findUniqueUsingQueryModel(QueryModel queryModel)
Find an object T that satisfies the QueryModel.
|
java.lang.Iterable<T> |
QueryModelDAO.findUsingQueryModel(QueryModel queryModel)
Find objects of type T that correspond to the QueryModel.
|
void |
GenericDAO.flush()
If the implementation supports lazy writes, manually flush changes to the external database
|
java.lang.Object |
QueryModelDAO.projectUsingQueryModel(QueryModel queryModel)
Use the QueryModel to narrow a set of results, then perform the
specified projection.
|
void |
GenericDAO.save(T entity)
Call save to insert a new object into the persistent store or update a preexisting object that has
been modified.
|
void |
AccessControlDAO.save(T object,
AccessControlContext accessControlContext) |
<U extends T> |
GenericDAO.updateById(U updateObject,
ID id)
Apply the set of changes described in the update object to the persisted item with the
specified id.
|
<U extends T> |
GenericDAO.updateByIds(U updateObject,
ID... ids)
Apply the set of changes described in the update object to persisted items with the
specified ids.
|
<U extends T> |
QueryModelDAO.updateUniqueUsingQueryModel(U updateObject,
QueryModel queryModel)
Apply the set of changes described in the update object to a single persisted
item that match the specified QueryModel.
|
<U extends T> |
QueryModelDAO.updateUsingQueryModel(U updateObject,
QueryModel queryModel)
Apply the set of changes described in the update object to persisted items that
match the specified QueryModel.
|
Copyright © 2017. All Rights Reserved.