Interface AssetKnowledgeInterface
-
- All Known Implementing Classes:
AssetOwner
,AvroFileAssetOwner
,CSVFileAssetOwner
,FileSystemAssetOwner
,ValidValuesAssetOwner
public interface AssetKnowledgeInterface
AssetKnowledgeInterface provides basic information about the types of access supported in the open metadata ecosystem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getTypesOfAsset(java.lang.String userId)
Return the asset subtype names.java.util.Map<java.lang.String,java.lang.String>
getTypesOfAssetWithDescriptions(java.lang.String userId)
Return the asset subtype names mapped to their descriptions.
-
-
-
Method Detail
-
getTypesOfAsset
java.util.List<java.lang.String> getTypesOfAsset(java.lang.String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the asset subtype names.- Parameters:
userId
- calling user- Returns:
- list of type names that are subtypes of asset
- Throws:
InvalidParameterException
- full path or userId is nullPropertyServerException
- problem accessing property serverUserNotAuthorizedException
- security access problem
-
getTypesOfAssetWithDescriptions
java.util.Map<java.lang.String,java.lang.String> getTypesOfAssetWithDescriptions(java.lang.String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the asset subtype names mapped to their descriptions.- Parameters:
userId
- calling user- Returns:
- list of type names that are subtypes of asset mapped to their descriptions
- Throws:
InvalidParameterException
- full path or userId is nullPropertyServerException
- problem accessing property serverUserNotAuthorizedException
- security access problem
-
-