Class DataEngineFindHandler
java.lang.Object
org.odpi.openmetadata.accessservices.dataengine.server.handlers.DataEngineFindHandler
Manages find operations for DataEngine related objects
-
Constructor Summary
ConstructorsConstructorDescriptionDataEngineFindHandler
(InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, OpenMetadataAPIGenericHandler<Referenceable> genericHandler, DataEngineCommonHandler dataEngineCommonHandler, String serviceName, String serverName) Construct the handler information needed to interact with the repository services -
Method Summary
Modifier and TypeMethodDescriptionfind
(FindRequestBody findRequestBody, String userId, String methodName) Performs a find for a DataEngine related object.
-
Constructor Details
-
DataEngineFindHandler
public DataEngineFindHandler(InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, OpenMetadataAPIGenericHandler<Referenceable> genericHandler, DataEngineCommonHandler dataEngineCommonHandler, String serviceName, String serverName) Construct the handler information needed to interact with the repository services- Parameters:
invalidParameterHandler
- handler for managing parameter errorsrepositoryHelper
- provides utilities for manipulating the repository services objectsgenericHandler
- generic handler that provides utilities to manipulate entitiesserviceName
- service nameserverName
- server name
-
-
Method Details
-
find
public GUIDListResponse find(FindRequestBody findRequestBody, String userId, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException, FunctionNotSupportedException, InvalidParameterException, RepositoryErrorException, PropertyErrorException, TypeErrorException, PagingErrorException Performs a find for a DataEngine related object. External repositories are included- Parameters:
userId
- user idfindRequestBody
- contains search criteriamethodName
- method name- Returns:
- a list of guids
- Throws:
InvalidParameterException
- if invalid parametersPropertyServerException
- if errors in repositoryUserNotAuthorizedException
- if user not authorizedFunctionNotSupportedException
- if function not supportedRepositoryErrorException
- if error in repositoryPropertyErrorException
- if a property does not matchTypeErrorException
- if type is unknownPagingErrorException
- if paging is erroneously definedUserNotAuthorizedException
- if user not authorizedInvalidParameterException
- if invalid parameters
-