Interface ProgressService
- All Known Implementing Classes:
SuperUserProgressService
,UserProgressService
public interface ProgressService
-
Method Summary
Modifier and TypeMethodDescriptioncreateProgress
(Progress progress) Creates a newProgress
.void
deleteProgress
(String progressNameOrId) Deletes theProgress
with the supplied id or name.getProgress
(String progressId) Gets a progress with specified name or ID.getProgresses
(int offset, int count, List<String> tags) Returns a list ofProgress
objects.getProgresses
(int offset, int count, List<String> tags, String query) Returns a list ofProgress
objects.Gets aTabulation<ProgressRow>
complete with the tabular data for that row.updateProgress
(Progress progress) Updates theProgress
.
-
Method Details
-
getProgresses
Returns a list ofProgress
objects.- Parameters:
offset
- the offsetcount
- the counttags
-- Returns:
- the list of
Progress
instances
-
getProgresses
Returns a list ofProgress
objects.- Parameters:
offset
- the offsetcount
- the counttags
-query
- the search query- Returns:
- the list of
Progress
instances
-
getProgressesTabular
Tabulation<ProgressRow> getProgressesTabular()Gets aTabulation<ProgressRow>
complete with the tabular data for that row.- Returns:
- the progress in a tabular fashion.
-
getProgress
Gets a progress with specified name or ID.- Parameters:
progressId
- the UserId- Returns:
- the progress
-
updateProgress
-
createProgress
Creates a newProgress
. The ID of the progress, as specified byProgress.getId()
, should be null and will be assigned. -
deleteProgress
Deletes theProgress
with the supplied id or name.- Parameters:
progressNameOrId
- the progress name or ID.
-