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. |
java.lang.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.java.lang.String[] getSupportedResourceType()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"