@PermitAll public class JpaUserActivityTrackDao extends com.whitestein.lsps.common.jpa.AbstractJpaEntityDao<UserActivityTrack> implements UserActivityTrackDao
| Constructor and Description |
|---|
JpaUserActivityTrackDao()
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.persistence.EntityManager |
getEntityManager() |
List<UserActivityTrack> |
getForUserFromTo(String principal,
Date from,
Date to)
Returns list of tracks for a user in specified time interval.
|
List<UserActivityTrack> |
getFromTo(Date from,
Date to)
Returns list of tracks for all users in specified time interval.
|
UserActivityTrack |
getLastForUser(String principal)
Returns latest track for a user.
|
clear, contains, findById, findById, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected javax.persistence.EntityManager getEntityManager()
getEntityManager in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<UserActivityTrack,Long>public UserActivityTrack getLastForUser(String principal)
UserActivityTrackDaogetLastForUser in interface UserActivityTrackDaopublic List<UserActivityTrack> getForUserFromTo(String principal, Date from, Date to)
UserActivityTrackDaogetForUserFromTo in interface UserActivityTrackDaopublic List<UserActivityTrack> getFromTo(Date from, Date to)
UserActivityTrackDaogetFromTo in interface UserActivityTrackDaoCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.