Package de.xima.fc.api.rest.services
Class FormRecordAttachmentService
- java.lang.Object
-
- de.xima.fc.api.rest.services.FormRecordAttachmentService
-
@Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/vnd.xima.fc.api.rest.public+octet-stream; version=1.0; charset=utf-8","application/octet-stream; charset=utf-8","application/json; charset=utf-8"}) @Path("/form-record-attachments") @FcSecurity(authorizers="isFullyAuthenticated") public class FormRecordAttachmentService extends Object
-
-
Constructor Summary
Constructors Constructor Description FormRecordAttachmentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
downloadSingleAttachment(UUID attachmentUuid, org.pac4j.core.profile.CommonProfile profile)
javax.ws.rs.core.Response
getSingleAttachment(UUID attachmentUuid, org.pac4j.core.profile.CommonProfile profile)
-
-
-
Method Detail
-
getSingleAttachment
@GET @Path("/{attachmentUuid}") @Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"}) public javax.ws.rs.core.Response getSingleAttachment(@PathParam("attachmentUuid") UUID attachmentUuid, @Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-
downloadSingleAttachment
@GET @Path("/{attachmentUuid}/download") @Produces({"application/vnd.xima.fc.api.rest.public+octet-stream; version=1.0; charset=utf-8","application/octet-stream; charset=utf-8"}) public javax.ws.rs.core.Response downloadSingleAttachment(@PathParam("attachmentUuid") UUID attachmentUuid, @Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-
-