Package de.xima.fc.api.rest.services
Class ClientService
- java.lang.Object
-
- de.xima.fc.api.rest.services.ClientService
-
@Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"}) @Path("/clients") public class ClientService extends Object
-
-
Constructor Summary
Constructors Constructor Description ClientService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
downloadFormFiles(@NotNull UUID clientUuid, @NotNull UUID formUuid)
javax.ws.rs.core.Response
downloadSingleAttachment(@NotNull UUID clientUuid, @NotNull UUID formUuid, @NotNull UUID fileUuid)
javax.ws.rs.core.Response
getFormFiles(@NotNull UUID clientUuid, @NotNull UUID formUuid, int pageSize, int page)
javax.ws.rs.core.Response
getSingleForm(@NotNull UUID clientUuid, @NotNull UUID formUuid)
javax.ws.rs.core.Response
getSingleFormFile(@NotNull UUID clientUuid, @NotNull UUID formUuid, @NotNull UUID fileUuid)
-
-
-
Method Detail
-
getSingleForm
@GET @Path("/{clientUuid}/forms/{formUuid}") @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 getSingleForm(@PathParam("clientUuid") @NotNull @NotNull UUID clientUuid, @PathParam("formUuid") @NotNull @NotNull UUID formUuid)
-
getFormFiles
@GET @Path("/{clientUuid}/forms/{formUuid}/files") public javax.ws.rs.core.Response getFormFiles(@PathParam("clientUuid") @NotNull @NotNull UUID clientUuid, @PathParam("formUuid") @NotNull @NotNull UUID formUuid, @QueryParam("size") @DefaultValue("10") int pageSize, @QueryParam("page") @DefaultValue("1") int page)
-
getSingleFormFile
@GET @Path("/{clientUuid}/forms/{formUuid}/files/{fileUuid}") public javax.ws.rs.core.Response getSingleFormFile(@PathParam("clientUuid") @NotNull @NotNull UUID clientUuid, @PathParam("formUuid") @NotNull @NotNull UUID formUuid, @PathParam("fileUuid") @NotNull @NotNull UUID fileUuid)
-
downloadFormFiles
@GET @Path("/{clientUuid}/forms/{formUuid}/files/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 downloadFormFiles(@PathParam("clientUuid") @NotNull @NotNull UUID clientUuid, @PathParam("formUuid") @NotNull @NotNull UUID formUuid)
-
downloadSingleAttachment
@GET @Path("/{clientUuid}/forms/{formUuid}/files/{fileUuid}/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("clientUuid") @NotNull @NotNull UUID clientUuid, @PathParam("formUuid") @NotNull @NotNull UUID formUuid, @PathParam("fileUuid") @NotNull @NotNull UUID fileUuid)
-
-