public interface SearchUIService
Modifier and Type | Method and Description |
---|---|
List<ContentViewHeader> |
getContentViewHeaders(ActionContext actionContext)
Returns the list of Content view headers associated to a search.
|
List<ContentViewHeader> |
getContentViewHeaders(ActionContext actionContext,
DocumentModel doc)
Returns the list of Content view headers associated to a search and depending of a local configuration.
|
List<DocumentModel> |
getCurrentUserSavedSearches(CoreSession session)
Returns the current user saved searches, located into its own user workspace.
|
List<DocumentModel> |
getSharedSavedSearches(CoreSession session)
Returns all the accessible saved searches except the ones for the current user.
|
DocumentModel |
saveSearch(CoreSession session,
ContentView searchContentView,
String title)
Save the current search in the user workspace with the given title.
|
List<ContentViewHeader> getContentViewHeaders(ActionContext actionContext)
List<ContentViewHeader> getContentViewHeaders(ActionContext actionContext, DocumentModel doc)
DocumentModel saveSearch(CoreSession session, ContentView searchContentView, String title) throws ClientException
session
- the CoreSession
to usesearchContentView
- the search to savetitle
- the title of the being saved searchClientException
List<DocumentModel> getCurrentUserSavedSearches(CoreSession session) throws ClientException
ClientException
List<DocumentModel> getSharedSavedSearches(CoreSession session) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.