public interface AssetOnboardingInterface
| Modifier and Type | Method and Description |
|---|---|
String |
addAssetToCatalog(String userId,
String typeName,
String qualifiedName,
String displayName,
String description,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties)
Add a simple asset description to the catalog.
|
void |
addConnectionToAsset(String userId,
String assetGUID,
String assetSummary,
Connection connection)
Adds a connection to an asset.
|
void |
addSchemaAttributesToSchema(String userId,
String schemaTypeGUID,
List<SchemaAttribute> schemaAttributes)
Adds attributes to a complex schema type like a relational table or a structured document.
|
String |
addSchemaToAsset(String userId,
String assetGUID,
SchemaType schemaType,
List<SchemaAttribute> schemaAttributes)
Links the supplied schema to the asset.
|
String addAssetToCatalog(String userId, String typeName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user (assumed to be the owner)typeName - specific type of the asset - this must match a defined subtypequalifiedName - unique name for the asset in the catalogdisplayName - display name for the asset in the catalogdescription - description of the asset in the catalogadditionalProperties - additional properties added by the callerextendedProperties - properties from the subtypesInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemString addSchemaToAsset(String userId, String assetGUID, SchemaType schemaType, List<SchemaAttribute> schemaAttributes) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toschemaType - schema to attachschemaAttributes - list of schema attribute objects.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid addSchemaAttributesToSchema(String userId, String schemaTypeGUID, List<SchemaAttribute> schemaAttributes) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userschemaTypeGUID - unique identifier if the schema to anchor these attributes to.schemaAttributes - list of schema attribute objects.InvalidParameterException - userId or schemaTypeGUID is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid addConnectionToAsset(String userId, String assetGUID, String assetSummary, Connection connection) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the attest to attach the connection toassetSummary - summary of the asset that is stored in the relationship between the asset and the connection.connection - connection object. If the connection is already stored (matching guid)
then the existing connection is used.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2020 ODPi. All rights reserved.