public static class CommentItResource.CommentsList extends ListResult<Comment>
Comment
objects.Constructor and Description |
---|
CommentsList()
Empty constructor used by the XmlAdapters
|
CommentsList(UriInfo uriInfo,
List<Comment> items,
int totalComments)
Constructor that also initializes the ListResult
|
Modifier and Type | Method and Description |
---|---|
List<Comment> |
getItems()
Returns the backing list object for this result list.
|
createFirstUrl, createLastUrl, createNextUrl, createPreviousUrl, getFirstUrl, getLastUrl, getMaxResults, getNextUrl, getPreviousUrl, getStartAt, getTotalCount, init, setFirstUrl, setItems, setLastUrl, setMaxResults, setNextUrl, setPreviousUrl, setStartAt, setTotalCount
public CommentsList(UriInfo uriInfo, List<Comment> items, int totalComments)
uriInfo
- the UriInfoitems
- the list containing the Comment
objectstotalComments
- The total amount of comments this item has as given by
CommentItManager.getCommentsCount(String itemId, String serviceInstanceId)
.public CommentsList()
public List<Comment> getItems()
ListResult
getItems
in class ListResult<Comment>
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.