public class KudosDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<KudosEntity,Long>
| Constructor and Description |
|---|
KudosDAO() |
| Modifier and Type | Method and Description |
|---|---|
long |
countKudosByPeriodAndReceiver(KudosPeriod kudosPeriod,
long receiverId,
boolean isReceiverUser) |
long |
countKudosByPeriodAndSender(KudosPeriod kudosPeriod,
long senderId) |
void |
delete(KudosEntity entity) |
void |
deleteAll() |
void |
deleteAll(List<KudosEntity> entities) |
KudosEntity |
findKudosByActivityId(long activityId) |
List<KudosEntity> |
getAllKudosByEntity(int entityType,
long entityId) |
List<KudosEntity> |
getAllKudosByPeriod(KudosPeriod kudosPeriod) |
List<KudosEntity> |
getAllKudosByPeriodAndEntityType(KudosPeriod kudosPeriod,
int entityType) |
List<KudosEntity> |
getKudosByPeriodAndReceiver(KudosPeriod kudosPeriod,
long receiverId,
boolean isReceiverUser) |
List<KudosEntity> |
getKudosByPeriodAndSender(KudosPeriod kudosPeriod,
long senderId) |
public void deleteAll()
deleteAll in interface org.exoplatform.commons.api.persistence.GenericDAO<KudosEntity,Long>deleteAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<KudosEntity,Long>public void delete(KudosEntity entity)
delete in interface org.exoplatform.commons.api.persistence.GenericDAO<KudosEntity,Long>delete in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<KudosEntity,Long>public void deleteAll(List<KudosEntity> entities)
deleteAll in interface org.exoplatform.commons.api.persistence.GenericDAO<KudosEntity,Long>deleteAll in class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<KudosEntity,Long>public List<KudosEntity> getAllKudosByPeriod(KudosPeriod kudosPeriod)
public List<KudosEntity> getAllKudosByPeriodAndEntityType(KudosPeriod kudosPeriod, int entityType)
public List<KudosEntity> getAllKudosByEntity(int entityType, long entityId)
public List<KudosEntity> getKudosByPeriodAndReceiver(KudosPeriod kudosPeriod, long receiverId, boolean isReceiverUser)
public long countKudosByPeriodAndReceiver(KudosPeriod kudosPeriod, long receiverId, boolean isReceiverUser)
public List<KudosEntity> getKudosByPeriodAndSender(KudosPeriod kudosPeriod, long senderId)
public long countKudosByPeriodAndSender(KudosPeriod kudosPeriod, long senderId)
public KudosEntity findKudosByActivityId(long activityId)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.