Package oracle.iam.platformservice.api
Interface LookupQueryService
public interface LookupQueryService
Service interface to query admin roles defined in an OIM installation and
manage scoped user memberships in these roles.
-
Method Summary
Modifier and TypeMethodDescriptionReturns dependent attribute values in the query but does not return values for type Form Data supported types: REQUESTER_INFORMATION, RESOURCE_OBJECT_INFORMATION, ORGANIZATION_DATA FORM_DATA type needs to be handled in the client/UI layergetQueryElements
(String attrName, String entityType) Returns various elements of the lookup query for attrname Keys in the map: SAVE_COLUMN, DISPLAY_COLUMN, QUERY_ATTRS, RESULTS_TABLE_ATTRSgetResults
(String attrName, String entityType, List<SearchCriteria> queryValues, Map<String, Object> dependentAttrValues, Map<String, Object> controls) Returns the results after executing the query
-
Method Details
-
getQueryElements
Returns various elements of the lookup query for attrname Keys in the map: SAVE_COLUMN, DISPLAY_COLUMN, QUERY_ATTRS, RESULTS_TABLE_ATTRS- Returns:
- map containing various query elements.
-
getResults
List<Map<String,Object>> getResults(String attrName, String entityType, List<SearchCriteria> queryValues, Map<String, Object> dependentAttrValues, Map<String, Object> controls) Returns the results after executing the query- Parameters:
queryValues
- values specified in the QUERy on the UI in the form of single, un-nested searchcriteriadependentAttrValues
- contains values from the form fields, as well as other contxtual attributescontrols
- other search controls like for sorting, paging- Returns:
- results of query execution
-
getDependantAttrValuesExceptFormData
Map<String,Object> getDependantAttrValuesExceptFormData(String attrName, String entityType, Map<String, String> params) Returns dependent attribute values in the query but does not return values for type Form Data supported types: REQUESTER_INFORMATION, RESOURCE_OBJECT_INFORMATION, ORGANIZATION_DATA FORM_DATA type needs to be handled in the client/UI layer- Parameters:
attrName
- values specified in the QUERy on the UI in the form of single, un-nested searchcriteriaentityType
- contains values from the form fields, as well as other contxtual attributesparams
- Other context details like objectkey "OBJECT_KEY" for RESOURCE_OBJECT_INFORMATION- Returns:
- Map with values replaced for dependent attributes except for FORM_DATA
-