Class ProgressResource

java.lang.Object
dev.getelements.elements.rest.mission.ProgressResource

@Path("progress") @Produces("application/json") public class ProgressResource extends Object
  • Constructor Details

    • ProgressResource

      public ProgressResource()
  • Method Details

    • createProgress

      @POST @Produces("application/json") public Progress createProgress(Progress progressToBeCreated)
    • getProgress

      @GET @Produces("application/json") public Pagination<Progress> getProgress(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("tags") List<String> tags, @QueryParam("search") String search)
    • getProgressTabular

      @GET @Produces("text/csv") public Tabulation<ProgressRow> getProgressTabular()
    • getProgressByNameOrId

      @GET @Path("{progressId}") @Produces("application/json") public Progress getProgressByNameOrId(@PathParam("progressId") String progressId)
    • updateProgress

      @PUT @Path("{progressId}") @Produces("application/json") public Progress updateProgress(Progress updatedProgress, @PathParam("progressId") String progressId)
    • deleteProgress

      @DELETE @Path("progress/{progressId}") @Produces("application/json") public void deleteProgress(@PathParam("progressId") String progressId)
    • getProgressService

      public ProgressService getProgressService()
    • setProgressService

      @Inject public void setProgressService(ProgressService progressService)