public class SearchServiceImpl extends AlfrescoService implements SearchService
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SearchServiceImpl> |
CREATOR |
CONTENT_CACHE, RENDITION_CACHE, session
SORT_PROPERTY_CREATED_AT, SORT_PROPERTY_DESCRIPTION, SORT_PROPERTY_MODIFIED_AT, SORT_PROPERTY_NAME, SORT_PROPERTY_TITLE
Constructor and Description |
---|
SearchServiceImpl(AlfrescoSession repositorySession)
Default constructor for service.
|
SearchServiceImpl(android.os.Parcel o) |
Modifier and Type | Method and Description |
---|---|
List<Node> |
keywordSearch(String keywords,
KeywordSearchOptions options)
A space delimited list of keywords to search for.
|
PagingResult<Node> |
keywordSearch(String keywords,
KeywordSearchOptions options,
ListingContext listingContext)
A space delimited list of keywords to search for.
|
List<Node> |
search(String statement,
SearchLanguage language)
Executes a query statement against the contents of the repository using
the given search language.
|
PagingResult<Node> |
search(String statement,
SearchLanguage language,
ListingContext listingContext)
Executes a query statement against the contents of the repository using
the given search language.
|
clear, convertException, convertNode, convertNode, convertStatusCode, delete, describeContents, getHttpInvoker, getSessionHttp, isCloudSession, isListNull, isMapNull, isObjectNull, isOnPremiseSession, isStringNull, post, put, read, saveContentStream, writeToParcel
public static final android.os.Parcelable.Creator<SearchServiceImpl> CREATOR
public SearchServiceImpl(AlfrescoSession repositorySession)
ServiceRegistry
.repositorySession
- public SearchServiceImpl(android.os.Parcel o)
public List<Node> search(String statement, SearchLanguage language)
search
in interface SearchService
statement
- : query statement associated to the search language.language
- : Defined by
SearchLanguage
public List<Node> keywordSearch(String keywords, KeywordSearchOptions options)
keywordSearch
in interface SearchService
keywords
- : A space delimited list of keywords to search foroptions
- : defines the search scope.public PagingResult<Node> keywordSearch(String keywords, KeywordSearchOptions options, ListingContext listingContext)
keywordSearch
in interface SearchService
keywords
- : A space delimited list of keywords to search foroptions
- : defines the search scope.listingContext
- : Listing context that define the behaviour of
paging results
ListingContext
public PagingResult<Node> search(String statement, SearchLanguage language, ListingContext listingContext)
search
in interface SearchService
statement
- : query statement associated to the search language.language
- : Defined by
SearchLanguage
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.