Class CommonHandler
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetcatalog.handlers.CommonHandler
-
public class CommonHandler extends Object
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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringZONE_MEMBERSHIP
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTypeDefGUID(String userId, String typeDefName)Returns the global identifier of the type using the type def namebooleanhasDisplayName(String userId, String typeDefGUID)
-
-
-
Field Detail
-
ZONE_MEMBERSHIP
public static final String ZONE_MEMBERSHIP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeDefGUID
public String getTypeDefGUID(String userId, String typeDefName)
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
public boolean hasDisplayName(String userId, String typeDefGUID) throws InvalidParameterException
- Throws:
InvalidParameterException
-
-