Modifier and Type | Method and Description |
---|---|
static SortInfo |
SortInfo.asSortInfo(Map<String,Serializable> map)
Returns a sort info for given map, or null if map is null or does not contain both keys
SORT_COLUMN_NAME
and SORT_ASCENDING_NAME . |
Modifier and Type | Method and Description |
---|---|
static Map<String,Serializable> |
SortInfo.asMap(SortInfo sortInfo)
Returns a map for given sort info, or null if sort info is null.
|
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
DocumentHistoryPageProvider.getSortInfos() |
Modifier and Type | Method and Description |
---|---|
SortInfo |
ContentHistoryActions.getSortInfo() |
Modifier and Type | Method and Description |
---|---|
SortInfo |
ContentHistoryActionsBean.getSortInfo() |
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
ContentViewStateImpl.getSortInfos() |
List<SortInfo> |
ContentViewState.getSortInfos() |
Modifier and Type | Method and Description |
---|---|
PageProvider<?> |
ContentViewImpl.getPageProvider(DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Object... params)
Returns cached page provider if it exists or build a new one if parameters have changed.
|
PageProvider<?> |
ContentView.getPageProvider(DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Object... params)
Gets page provider according to given parameters
|
PageProvider<?> |
ContentViewServiceImpl.getPageProvider(String name,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
DocumentModel searchDocument,
Object... parameters) |
PageProvider<?> |
ContentViewService.getPageProvider(String contentViewName,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
DocumentModel searchDocument,
Object... parameters)
Returns the page provider computed from the content view with given name.
|
void |
ContentViewStateImpl.setSortInfos(List<SortInfo> sortInfos) |
void |
ContentViewState.setSortInfos(List<SortInfo> sortInfos) |
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
ContentViewRestActions.getSortInfos(String sortColumn,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage) |
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel,
List<SortInfo> sortInfos,
Long defaultPageSize,
Long pageSize,
Long currentPage) |
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Object... params) |
ContentView |
ContentViewRestActions.restoreContentView(String contentViewName,
Long currentPage,
Long pageSize,
List<SortInfo> sortInfos,
String jsonContentViewState) |
ContentView |
ContentViewActions.restoreContentView(String contentViewName,
Long currentPage,
Long pageSize,
List<SortInfo> sortInfos,
String jsonContentViewState)
Restore a content view from the given parameters.
|
Modifier and Type | Method and Description |
---|---|
SortInfo |
PageProvider.getSortInfo()
Returns the first sorting info for this provider
|
SortInfo |
AbstractPageProvider.getSortInfo() |
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
PageProviderDefinition.getSortInfos() |
List<SortInfo> |
PageProvider.getSortInfos()
Returns the complete list of sorting info for this provider
|
List<SortInfo> |
AbstractPageProvider.getSortInfos() |
Modifier and Type | Method and Description |
---|---|
void |
PageProvider.setSortInfo(SortInfo sortInfo)
Sets the first and only sorting info for this provider.
|
void |
AbstractPageProvider.setSortInfo(SortInfo sortInfo) |
Modifier and Type | Method and Description |
---|---|
PageProvider<?> |
PageProviderService.getPageProvider(String name,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Returns an instance of page provider with given name.
|
PageProvider<?> |
PageProviderService.getPageProvider(String name,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Returns an instance of page provider with given name.
|
PageProvider<?> |
PageProviderService.getPageProvider(String name,
PageProviderDefinition desc,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Returns an instance of page provider with given name and definition.
|
PageProvider<?> |
PageProviderService.getPageProvider(String name,
PageProviderDefinition desc,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Deprecated.
since 5.7: use
PageProviderService.getPageProvider(String, PageProviderDefinition, DocumentModel, List, Long, Long, Map, Object...)
with search document model as additional parameter |
void |
PageProvider.setSortInfos(List<SortInfo> sortInfo)
Sets the complete list of sorting info for this provider
|
void |
AbstractPageProvider.setSortInfos(List<SortInfo> sortInfo) |
Modifier and Type | Method and Description |
---|---|
SortInfo |
SortInfoDescriptor.getSortInfo() |
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
BasePageProviderDescriptor.getSortInfos() |
Modifier and Type | Method and Description |
---|---|
PageProvider<?> |
PageProviderServiceImpl.getPageProvider(String name,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters) |
PageProvider<?> |
PageProviderServiceImpl.getPageProvider(String name,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters) |
PageProvider<?> |
PageProviderServiceImpl.getPageProvider(String name,
PageProviderDefinition desc,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters) |
PageProvider<?> |
PageProviderServiceImpl.getPageProvider(String name,
PageProviderDefinition desc,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
NXQLQueryBuilder.getQuery(DocumentModel model,
WhereClauseDefinition whereClause,
Object[] params,
SortInfo... sortInfos) |
static String |
NXQLQueryBuilder.getQuery(String pattern,
Object[] params,
boolean quoteParameters,
boolean escape,
DocumentModel searchDocumentModel,
SortInfo... sortInfos) |
static String |
NXQLQueryBuilder.getSortClause(SortInfo... sortInfos) |
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskProvider.getCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
List<Task> |
TaskProvider.getCurrentTaskInstances(List<String> actors,
CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskServiceImpl.getCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
List<Task> |
DocumentTaskProvider.getCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
DocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
List<Task> |
TaskServiceImpl.getCurrentTaskInstances(List<String> actors,
CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
List<Task> |
DocumentTaskProvider.getCurrentTaskInstances(List<String> actors,
CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
DocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
static List<Task> |
DocumentTaskProvider.getTasks(String pageProviderName,
CoreSession session,
boolean unrestricted,
List<SortInfo> sortInfos,
Object... params) |
Modifier and Type | Method and Description |
---|---|
SortInfo |
DocumentSearchActions.getNewSortInfo()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
DocumentSearchActions.getSearchSortInfos()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentSearchActions.setSearchSortInfos(List<SortInfo> searchSortInfos)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
ElasticSearchComponent.query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
DocumentModelList |
ElasticSearchComponent.query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
ElasticSearchService.query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
since 6.0, use query with NxQueryBuilder
|
DocumentModelList |
ElasticSearchService.query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
since 6.0, use query with NxQueryBuilder
|
Modifier and Type | Method and Description |
---|---|
List<SortInfo> |
ESAuditPageProvider.getSortInfos() |
List<SortInfo> |
ESDocumentHistoryPageProvider.getSortInfos() |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
ElasticSearchServiceImpl.query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
DocumentModelList |
ElasticSearchServiceImpl.query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static List<SortInfo> |
NxqlQueryConverter.getSortInfo(String nxql) |
List<SortInfo> |
NxQueryBuilder.getSortInfos() |
Modifier and Type | Method and Description |
---|---|
NxQueryBuilder |
NxQueryBuilder.addSort(SortInfo sortInfo) |
NxQueryBuilder |
NxQueryBuilder.addSort(SortInfo[] sortInfos) |
Copyright © 2015 Nuxeo SA. All rights reserved.