public class KudosStorage extends Object
| Constructor and Description |
|---|
KudosStorage(KudosDAO kudosDAO,
org.exoplatform.social.core.manager.IdentityManager identityManager) |
| Modifier and Type | Method and Description |
|---|---|
long |
countKudosByMonthAndSender(YearMonth yearMonth,
String senderId) |
Kudos |
createKudos(Kudos kudos) |
List<Kudos> |
getAllKudosByEntity(String entityType,
String entityId) |
List<Kudos> |
getAllKudosByMonth(YearMonth yearMonth) |
List<Kudos> |
getAllKudosByMonthAndEntityType(YearMonth yearMonth,
String entityType) |
Kudos |
getKudoById(long id) |
List<Kudos> |
getKudosByMonthAndReceiver(YearMonth yearMonth,
String receiverType,
String receiverId) |
List<Kudos> |
getKudosByMonthAndSender(YearMonth yearMonth,
String senderId) |
public KudosStorage(KudosDAO kudosDAO, org.exoplatform.social.core.manager.IdentityManager identityManager)
public Kudos getKudoById(long id)
public List<Kudos> getAllKudosByMonthAndEntityType(YearMonth yearMonth, String entityType)
public List<Kudos> getKudosByMonthAndReceiver(YearMonth yearMonth, String receiverType, String receiverId)
public List<Kudos> getKudosByMonthAndSender(YearMonth yearMonth, String senderId)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.