Class DocumentTypeResource
java.lang.Object
com.blazebit.persistence.examples.quarkus.base.resource.DocumentTypeResource
- Since:
- 1.5.0
- Author:
- Moritz Becker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsecreateDocumentType(DocumentTypeCreateView documentTypeCreateView) updateDocumentType(DocumentTypeUpdateView documentTypeUpdateView)
-
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()
-