public interface UgcSearch
Modifier and Type | Method and Description |
---|---|
SearchResults<Resource> |
find(String scName,
ResourceResolver resolver,
UgcFilter filter,
int offset,
int limit,
boolean requiresTotal)
Perform a search with a component filter returning resources.
|
SearchResults<Node> |
find(String scName,
Session session,
UgcFilter filter,
int offset,
int limit)
Deprecated.
|
int |
getIndex(String scName,
Session session,
UgcFilter listing,
String targetPath,
long added)
Return the index of the target in the search result.
|
@Deprecated SearchResults<Node> find(String scName, Session session, UgcFilter filter, int offset, int limit) throws RepositoryException
find(String, ResourceResolver, UgcFilter, int, int, boolean)
scName
- the name of the search collection.session
- the user session.filter
- the query filters.offset
- the result offset.limit
- the result limit.RepositoryException
- thrown when there are issues with repository.SearchResults<Resource> find(String scName, ResourceResolver resolver, UgcFilter filter, int offset, int limit, boolean requiresTotal) throws RepositoryException
scName
- the name of the search collection.resolver
- the user session.filter
- the query filters.offset
- the result offset.limit
- the result limit.requiresTotal
- true iff the total number of matches needs to be returned in the search resultsRepositoryException
- thrown when there are issues with repository.int getIndex(String scName, Session session, UgcFilter listing, String targetPath, long added) throws RepositoryException
scName
- the name of the search collection.session
- the user session.listing
- the query filters.targetPath
- the path of the target.added
- the date that the target was added.RepositoryException
- thrown when there are issues with repository."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"