@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
ProcessLog s of model instance with given id. |
List<ProcessLog> |
findByModelInstanceId(long modelInstanceId)
Finds
ProcessLog s 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, setLockMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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)
ProcessLogDao
ProcessLog
s by the model instance id. The result is ordered
by the element indexes.findByModelInstanceId
in interface ProcessLogDao
ProcessLog
spublic int deleteByModelInstanceId(Set<Long> modelInstanceIds)
ProcessLogDao
ProcessLog
s of model instance with given id.deleteByModelInstanceId
in interface ProcessLogDao
modelInstanceIds
- ids of model instances to deleteCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.