T - Persistent classID - ID type of the persistent class.public class DynamoDBQueryModelDAO<T,ID> extends java.lang.Object implements QueryModelDAO<T,ID>
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamoDBQueryModelDAO.IndexData |
| Modifier | Constructor and Description |
|---|---|
protected |
DynamoDBQueryModelDAO(java.lang.Class<T> entityClass,
java.util.Map<java.lang.String,java.lang.Object> daoProperties) |
protected |
DynamoDBQueryModelDAO(java.lang.Class<T> entityClass,
java.util.Map<java.lang.String,java.lang.Object> daoProperties,
AccessControlContextProvider accessControlContextProvider) |
| Modifier and Type | Method and Description |
|---|---|
Condition |
buildCondition(java.lang.String conditionField,
ConditionType conditionType,
java.util.Iterator argsIterator) |
Projection |
buildProjection(java.lang.String projectionField,
ProjectionType projectionType,
java.util.Iterator argsIterator) |
void |
delete(T entity) |
void |
deleteById(ID id) |
void |
deleteByIds(ID... ids) |
void |
deleteUsingQueryModel(QueryModel queryModel) |
java.lang.Iterable<T> |
findAll() |
T |
findById(ID id) |
java.lang.Iterable<T> |
findByIds(ID... ids) |
T |
findUniqueUsingQueryModel(QueryModel queryModel) |
java.lang.Iterable<T> |
findUsingQueryModel(QueryModel queryModel) |
void |
flush() |
<U extends T> |
getUpdateObject() |
java.lang.Object |
projectUsingQueryModel(QueryModel queryModel) |
void |
save(T entity) |
<U extends T> |
updateById(U updateObject,
ID id) |
<U extends T> |
updateByIds(U updateObject,
ID... ids) |
<U extends T> |
updateUniqueUsingQueryModel(U updateObject,
QueryModel queryModel) |
<U extends T> |
updateUsingQueryModel(U updateObject,
QueryModel queryModel) |
protected DynamoDBQueryModelDAO(java.lang.Class<T> entityClass, java.util.Map<java.lang.String,java.lang.Object> daoProperties)
protected DynamoDBQueryModelDAO(java.lang.Class<T> entityClass, java.util.Map<java.lang.String,java.lang.Object> daoProperties, AccessControlContextProvider accessControlContextProvider)
public T findById(ID id) throws NoSuchItemException, JeppettoException
findById in interface GenericDAO<T,ID>NoSuchItemExceptionJeppettoException@SafeVarargs public final java.lang.Iterable<T> findByIds(ID... ids) throws JeppettoException
findByIds in interface GenericDAO<T,ID>JeppettoExceptionpublic java.lang.Iterable<T> findAll() throws JeppettoException
findAll in interface GenericDAO<T,ID>JeppettoExceptionpublic void save(T entity) throws OptimisticLockException, JeppettoException
save in interface GenericDAO<T,ID>OptimisticLockExceptionJeppettoExceptionpublic void delete(T entity) throws JeppettoException
delete in interface GenericDAO<T,ID>JeppettoExceptionpublic void deleteById(ID id) throws JeppettoException
deleteById in interface GenericDAO<T,ID>JeppettoException@SafeVarargs public final void deleteByIds(ID... ids) throws FailedBatchException, JeppettoException
deleteByIds in interface GenericDAO<T,ID>FailedBatchExceptionJeppettoExceptionpublic <U extends T> U getUpdateObject()
getUpdateObject in interface GenericDAO<T,ID>public <U extends T> T updateById(U updateObject, ID id) throws JeppettoException
updateById in interface GenericDAO<T,ID>JeppettoException@SafeVarargs public final <U extends T> java.lang.Iterable<T> updateByIds(U updateObject, ID... ids) throws FailedBatchException, JeppettoException
updateByIds in interface GenericDAO<T,ID>FailedBatchExceptionJeppettoExceptionpublic void flush()
throws JeppettoException
flush in interface GenericDAO<T,ID>JeppettoExceptionpublic T findUniqueUsingQueryModel(QueryModel queryModel) throws NoSuchItemException, TooManyItemsException, JeppettoException
findUniqueUsingQueryModel in interface QueryModelDAO<T,ID>NoSuchItemExceptionTooManyItemsExceptionJeppettoExceptionpublic java.lang.Iterable<T> findUsingQueryModel(QueryModel queryModel) throws JeppettoException
findUsingQueryModel in interface QueryModelDAO<T,ID>JeppettoExceptionpublic java.lang.Object projectUsingQueryModel(QueryModel queryModel) throws JeppettoException
projectUsingQueryModel in interface QueryModelDAO<T,ID>JeppettoExceptionpublic void deleteUsingQueryModel(QueryModel queryModel) throws JeppettoException
deleteUsingQueryModel in interface QueryModelDAO<T,ID>JeppettoExceptionpublic <U extends T> T updateUniqueUsingQueryModel(U updateObject, QueryModel queryModel) throws JeppettoException
updateUniqueUsingQueryModel in interface QueryModelDAO<T,ID>JeppettoExceptionpublic <U extends T> java.lang.Iterable<T> updateUsingQueryModel(U updateObject, QueryModel queryModel) throws JeppettoException
updateUsingQueryModel in interface QueryModelDAO<T,ID>JeppettoExceptionpublic Condition buildCondition(java.lang.String conditionField, ConditionType conditionType, java.util.Iterator argsIterator)
buildCondition in interface QueryModelDAO<T,ID>public Projection buildProjection(java.lang.String projectionField, ProjectionType projectionType, java.util.Iterator argsIterator)
buildProjection in interface QueryModelDAO<T,ID>Copyright © 2017. All Rights Reserved.