Class PlanServices

    • Constructor Detail

      • PlanServices

        public PlanServices()
    • Method Detail

      • newPlan

        @GET
        @Produces("application/json")
        public Plan newPlan​(@QueryParam("type")
                            java.lang.String type,
                            @QueryParam("template")
                            java.lang.String template)
                     throws java.lang.Exception
        Throws:
        java.lang.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")
                        java.lang.String id)
      • compilePlan

        @GET
        @Path("/{id}/compile")
        @Produces("application/json")
        public PlanCompilationResult compilePlan​(@PathParam("id")
                                                 java.lang.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")
                              java.lang.String id)
      • get

        @POST
        @Path("/search")
        public Plan get​(java.util.Map<java.lang.String,​java.lang.String> attributes)
      • findMany

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

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

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

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

        @POST
        @Path("/artefacts/clonemany")
        @Produces("application/json")
        public java.util.List<AbstractArtefact> cloneArtefact​(java.util.List<AbstractArtefact> artefacts)