public static class CommentItResource.CommentsItem extends Object
CommentItResource.CommentsList
of a single item (itemId on a specific CommentIt service
instance).Constructor and Description |
---|
CommentsItem()
Empty constructor used by the XmlAdapters
|
CommentsItem(String serviceInstanceId,
String itemId,
List<Comment> comments,
int totalComments,
UriInfo uriInfo,
boolean canPostComment)
Constructor that also initializes the
CommentItResource.CommentsList |
public CommentsItem()
public CommentsItem(String serviceInstanceId, String itemId, List<Comment> comments, int totalComments, UriInfo uriInfo, boolean canPostComment)
CommentItResource.CommentsList
serviceInstanceId
- The instance identifier for the CommentIt service being use.itemId
- The item identifier this CommentItResource.CommentsItem
represents.comments
- A list containing the Comment
objectstotalComments
- The total amount of comments this item has as given by
CommentItManager.getCommentsCount(String itemId, String serviceInstanceId)
.uriInfo
- the UriInfoLumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.