Class RealizationsServiceImpl
- java.lang.Object
-
- org.exoplatform.addons.gamification.service.configuration.RealizationsServiceImpl
-
- All Implemented Interfaces:
RealizationsService
public class RealizationsServiceImpl extends Object implements RealizationsService
-
-
Constructor Summary
Constructors Constructor Description RealizationsServiceImpl(RealizationsStorage realizationsStorage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GamificationActionsHistoryDTO>getAllRealizationsByDate(String fromDate, String toDate, int offset, int limit)Retrieves all Realizations by Date.GamificationActionsHistoryDTOupdateRealizationStatus(Long gHistoryId, HistoryStatus status, String actionLabel, Long points, String domain)Retrieves all Realizations by Date.
-
-
-
Constructor Detail
-
RealizationsServiceImpl
public RealizationsServiceImpl(RealizationsStorage realizationsStorage)
-
-
Method Detail
-
getAllRealizationsByDate
public List<GamificationActionsHistoryDTO> getAllRealizationsByDate(String fromDate, String toDate, int offset, int limit) throws IllegalArgumentException
Description copied from interface:RealizationsServiceRetrieves all Realizations by Date.- Specified by:
getAllRealizationsByDatein interfaceRealizationsService- Parameters:
fromDate- fromDatetoDate- toDateoffset- Offsetlimit- Limit- Returns:
- A
object - Throws:
IllegalArgumentException
-
updateRealizationStatus
public GamificationActionsHistoryDTO updateRealizationStatus(Long gHistoryId, HistoryStatus status, String actionLabel, Long points, String domain) throws IllegalArgumentException, org.exoplatform.commons.exception.ObjectNotFoundException
Description copied from interface:RealizationsServiceRetrieves all Realizations by Date.- Specified by:
updateRealizationStatusin interfaceRealizationsService- Parameters:
gHistoryId- gHistoryIdstatus- status- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException- GamificationActionsHistory identified by its technical identifier is not foundIllegalArgumentException
-
-