Package de.xima.fc.api.rest.services
Class FormRecordChatService
- java.lang.Object
-
- de.xima.fc.api.rest.services.FormRecordChatService
-
@Produces({"application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8","application/json; charset=utf-8"}) @Path("/form-record-chats") @FcSecurity(authorizers="isFullyAuthenticated") public class FormRecordChatService extends Object
Service for accessingform record chat resources
via the REST API.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FormRecordChatService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getChatMessages(UUID chatUuid, int pageSize, int page, org.pac4j.core.profile.CommonProfile profile)
javax.ws.rs.core.Response
getChats(int pageSize, int page, org.pac4j.core.profile.CommonProfile profile)
javax.ws.rs.core.Response
getSingleChat(UUID chatUuid, org.pac4j.core.profile.CommonProfile profile)
javax.ws.rs.core.Response
postChatMessage(UUID chatUuid, @NotNull @Valid FormRecordMessageRequest formRecordMessageRequest, org.pac4j.core.profile.CommonProfile profile)
-
-
-
Method Detail
-
getChats
@GET public javax.ws.rs.core.Response getChats(@QueryParam("size") @DefaultValue("10") int pageSize, @QueryParam("page") @DefaultValue("1") int page, @Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-
getSingleChat
@GET @Path("/{chatUuid}") public javax.ws.rs.core.Response getSingleChat(@PathParam("chatUuid") UUID chatUuid, @Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-
getChatMessages
@GET @Path("/{chatUuid}/messages") public javax.ws.rs.core.Response getChatMessages(@PathParam("chatUuid") UUID chatUuid, @QueryParam("size") @DefaultValue("10") int pageSize, @QueryParam("page") @DefaultValue("1") int page, @Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-
postChatMessage
@POST @Path("/{chatUuid}/messages") public javax.ws.rs.core.Response postChatMessage(@PathParam("chatUuid") UUID chatUuid, @NotNull @Valid @NotNull @Valid FormRecordMessageRequest formRecordMessageRequest, @Pac4JProfile org.pac4j.core.profile.CommonProfile profile)
-
-