Class ParameterServices

    • Field Detail

    • Constructor Detail

      • ParameterServices

        public ParameterServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws java.lang.Exception
        Overrides:
        init in class AbstractServices
        Throws:
        java.lang.Exception
      • newParameter

        @GET
        @Consumes("application/json")
        @Produces("application/json")
        public Parameter newParameter()
      • assertRights

        protected void assertRights​(Parameter newParameter)
      • hasGlobalParamRight

        protected boolean hasGlobalParamRight()
      • isProtected

        protected static boolean isProtected​(Parameter oldParameter)
      • delete

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

        public static boolean isPassword​(Parameter parameter)
      • isPassword

        public static boolean isPassword​(java.lang.String key)
      • get

        @GET
        @Path("/{id}")
        public Parameter get​(@PathParam("id")
                             java.lang.String id)
      • maskProtectedValue

        public static Parameter maskProtectedValue​(Parameter parameter)
      • maskProtectedValues

        protected java.util.List<Parameter> maskProtectedValues​(java.util.stream.Stream<Parameter> stream)
      • get

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

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

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