Class CommonHandler
java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.handlers.CommonHandler
Common Handler supports the lookup types and metadata collection.
These methods are used in the multiple handlers.
It runs on the server-side of the Asset Catalog OMAS, fetches the types, metadata collection using the RepositoryHandler.
-
Method Summary
Modifier and TypeMethodDescriptiongetTypeDefGUID
(String userId, String typeDefName) Returns the global identifier of the type using the type def nameboolean
hasDisplayName
(String userId, String typeDefGUID) Checks against the type's list of properties if it has a display name property
-
Method Details
-
getTypeDefGUID
Returns the global identifier of the type using the type def name- Parameters:
userId
- user identifier that issues the calltypeDefName
- the type definition name- Returns:
- the global identifier of the type
-
hasDisplayName
Checks against the type's list of properties if it has a display name property- Parameters:
userId
- the user idtypeDefGUID
- the type definition unique identifier- Returns:
- if the given type has a display name property
- Throws:
InvalidParameterException
- the invalid parameter exception
-