public interface FacetedSearchService
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
Set<String> |
getContentViewNames()
Returns the list of Content view names associated to a Faceted Search.
|
Set<String> |
getContentViewNames(DocumentModel doc)
Returns the list of Content view names associated to a Faceted Search and depending of a local configuration.
|
List<DocumentModel> |
getCurrentUserSavedSearches(CoreSession session)
Returns the current user saved Faceted Searches, located into its own user workspace.
|
List<DocumentModel> |
getOtherUsersSavedSearches(CoreSession session)
Returns all the accessible saved Faceted Searches except the ones for the current user.
|
DocumentModel |
saveSearch(CoreSession session,
ContentView facetedSearchContentView,
String title)
Save the current Faceted search in the user workspace with the given title.
|
Set<String> getContentViewNames() throws ClientException
ClientException
- in case of any errorSet<String> getContentViewNames(DocumentModel doc) throws ClientException
doc
- corresponds to current navigation context, to try to get some local configuration of a parent.ClientException
- in case of any errorDocumentModel saveSearch(CoreSession session, ContentView facetedSearchContentView, String title) throws ClientException
session
- the CoreSession
to usefacetedSearchContentView
- the Faceted Search to savetitle
- the title of the being saved Faceted SearchClientException
- in case of any error during the saveList<DocumentModel> getCurrentUserSavedSearches(CoreSession session) throws ClientException
session
- the CoreSession
to useClientException
- in case of any errorList<DocumentModel> getOtherUsersSavedSearches(CoreSession session) throws ClientException
session
- the CoreSession
to useClientException
- in case of any errorConfiguration getConfiguration()
Copyright © 2015 Nuxeo SA. All rights reserved.