Interface TaskCommentResource
- All Known Implementing Classes:
TaskCommentResourceImpl
public interface TaskCommentResource
-
Method Summary
Modifier and TypeMethodDescriptioncreateComment
(jakarta.ws.rs.core.UriInfo uriInfo, CommentDto comment) void
deleteComment
(String commentId) void
getComment
(String commentId) void
updateComment
(CommentDto comment)
-
Method Details
-
getComments
-
getComment
@GET @Path("/{commentId}") @Produces("application/json") CommentDto getComment(@PathParam("commentId") String commentId) -
createComment
@POST @Path("/create") @Consumes("application/json") @Produces("application/json") CommentDto createComment(@Context jakarta.ws.rs.core.UriInfo uriInfo, CommentDto comment) -
deleteComment
@DELETE @Path("/{commentId}") @Produces("application/json") void deleteComment(@PathParam("commentId") String commentId) -
updateComment
-
deleteComments
@DELETE void deleteComments()
-