Package dev.getelements.elements.sdk.dao
Interface ScheduleProgressDao
- All Known Implementing Classes:
MongoScheduleProgressDao
public interface ScheduleProgressDao
Manages
Progress
instances for the-
Method Summary
Modifier and TypeMethodDescriptionassignProgressesForMissionsIn
(String scheduleNameOrId, String profileId, Collection<ScheduleEvent> events) getProgresses
(String profileId, String scheduleNameOrId, int offset, int count) Gets allProgress
instances with the supplied profile, schedule, and offet, countunassignProgressesForMissionsNotIn
(String scheduleNameOrId, String profileId, Collection<ScheduleEvent> events)
-
Method Details
-
getProgresses
Pagination<Progress> getProgresses(String profileId, String scheduleNameOrId, int offset, int count) Gets allProgress
instances with the supplied profile, schedule, and offet, count- Parameters:
profileId
-scheduleNameOrId
-offset
-count
-- Returns:
-
assignProgressesForMissionsIn
List<Progress> assignProgressesForMissionsIn(String scheduleNameOrId, String profileId, Collection<ScheduleEvent> events) -
unassignProgressesForMissionsNotIn
List<Progress> unassignProgressesForMissionsNotIn(String scheduleNameOrId, String profileId, Collection<ScheduleEvent> events)
-