Interface InternalSearchService
- All Known Implementing Classes:
InternalSearchServiceImpl
Deprecated.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.static class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDefaultOrdering
(Query qu, @Nullable InternalSearchService.OrderItem[] order, String entityName, @Nullable FormIdentifier formIdentifier) Deprecated.Applies the given order if any (usingapplyOrderItems(Query, OrderItem[], String, FormIdentifier)
, otherwise sorts by last mod if the entity supports it, otherwise by default entity sorting rule.void
applyOrderItems
(Query query, @Nullable InternalSearchService.OrderItem[] order, String entityName, @Nullable FormIdentifier formIdentifier) Deprecated.For convenience, iforder
isnull
this method just returns.createSearchQuery
(SearchRequest request) Deprecated.createSearchQueryString
(SearchRequest request) Deprecated.getEntityList
(String entityName, String[] pks, @Nullable InternalSearchService.OrderItem[] order, SearchService.SearchParameters searchParameters) Deprecated.Loads an EntityList based on a list of PKs.queryForRelation
(String entityName, RelatedToInfo relatedTo, @Nullable InternalSearchService.OrderItem[] order) Deprecated.
-
Method Details
-
applyOrderItems
void applyOrderItems(Query query, @Nullable @Nullable InternalSearchService.OrderItem[] order, String entityName, @Nullable @Nullable FormIdentifier formIdentifier) throws PersistException Deprecated.For convenience, iforder
isnull
this method just returns. If not, the order items are applied to the query.- Throws:
PersistException
-
createSearchQueryString
String createSearchQueryString(SearchRequest request) throws RpcExecutionException, PersistException Deprecated. -
createSearchQuery
Deprecated. -
applyDefaultOrdering
void applyDefaultOrdering(Query qu, @Nullable @Nullable InternalSearchService.OrderItem[] order, String entityName, @Nullable @Nullable FormIdentifier formIdentifier) throws PersistException Deprecated.Applies the given order if any (usingapplyOrderItems(Query, OrderItem[], String, FormIdentifier)
, otherwise sorts by last mod if the entity supports it, otherwise by default entity sorting rule.- Throws:
PersistException
-
getEntityList
EntityListResult getEntityList(String entityName, String[] pks, @Nullable @Nullable InternalSearchService.OrderItem[] order, SearchService.SearchParameters searchParameters) Deprecated.Loads an EntityList based on a list of PKs.- Parameters:
pks
- May be empty.- Returns:
- The entities are ordered the same way as the pks.
-
queryForRelation
RelationQuery queryForRelation(String entityName, RelatedToInfo relatedTo, @Nullable @Nullable InternalSearchService.OrderItem[] order) throws PersistException Deprecated.- Throws:
PersistException
-