public abstract class HibernateDeletionDao extends Object implements DeletionDao
| Constructor and Description |
|---|
HibernateDeletionDao() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.persistence.EntityManager |
entityManager() |
protected void |
executeDeleteNamedQuery(String namedQuery,
String paramName,
Collection<Long> ids) |
protected void |
executeDeleteSQLQuery(String queryString,
String paramName,
Collection<Long> ids) |
protected <R> List<R> |
executeSelectNamedQuery(String namedQuery,
String paramName,
Collection<Long> ids) |
protected <R> List<R> |
executeSelectSQLQuery(String queryString,
String paramName,
Collection<Long> ids) |
void |
flush() |
protected org.hibernate.Session |
getSession()
Deprecated.
use an entity manager instead
|
void |
removeAttachmentList(org.squashtest.tm.domain.attachment.AttachmentList list) |
void |
removeAttachmentsLists(List<Long> attachmentListIds) |
void |
removeEntity(Object entity) |
void |
removeEntityNQ(String namedQuery,
String namedParam,
Long paramId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveEntities@Deprecated protected org.hibernate.Session getSession()
protected final javax.persistence.EntityManager entityManager()
public void removeAttachmentsLists(List<Long> attachmentListIds)
removeAttachmentsLists in interface DeletionDaopublic void removeEntity(Object entity)
removeEntity in interface DeletionDaopublic void removeEntityNQ(String namedQuery, String namedParam, Long paramId)
removeEntityNQ in interface DeletionDaopublic void removeAttachmentList(org.squashtest.tm.domain.attachment.AttachmentList list)
removeAttachmentList in interface DeletionDaopublic void flush()
flush in interface DeletionDaoprotected void executeDeleteNamedQuery(String namedQuery, String paramName, Collection<Long> ids)
protected <R> List<R> executeSelectNamedQuery(String namedQuery, String paramName, Collection<Long> ids)
protected void executeDeleteSQLQuery(String queryString, String paramName, Collection<Long> ids)
protected <R> List<R> executeSelectSQLQuery(String queryString, String paramName, Collection<Long> ids)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.