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(String commentId)
List<CommentDto>
getComments()
-
-
-
Method Detail
-
getComments
@GET @Produces("application/json") List<CommentDto> 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 javax.ws.rs.core.UriInfo uriInfo, CommentDto comment)
-
-