public interface SearchManager extends Remote
Modifier and Type | Method and Description |
---|---|
NamedValue[] |
executeSelect(NamedValue priTarget,
NamedValue[] auxTargets,
String searchCondition,
String sortCondition,
NamedValue[] bindVals,
NamedValue[] options,
AttributeRequest[] attrReqs)
Executes a search using a prepared selector.
|
int |
executeSelectCount(NamedValue priTarget,
NamedValue[] auxTargets,
String searchCondition,
NamedValue[] bindVals,
NamedValue[] options)
Executes a search to obtain the result count using a prepared selector.
|
NamedValueSet[] |
getProperties()
Returns the property information for the seach properties.
|
NamedValue[] |
search(SearchExpression expr,
NamedValue[] options,
AttributeRequest[] attrReqs)
Performs a search.
|
NamedValue[] search(SearchExpression expr, NamedValue[] options, AttributeRequest[] attrReqs) throws FdkException
expr
- the query expression for the search represented as
a SearchExpressionoptions
- the options for the search:
attrReqs
- the requested attributes for each item, or null.FdkException
- if the operation failsSearchExpression
NamedValueSet[] getProperties() throws FdkException
FdkException
- if the operation failsNamedValue[] executeSelect(NamedValue priTarget, NamedValue[] auxTargets, String searchCondition, String sortCondition, NamedValue[] bindVals, NamedValue[] options, AttributeRequest[] attrReqs) throws FdkException
priTarget
- the primary search targetauxTargets
- the auxiliary search targets (can be null)searchCondition
- the search condition (may include functions)sortCondition
- the sort condition (may include functions)bindVals
- the statement bind valuesoptions
- the search optionsattrReqs
- the requested attributes for each search result
item returned (can be null).Note: Bind Variables must be leveraged at every opportunity to minimize possibility of a SQL injection attack (should unprocessed end-user supplied data be provided to the query).
FdkException
- if the operation fails;int executeSelectCount(NamedValue priTarget, NamedValue[] auxTargets, String searchCondition, NamedValue[] bindVals, NamedValue[] options) throws FdkException
priTarget
- the primary search targetauxTargets
- the auxiliary search targets (can be null)searchCondition
- the search condition (may include functions)bindVals
- the statement bind valuesoptions
- the search optionsNote: Bind Variables must be leveraged at every opportunity to minimize possibility of a SQL injection attack (should unprocessed end-user supplied data be provided to the query).
FdkException
- if the operation fails;Copyright © 2023. All rights reserved.