Package lumis.service.commentit
Class CommentItResource.CommentsItem
- java.lang.Object
-
- lumis.service.commentit.CommentItResource.CommentsItem
-
- Enclosing class:
- CommentItResource
public static class CommentItResource.CommentsItem extends Object
JAXB object used to represent theCommentItResource.CommentsList
of a single item (itemId on a specific CommentIt service instance).- Since:
- 8.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description CommentsItem()
Empty constructor used by the XmlAdaptersCommentsItem(String serviceInstanceId, String itemId, List<Comment> comments, int totalComments, UriInfo uriInfo, boolean canPostComment)
Constructor that also initializes theCommentItResource.CommentsList
-
-
-
Constructor Detail
-
CommentsItem
public CommentsItem()
Empty constructor used by the XmlAdapters- Since:
- 8.0.0
-
CommentsItem
public CommentsItem(String serviceInstanceId, String itemId, List<Comment> comments, int totalComments, UriInfo uriInfo, boolean canPostComment)
Constructor that also initializes theCommentItResource.CommentsList
- Parameters:
serviceInstanceId
- The instance identifier for the CommentIt service being use.itemId
- The item identifier thisCommentItResource.CommentsItem
represents.comments
- A list containing theComment
objectstotalComments
- The total amount of comments this item has as given byCommentItManager.getCommentsCount(String itemId, String serviceInstanceId)
.uriInfo
- the UriInfo- Since:
- 8.0.0
-
-