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.
|
String |
addCombinedSchemaToAsset(String userId,
String assetGUID,
SchemaTypeProperties schemaType,
List<SchemaAttributeProperties> schemaAttributes)
Stores the supplied schema details in the catalog and attaches it to the asset.
|
void |
addConnectionToAsset(String userId,
String assetGUID,
String assetSummary,
Connection connection)
Adds a connection to an asset.
|
String |
addSchemaAttribute(String serverName,
String userId,
String assetGUID,
String parentGUID,
SchemaAttributeProperties schemaAttribute)
Adds an attribute to a complex schema type like a relational table, avro schema or a structured document.
|
void |
addSchemaAttributes(String serverName,
String userId,
String assetGUID,
String parentGUID,
List<SchemaAttributeProperties> schemaAttributes)
Adds attributes to a complex schema type like a relational table, avro schema or a structured document.
|
void |
addSchemaAttributesToSchema(String userId,
String schemaTypeGUID,
List<SchemaAttribute> schemaAttributes)
Deprecated.
|
String |
addSchemaToAsset(String userId,
String assetGUID,
SchemaType schemaType,
List<SchemaAttribute> schemaAttributes)
Deprecated.
|
String |
addSchemaTypeToAsset(String userId,
String assetGUID,
SchemaTypeProperties schemaType)
Stores the supplied schema type in the catalog and attaches it to the asset.
|
void |
attachSchemaTypeToAsset(String userId,
String assetGUID,
String schemaTypeGUID)
Links the supplied schema type directly to the asset.
|
void |
deleteAssetSchemaType(String userId,
String assetGUID)
Detaches and deletes an asset's schema.
|
String |
detachSchemaTypeFromAsset(String userId,
String assetGUID)
Unlinks the schema from the asset but does not delete it.
|
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 addCombinedSchemaToAsset(String userId, String assetGUID, SchemaTypeProperties schemaType, List<SchemaAttributeProperties> schemaAttributes) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toschemaType - schema type to create and attach directly to the asset.schemaAttributes - optional schema attributes.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemString addSchemaTypeToAsset(String userId, String assetGUID, SchemaTypeProperties schemaType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toschemaType - schema type to create and attach directly to the asset.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid attachSchemaTypeToAsset(String userId, String assetGUID, String schemaTypeGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toschemaTypeGUID - unique identifier of the schema type to attachInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemString detachSchemaTypeFromAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid deleteAssetSchemaType(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid addSchemaAttributes(String serverName, String userId, String assetGUID, String parentGUID, List<SchemaAttributeProperties> schemaAttributes) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
serverName - name of the server instance to connect touserId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toparentGUID - unique identifier of the schema element to anchor these attributes to.schemaAttributes - list of schema attribute objects.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemString addSchemaAttribute(String serverName, String userId, String assetGUID, String parentGUID, SchemaAttributeProperties schemaAttribute) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
serverName - name of the server instance to connect touserId - calling userassetGUID - unique identifier of the asset that the schema is to be attached toparentGUID - unique identifier of the schema element to anchor these attributes to.schemaAttribute - schema attribute object to add the the schema.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problem@Deprecated String 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 problem@Deprecated void 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.