@PermitAll public class JpaProcessLogDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<ProcessLog,Long> implements ProcessLogDao
| Constructor and Description |
|---|
JpaProcessLogDao()
Creates new instance.
|
JpaProcessLogDao(javax.persistence.EntityManager em)
Creates new instance of
JpaProcessLogDao. |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteByModelInstanceId(Set<Long> modelInstanceIds)
Deletes all
ProcessLogs of model instance with given id. |
List<ProcessLog> |
findByModelInstanceId(long modelInstanceId)
Finds
ProcessLogs by the model instance id. |
protected javax.persistence.EntityManager |
getEntityManager() |
clear, contains, findById, findById, findByIds, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JpaProcessLogDao()
public JpaProcessLogDao(javax.persistence.EntityManager em)
JpaProcessLogDao.em - protected javax.persistence.EntityManager getEntityManager()
getEntityManager in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<ProcessLog,Long>public List<ProcessLog> findByModelInstanceId(long modelInstanceId)
ProcessLogDaoProcessLogs by the model instance id. The result is ordered
by the element indexes.findByModelInstanceId in interface ProcessLogDaoProcessLogspublic int deleteByModelInstanceId(Set<Long> modelInstanceIds)
ProcessLogDaoProcessLogs of model instance with given id.deleteByModelInstanceId in interface ProcessLogDaomodelInstanceIds - ids of model instances to deleteCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.