public abstract class GenericDaoJpaImpl<T extends AbstractDomainObject> extends GenericDaoImpl<T>
| Constructor and Description |
|---|
GenericDaoJpaImpl() |
| Modifier and Type | Method and Description |
|---|---|
Long |
count(T t,
EntityMatchType matchType,
OperandType operandType,
Boolean caseSensitivenessType) |
protected String |
countQuery(T t,
EntityMatchType matchType,
OperandType operandType,
Boolean caseSensitivenessType) |
void |
delete(T t)
Deletes a T entity
|
abstract javax.persistence.EntityManager |
getEntityManager() |
protected abstract String |
getQuerySelectFromEntity() |
void |
insert(List<T> list)
Inserts a list of T entity
|
void |
insert(T t)
Inserts a T entity
|
void |
save(T t)
Saves a T entity
|
protected List<T> |
searchPrototype(String query,
Integer maxResults) |
abstract void |
setEntityManager(javax.persistence.EntityManager entityManager) |
T |
update(T t)
Updates a T entity
|
assignBlankToNull, count, find, find, findOrder, findWhere, findWithoutCount, getSearchEqualWhereQueryChunk, getSelectFrom, getSelectQuery, getSelectQuery, getWhereEqualAnyWhereQueryChunk, getWhereEqualWhereQueryChunk, getWhereEqualWhereQueryChunk, isAllNull, searchPrototype, searchPrototype, searchPrototypeCategoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistpublic void save(T t)
T - tpublic void delete(T t)
T - tpublic void insert(T t)
T - tprotected List<T> searchPrototype(String query, Integer maxResults)
searchPrototype in class GenericDaoImpl<T extends AbstractDomainObject>public abstract javax.persistence.EntityManager getEntityManager()
public abstract void setEntityManager(javax.persistence.EntityManager entityManager)
public Long count(T t, EntityMatchType matchType, OperandType operandType, Boolean caseSensitivenessType)
protected String countQuery(T t, EntityMatchType matchType, OperandType operandType, Boolean caseSensitivenessType)
protected abstract String getQuerySelectFromEntity()
Copyright © 2015. All rights reserved.