public interface CommentListProvider<E>
CommentListProvider
allows
a client to obtain the children of a resource sorted in the right order of its usage.Modifier and Type | Method and Description |
---|---|
CommentListCollection<E> |
getComments(Resource resource,
QueryRequestInfo listInfo)
Get a subset of
Comment of the specified root resource as defined by the given offset and size. |
String[] |
getSupportedResourceType()
Get the resource types this provider supports
|
CommentListCollection<E> getComments(Resource resource, QueryRequestInfo listInfo)
Comment
of the specified root resource as defined by the given offset and size. The
comments are returned in chronological order.resource
- the target resource.offset
- the offset starting from 0.size
- the max number of elements to return.reversedOrder
- specifies the list is sorted in chronological order or not. This parameter only supports
if the list provider supports sorting.commentIndexElementFactory
- the CommentIndexElementFactory
used to create Comment
object
from an IndexElement.String[] getSupportedResourceType()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"