Package lumis.service.commentit
Class CommentItResource.CommentsList
- java.lang.Object
-
- lumis.portal.rest.util.ListResult<Comment>
-
- lumis.service.commentit.CommentItResource.CommentsList
-
- Enclosing class:
- CommentItResource
public static class CommentItResource.CommentsList extends ListResult<Comment>
JAXB object used to return a list ofComment
objects.- Since:
- 8.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description CommentsList()
Empty constructor used by the XmlAdaptersCommentsList(UriInfo uriInfo, List<Comment> items, int totalComments)
Constructor that also initializes the ListResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Comment>
getItems()
Returns the backing list object for this result list.-
Methods inherited from class lumis.portal.rest.util.ListResult
createFirstUrl, createLastUrl, createNextUrl, createPreviousUrl, getFirstUrl, getLastUrl, getMaxResults, getNextUrl, getPreviousUrl, getStartAt, getTotalCount, init, setFirstUrl, setItems, setLastUrl, setMaxResults, setNextUrl, setPreviousUrl, setStartAt, setTotalCount
-
-
-
-
Constructor Detail
-
CommentsList
public CommentsList(UriInfo uriInfo, List<Comment> items, int totalComments)
Constructor that also initializes the ListResult- Parameters:
uriInfo
- the UriInfoitems
- the list containing theComment
objectstotalComments
- The total amount of comments this item has as given byCommentItManager.getCommentsCount(String itemId, String serviceInstanceId)
.- Since:
- 8.0.0
-
CommentsList
public CommentsList()
Empty constructor used by the XmlAdapters- Since:
- 8.0.0
-
-
Method Detail
-
getItems
public List<Comment> getItems()
Description copied from class:ListResult
Returns the backing list object for this result list.- Overrides:
getItems
in classListResult<Comment>
- Returns:
- the backing list object for this result list.
-
-