Interface AuthProfileService

All Superinterfaces:
JAXRSService
All Known Implementing Classes:
AuthProfileServiceImpl

@Path("authProfiles") public interface AuthProfileService extends JAXRSService
REST operations for Auth profiles.
  • Method Details

    • search

      @GET @Produces({"application/json","application/yaml","application/xml"}) PagedResult<AuthProfileTO> search(@BeanParam AuthProfileQuery query)
      Returns a paged list of all AuthProfiles.
      Parameters:
      query - query conditions
      Returns:
      list of all AuthProfiles.
    • read

      @GET @Path("{key}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) AuthProfileTO read(@NotNull @PathParam("key") @NotNull String key)
      Returns the auth profile matching the provided if key, if found.
      Parameters:
      key - auth profile key
      Returns:
      auth profile matching the provided if key, if found
    • create

      @POST @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) Response create(@NotNull @NotNull AuthProfileTO authProfileTO)
      Create a new auth profile.
      Parameters:
      authProfileTO - auth profile to create
      Returns:
      Response object featuring Location header of created client app
    • update

      @PUT @Path("{key}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void update(@NotNull @NotNull AuthProfileTO authProfileTO)
      Updates the auth profile matching the provided if key, if found.
      Parameters:
      authProfileTO - auth profile
    • delete

      @DELETE @Path("{key}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("key") @NotNull String key)
      Deletes the auth profile matching the provided if key, if found.
      Parameters:
      key - auth profile key