public interface BrokerQueryService
| Modifier and Type | Method and Description |
|---|---|
BrokerQueryResult |
executeQuery(BrokerQueryConstructor queryConstructor,
BrokerResultFilter resultFilter)
This executes the actual broker query based on the constructed query and resultFilter.
|
BrokerQueryResult |
executeQuery(String selectField,
BrokerCriteria criteria,
BrokerSorting sorting,
BrokerResultFilter resultFilter)
This executes the actual broker query based on the given criteria, sorting and filter.
|
BrokerQueryConstructor |
generateQuery(String selectField,
BrokerCriteria criteria,
BrokerSorting sorting)
This generates the main broker query needed to execute the JPQL query.
|
String |
getStorageId()
Returns the storageId that the queryService will query.
|
BrokerQueryResult executeQuery(String selectField, BrokerCriteria criteria, BrokerSorting sorting, BrokerResultFilter resultFilter) throws com.tridion.broker.StorageException
selectField - The default query field to selectcriteria - The criteria to use for the broker querysorting - The sort conditions to applyresultFilter - The filter to apply to the end resultscom.tridion.broker.StorageException - If unable to execute the broker queryBrokerQueryResult executeQuery(BrokerQueryConstructor queryConstructor, BrokerResultFilter resultFilter) throws com.tridion.broker.StorageException
queryConstructor - The constructed QueryresultFilter - The filter to apply to the end resultscom.tridion.broker.StorageException - If unable to execute the broker queryBrokerQueryConstructor generateQuery(String selectField, BrokerCriteria criteria, BrokerSorting sorting) throws com.tridion.broker.StorageException
selectField - The selected fieldcriteria - The criteria to use for the broker querysorting - The sorting to apply to the query resultscom.tridion.broker.StorageException - If unable to generate a broker queryString getStorageId()
Copyright © 2016 SDL Group. All rights reserved.