Interface TaskCommentResource
-
- All Known Implementing Classes:
TaskCommentResourceImpl
public interface TaskCommentResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommentDto
createComment(javax.ws.rs.core.UriInfo uriInfo, CommentDto comment)
CommentDto
getComment(java.lang.String commentId)
java.util.List<CommentDto>
getComments()
-
-
-
Method Detail
-
getComments
@GET @Produces("application/json") java.util.List<CommentDto> getComments()
-
getComment
@GET @Path("/{commentId}") @Produces("application/json") CommentDto getComment(@PathParam("commentId") java.lang.String commentId)
-
createComment
@POST @Path("/create") @Consumes("application/json") @Produces("application/json") CommentDto createComment(@Context javax.ws.rs.core.UriInfo uriInfo, CommentDto comment)
-
-