public class ActivityFocusDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ActivityFocusEntity,FocusId>
| Constructor and Description |
|---|
ActivityFocusDAO() |
| Modifier and Type | Method and Description |
|---|---|
List<ActivityFocusEntity> |
findAllFocus(String userId,
String activityId)
Find all focus records for given user and activity.
|
List<ActivityFocusEntity> |
findFocusAfter(String userId,
String activityId,
Long startTimeAfter)
Find all focus records for given user and activity created after given start date.
|
long |
findTotalCount()
Find total count.
|
public long findTotalCount()
public List<ActivityFocusEntity> findAllFocus(String userId, String activityId)
userId - the user idactivityId - the activity idpublic List<ActivityFocusEntity> findFocusAfter(String userId, String activityId, Long startTimeAfter)
userId - the user idactivityId - the activity idstartTimeAfter - the start time after which search recordsCopyright © 2003–2020 eXo Platform SAS. All rights reserved.