Interface AnyTypeClassService

  • All Superinterfaces:
    JAXRSService

    @Path("anyTypeClasses")
    public interface AnyTypeClassService
    extends JAXRSService
    REST operations for any type classes.
    • Method Detail

      • list

        @GET
        @Produces({"application/json","application/yaml","application/xml"})
        List<org.apache.syncope.common.lib.to.AnyTypeClassTO> list()
        Returns a list of all anyTypeClasss.
        Returns:
        list of all anyTypeClasss.
      • read

        @GET
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        org.apache.syncope.common.lib.to.AnyTypeClassTO read​(@NotNull @PathParam("key")
                                                             @NotNull String key)
        Returns anyTypeClass with matching key.
        Parameters:
        key - anyTypeClass key to be read
        Returns:
        anyTypeClass with matching key
      • create

        @POST
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        javax.ws.rs.core.Response create​(@NotNull
                                         @NotNull org.apache.syncope.common.lib.to.AnyTypeClassTO anyTypeClassTO)
        Creates a new anyTypeClass.
        Parameters:
        anyTypeClassTO - anyTypeClass to be created
        Returns:
        Response object featuring Location header of created anyTypeClass
      • update

        @PUT
        @Path("{key}")
        @Consumes({"application/json","application/yaml","application/xml"})
        @Produces({"application/json","application/yaml","application/xml"})
        void update​(@NotNull
                    @NotNull org.apache.syncope.common.lib.to.AnyTypeClassTO anyTypeClassTO)
        Updates the anyTypeClass matching the provided key.
        Parameters:
        anyTypeClassTO - anyTypeClass to be stored
      • delete

        @DELETE
        @Path("{key}")
        @Produces({"application/json","application/yaml","application/xml"})
        void delete​(@NotNull @PathParam("key")
                    @NotNull String key)
        Deletes the anyTypeClass matching the provided key.
        Parameters:
        key - anyTypeClass key to be deleted