@PermitAll public class JpaTimerNotificationDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<TimerNotification,Long> implements TimerNotificationDao
TimerNotificationDao
Constructor and Description |
---|
JpaTimerNotificationDao()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteByModelInstanceId(long modelInstanceId)
Deletes all notifications registered on given model instance
|
List<TimerNotification> |
findAll() |
List<TimerNotification> |
findByModelInstanceId(long modelInstanceId) |
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
protected javax.persistence.EntityManager getEntityManager()
getEntityManager
in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<TimerNotification,Long>
public List<TimerNotification> findAll()
findAll
in interface TimerNotificationDao
TimerNotification
objects.public List<TimerNotification> findByModelInstanceId(long modelInstanceId)
findByModelInstanceId
in interface TimerNotificationDao
TimerNotification
objects registered for
model instance with given id.public void deleteByModelInstanceId(long modelInstanceId)
TimerNotificationDao
deleteByModelInstanceId
in interface TimerNotificationDao
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.