public class KudosDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<KudosEntity,Long>
| Constructor and Description |
|---|
KudosDAO() |
| Modifier and Type | Method and Description |
|---|---|
long |
countKudosByMonthAndSender(YearMonth yearMonth,
long senderId) |
void |
delete(KudosEntity entity) |
void |
deleteAll() |
void |
deleteAll(List<KudosEntity> entities) |
List<KudosEntity> |
getAllKudosByEntity(int entityType,
long entityId) |
List<KudosEntity> |
getAllKudosByMonth(YearMonth yearMonth) |
List<KudosEntity> |
getAllKudosByMonthAndEntityType(YearMonth yearMonth,
int entityType) |
List<KudosEntity> |
getKudosByMonthAndReceiver(YearMonth yearMonth,
long receiverId,
boolean isReceiverUser) |
List<KudosEntity> |
getKudosByMonthAndSender(YearMonth yearMonth,
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> getAllKudosByMonth(YearMonth yearMonth)
public List<KudosEntity> getAllKudosByMonthAndEntityType(YearMonth yearMonth, int entityType)
public List<KudosEntity> getAllKudosByEntity(int entityType, long entityId)
public List<KudosEntity> getKudosByMonthAndReceiver(YearMonth yearMonth, long receiverId, boolean isReceiverUser)
public List<KudosEntity> getKudosByMonthAndSender(YearMonth yearMonth, long senderId)
public long countKudosByMonthAndSender(YearMonth yearMonth, long senderId)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.