Class 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 Detail

      • FormRecordAttachmentService

        public FormRecordAttachmentService()
    • 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)