Interface ProgressService
- All Known Implementing Classes:
SuperUserProgressService,UserProgressService
public interface ProgressService
-
Method Summary
Modifier and TypeMethodDescriptioncreateProgress(Progress progress) Creates a newProgress.voiddeleteProgress(String progressNameOrId) Deletes theProgresswith 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 ofProgressobjects.getProgresses(int offset, int count, List<String> tags, String query) Returns a list ofProgressobjects.Gets aTabulation<ProgressRow>complete with the tabular data for that row.updateProgress(Progress progress) Updates theProgress.
-
Method Details
-
getProgresses
Returns a list ofProgressobjects.- Parameters:
offset- the offsetcount- the counttags-- Returns:
- the list of
Progressinstances
-
getProgresses
Returns a list ofProgressobjects.- Parameters:
offset- the offsetcount- the counttags-query- the search query- Returns:
- the list of
Progressinstances
-
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 theProgresswith the supplied id or name.- Parameters:
progressNameOrId- the progress name or ID.
-