Class PlanServices

    • Constructor Detail

      • PlanServices

        public PlanServices()
    • Method Detail

      • newPlan

        @GET
        @Produces("application/json")
        public Plan newPlan​(@QueryParam("type")
                            String type,
                            @QueryParam("template")
                            String template)
                     throws Exception
        Throws:
        Exception
      • save

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public Plan save​(Plan plan)
      • get

        @GET
        @Path("/{id}")
        @Produces("application/json")
        public Plan get​(@PathParam("id")
                        String id)
      • compilePlan

        @GET
        @Path("/{id}/compile")
        @Produces("application/json")
        public PlanCompilationResult compilePlan​(@PathParam("id")
                                                 String id)
      • compilePlan

        @POST
        @Path("/compile")
        @Produces("application/json")
        public PlanCompilationResult compilePlan​(Plan plan)
      • clonePlan

        @GET
        @Path("/{id}/clone")
        @Produces("application/json")
        public Plan clonePlan​(@PathParam("id")
                              String id)
      • findMany

        @POST
        @Path("/find")
        @Produces("application/json")
        public List<Plan> findMany​(Map<String,​String> attributes)
      • getAll

        @GET
        @Path("/all")
        @Produces("application/json")
        public List<Plan> getAll​(@QueryParam("skip")
                                 Integer skip,
                                 @QueryParam("limit")
                                 Integer limit)
      • delete

        @DELETE
        @Path("/{id}")
        @Consumes("application/json")
        public void delete​(@PathParam("id")
                           String id)
      • lookupPlan

        @GET
        @Path("/{id}/artefacts/{artefactid}/lookup/plan")
        @Produces("application/json")
        public Plan lookupPlan​(@PathParam("id")
                               String id,
                               @PathParam("artefactid")
                               String artefactId)