public interface SearchService extends Service
Modifier and Type | Field and Description |
---|---|
static String |
SORT_PROPERTY_CREATED_AT
Allowable sorting property : Creation Date
|
static String |
SORT_PROPERTY_DESCRIPTION
Allowable sorting property : Description
|
static String |
SORT_PROPERTY_MODIFIED_AT
Allowable sorting property : Modification Date
|
static String |
SORT_PROPERTY_NAME
Allowable sorting property : Name of the document or folder.
|
static String |
SORT_PROPERTY_TITLE
Allowable sorting property : Title of the document or folder.
|
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.
|
static final String SORT_PROPERTY_NAME
static final String SORT_PROPERTY_TITLE
static final String SORT_PROPERTY_DESCRIPTION
static final String SORT_PROPERTY_CREATED_AT
static final String SORT_PROPERTY_MODIFIED_AT
PagingResult<Node> search(String statement, SearchLanguage language, ListingContext listingContext)
statement
- : query statement associated to the search language.language
- : Defined by
SearchLanguage
listingContext:
- Listing context that define the behaviour of
paging results
ListingContext
AlfrescoServiceException
- : if network or internal problems occur
during the process.List<Node> search(String statement, SearchLanguage language)
statement
- : query statement associated to the search language.language
- : Defined by
SearchLanguage
AlfrescoServiceException
- : if network or internal problems occur
during the process.PagingResult<Node> keywordSearch(String keywords, KeywordSearchOptions options, ListingContext listingContext)
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
AlfrescoServiceException
- : if network or internal problems occur
during the process.List<Node> keywordSearch(String keywords, KeywordSearchOptions options)
keywords
- : A space delimited list of keywords to search foroptions
- : defines the search scope.AlfrescoServiceException
- : if network or internal problems occur
during the process.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.