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.
|
ContentViewState |
loadSearch(DocumentModel savedSearch)
Load the content view state for a given saved search.
|
DocumentModel |
saveSearch(CoreSession session,
ContentViewState searchContentViewState,
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, ContentViewState searchContentViewState, String title)
session
- the CoreSession
to usesearchContentViewState
- the search to savetitle
- the title of the being saved searchList<DocumentModel> getCurrentUserSavedSearches(CoreSession session)
List<DocumentModel> getSharedSavedSearches(CoreSession session)
ContentViewState loadSearch(DocumentModel savedSearch)
Copyright © 2018 Nuxeo. All rights reserved.