Class DocumentTypeResource

java.lang.Object
com.blazebit.persistence.examples.quarkus.base.resource.DocumentTypeResource

@Path("document-types") public class DocumentTypeResource extends Object
Since:
1.5.0
Author:
Moritz Becker
  • Constructor Details

    • DocumentTypeResource

      public DocumentTypeResource()
  • Method Details

    • createDocumentType

      @POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response createDocumentType(DocumentTypeCreateView documentTypeCreateView)
    • updateDocumentType

      @PUT @Path("{id}") @Consumes("application/json") @Produces("application/json") public DocumentTypeView updateDocumentType(DocumentTypeUpdateView documentTypeUpdateView)
    • clearDocumentTypes

      @DELETE public jakarta.ws.rs.core.Response clearDocumentTypes()