public class AssetOwner extends ConnectedAssetClientBase implements AssetKnowledgeInterface, AssetOnboardingInterface, AssetClassificationInterface, AssetReviewInterface, AssetDecommissioningInterface, AssetDuplicateManagementInterface
| Modifier and Type | Field and Description |
|---|---|
protected AssetOwnerRESTClient |
restClient |
auditLog, invalidParameterHandler, nullRequestBody, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
AssetOwner(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
AssetOwner(String serverName,
String serverPlatformURLRoot,
AssetOwnerRESTClient restClient,
int maxPageSize,
AuditLog auditLog)
Create a new client that is going to be used in an OMAG Server (view service or integration service typically).
|
AssetOwner(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
AssetOwner(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
AssetOwner(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAssetOrigin(String userId,
String assetGUID,
String organizationGUID,
String businessCapabilityGUID,
Map<String,String> otherOriginValues)
Add the asset origin classification to an asset.
|
String |
addAssetToCatalog(String userId,
AssetProperties assetProperties)
Add a comprehensive asset description to the catalog.
|
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 |
addAssetToCatalogUsingTemplate(String userId,
String templateGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent an asset using an existing asset as a template.
|
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 a schema 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.
|
String |
addSchemaTypeToAsset(String userId,
String assetGUID,
SchemaTypeProperties schemaType)
Stores the supplied schema type in the catalog and attaches it to the asset.
|
void |
addSecurityTags(String userId,
String assetGUID,
String assetElementGUID,
List<String> securityLabels,
Map<String,Object> securityProperties)
Add or replace the security tags for an asset or one of its elements.
|
void |
addSemanticAssignment(String userId,
String assetGUID,
String glossaryTermGUID,
String assetElementGUID)
Create a simple relationship between a glossary term and an element in an Asset description (typically
a field in the schema).
|
void |
addTemplateClassification(String userId,
String assetGUID,
String name,
String description,
Map<String,String> additionalProperties)
Classify an asset as suitable to be used as a template for cataloguing assets of a similar types.
|
void |
attachSchemaTypeToAsset(String userId,
String assetGUID,
String schemaTypeGUID)
Links the supplied schema type directly to the asset.
|
void |
deleteAsset(String userId,
String assetGUID)
Deletes an asset and all of its associated elements such as schema, connections (unless they are linked to
another asset), discovery reports and associated feedback.
|
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.
|
List<AssetElement> |
findAssets(String userId,
String searchString,
int startFrom,
int pageSize)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
AssetUniverse |
getAssetProperties(String userId,
String assetGUID)
Returns a comprehensive collection of properties about the requested asset.
|
List<AssetElement> |
getAssetsByName(String userId,
String name,
int startFrom,
int pageSize)
Return a list of assets with the requested name.
|
AssetElement |
getAssetSummary(String userId,
String assetGUID)
Return the basic attributes of an asset.
|
Connector |
getConnectorToAsset(String userId,
String assetGUID)
Return a connector for the asset to enable the calling user to access the content.
|
List<DiscoveryAnalysisReport> |
getDiscoveryAnalysisReports(String userId,
String assetGUID,
int startingFrom,
int maximumResults)
Return the discovery analysis reports about the asset.
|
List<Annotation> |
getDiscoveryReportAnnotations(String userId,
String discoveryReportGUID,
AnnotationStatus annotationStatus,
int startingFrom,
int maximumResults)
Return the annotations linked directly to the report.
|
List<Annotation> |
getExtendedAnnotations(String userId,
String annotationGUID,
AnnotationStatus annotationStatus,
int startingFrom,
int maximumResults)
Return any annotations attached to this annotation.
|
List<String> |
getTypesOfAnnotation(String userId)
Return the annotation subtype names.
|
Map<String,String> |
getTypesOfAnnotationWithDescriptions(String userId)
Return the annotation subtype names mapped to their descriptions.
|
List<String> |
getTypesOfAsset(String userId)
Return the asset subtype names.
|
Map<String,String> |
getTypesOfAssetWithDescriptions(String userId)
Return the asset subtype names.
|
void |
linkElementsAsDuplicates(String userId,
String element1GUID,
String element2GUID)
Create a simple relationship between two elements in an Asset description (typically the asset itself or
attributes in their schema).
|
void |
publishAsset(String userId,
String assetGUID)
Update the zones for a specific asset to the zone list specified in the publishZones.
|
void |
removeAssetOrigin(String userId,
String assetGUID)
Remove the asset origin classification to an asset.
|
void |
removeSecurityTags(String userId,
String assetGUID,
String assetElementGUID)
Remove the security tags classification to an asset or one of its elements.
|
void |
removeSemanticAssignment(String userId,
String assetGUID,
String glossaryTermGUID,
String assetElementGUID)
Remove the relationship between a glossary term and an element in an Asset description (typically
a field in the schema).
|
void |
removeTemplateClassification(String userId,
String assetGUID)
Remove the classification that indicates that this asset can be used as a template.
|
void |
unlinkElementsAsDuplicates(String userId,
String element1GUID,
String element2GUID)
Remove the relationship between two elements that marks them as duplicates.
|
void |
updateAssetOwner(String userId,
String assetGUID,
String ownerId,
OwnerType ownerType)
Update the owner information for a specific asset.
|
void |
updateAssetZones(String userId,
String assetGUID,
List<String> assetZones)
Update the zones for a specific asset.
|
void |
withdrawAsset(String userId,
String assetGUID)
Update the zones for a specific asset to the zone list specified in the defaultZones.
|
getAssetForConnection, getAssetProperties, getAssetSummary, getConnectionByGUID, getConnectionByName, getConnectionForAsset, getConnectorForConnectionprotected AssetOwnerRESTClient restClient
public AssetOwner(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public AssetOwner(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public AssetOwner(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public AssetOwner(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public AssetOwner(String serverName, String serverPlatformURLRoot, AssetOwnerRESTClient restClient, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversrestClient - client that issues the REST API callsmaxPageSize - maximum number of results supported by this serverauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public List<String> getTypesOfAsset(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getTypesOfAsset in interface AssetKnowledgeInterfaceuserId - calling userInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic Map<String,String> getTypesOfAssetWithDescriptions(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getTypesOfAssetWithDescriptions in interface AssetKnowledgeInterfaceuserId - calling userInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String addAssetToCatalog(String userId, String typeName, String qualifiedName, String displayName, String description, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addAssetToCatalog in interface AssetOnboardingInterfaceuserId - 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 catalogInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String addAssetToCatalog(String userId, AssetProperties assetProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addAssetToCatalog in interface AssetOnboardingInterfaceuserId - calling userassetProperties - properties for the assetInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String addAssetToCatalogUsingTemplate(String userId, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addAssetToCatalogUsingTemplate in interface AssetOnboardingInterfaceuserId - calling usertemplateGUID - unique identifier of the metadata element to copytemplateProperties - properties that override the templateInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public String addCombinedSchemaToAsset(String userId, String assetGUID, SchemaTypeProperties schemaType, List<SchemaAttributeProperties> schemaAttributes) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addCombinedSchemaToAsset in interface AssetOnboardingInterfaceuserId - 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 problempublic String addSchemaTypeToAsset(String userId, String assetGUID, SchemaTypeProperties schemaType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addSchemaTypeToAsset in interface AssetOnboardingInterfaceuserId - 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 problempublic void attachSchemaTypeToAsset(String userId, String assetGUID, String schemaTypeGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
attachSchemaTypeToAsset in interface AssetOnboardingInterfaceuserId - 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 problempublic String detachSchemaTypeFromAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
detachSchemaTypeFromAsset in interface AssetOnboardingInterfaceuserId - 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 problempublic void deleteAssetSchemaType(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
deleteAssetSchemaType in interface AssetOnboardingInterfaceuserId - 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 problempublic void addSchemaAttributes(String serverName, String userId, String assetGUID, String parentGUID, List<SchemaAttributeProperties> schemaAttributes) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addSchemaAttributes in interface AssetOnboardingInterfaceserverName - 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 problempublic String addSchemaAttribute(String serverName, String userId, String assetGUID, String parentGUID, SchemaAttributeProperties schemaAttribute) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addSchemaAttribute in interface AssetOnboardingInterfaceserverName - 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.InvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addConnectionToAsset(String userId, String assetGUID, String assetSummary, Connection connection) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addConnectionToAsset in interface AssetOnboardingInterfaceuserId - 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 problempublic void addSemanticAssignment(String userId, String assetGUID, String glossaryTermGUID, String assetElementGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addSemanticAssignment in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of assetglossaryTermGUID - unique identifier of the glossary termassetElementGUID - element to link it to - its type must inherit from Referenceable.
If null then the assetGUID is used.InvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeSemanticAssignment(String userId, String assetGUID, String glossaryTermGUID, String assetElementGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeSemanticAssignment in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of assetglossaryTermGUID - unique identifier of the glossary termassetElementGUID - element to link it to - its type must inherit from Referenceable.
If null then the assetGUID is used.InvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addAssetOrigin(String userId, String assetGUID, String organizationGUID, String businessCapabilityGUID, Map<String,String> otherOriginValues) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addAssetOrigin in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of assetorganizationGUID - Unique identifier (GUID) of the organization where this asset originated from - or nullbusinessCapabilityGUID - Unique identifier (GUID) of the business capability where this asset originated from.otherOriginValues - Descriptive labels describing origin of the assetInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeAssetOrigin(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeAssetOrigin in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of assetInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void publishAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
publishAsset in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier for the asset to updateInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void withdrawAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
withdrawAsset in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier for the asset to updateInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateAssetZones(String userId, String assetGUID, List<String> assetZones) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateAssetZones in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier for the asset to updateassetZones - list of zones for the asset - these values override the current values - null means belongs
to no zones.InvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateAssetOwner(String userId, String assetGUID, String ownerId, OwnerType ownerType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateAssetOwner in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier for the asset to updateownerId - userId or profileGUID of the owner - or null to clear the fieldownerType - indicator of the type of Id provides above - or null to clear the fieldInvalidParameterException - userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addSecurityTags(String userId, String assetGUID, String assetElementGUID, List<String> securityLabels, Map<String,Object> securityProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addSecurityTags in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of assetassetElementGUID - element to link it to - its type must inherit from Referenceable.
If null then the assetGUID is used.securityLabels - list of security labels defining the security characteristics of the elementsecurityProperties - Descriptive labels describing origin of the assetInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeSecurityTags(String userId, String assetGUID, String assetElementGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeSecurityTags in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of assetassetElementGUID - element where the security tags need to be removed.
If null then the assetGUID is used.InvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addTemplateClassification(String userId, String assetGUID, String name, String description, Map<String,String> additionalProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addTemplateClassification in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of the asset to classifyname - name of the templatedescription - description of when, where and how to use the templateadditionalProperties - any additional propertiesInvalidParameterException - asset or element not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeTemplateClassification(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeTemplateClassification in interface AssetClassificationInterfaceuserId - calling userassetGUID - unique identifier of the asset to declassifyInvalidParameterException - asset or element not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<AssetElement> getAssetsByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getAssetsByName in interface AssetReviewInterfaceuserId - calling username - name to search forstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnInvalidParameterException - the name is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic List<AssetElement> findAssets(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
findAssets in interface AssetReviewInterfaceuserId - calling usersearchString - string to search for in textstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnInvalidParameterException - the searchString is invalidPropertyServerException - there is a problem access in the property serverUserNotAuthorizedException - the user does not have access to the propertiespublic AssetElement getAssetSummary(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getAssetSummary in interface AssetReviewInterfaceuserId - calling userassetGUID - unique identifier of the assetInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.public AssetUniverse getAssetProperties(String userId, String assetGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getAssetProperties in interface AssetReviewInterfaceuserId - userId of user making request.assetGUID - unique identifier for asset.InvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving the asset properties from the property servers).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public Connector getConnectorToAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getConnectorToAsset in interface AssetReviewInterfaceuserId - calling userassetGUID - unique identifier of the assetInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.public List<DiscoveryAnalysisReport> getDiscoveryAnalysisReports(String userId, String assetGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getDiscoveryAnalysisReports in interface AssetReviewInterfaceuserId - calling userassetGUID - unique identifier of the assetstartingFrom - position in the list (used when there are so many reports that paging is neededmaximumResults - maximum number of elements to return an this callInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.public List<String> getTypesOfAnnotation(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getTypesOfAnnotation in interface AssetReviewInterfaceuserId - calling userInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic Map<String,String> getTypesOfAnnotationWithDescriptions(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getTypesOfAnnotationWithDescriptions in interface AssetReviewInterfaceuserId - calling userInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<Annotation> getDiscoveryReportAnnotations(String userId, String discoveryReportGUID, AnnotationStatus annotationStatus, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getDiscoveryReportAnnotations in interface AssetReviewInterfaceuserId - identifier of calling userdiscoveryReportGUID - identifier of the discovery request.annotationStatus - status of the desired annotations - null means all statuses.startingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.public List<Annotation> getExtendedAnnotations(String userId, String annotationGUID, AnnotationStatus annotationStatus, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getExtendedAnnotations in interface AssetReviewInterfaceuserId - identifier of calling userannotationGUID - anchor annotationannotationStatus - status of the desired annotations - null means all statuses.startingFrom - starting position in the listmaximumResults - maximum number of annotations that can be returned.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem that occurred within the property server.public void deleteAsset(String userId, String assetGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
deleteAsset in interface AssetDecommissioningInterfaceuserId - calling userassetGUID - unique identifier of the attest to attach the connection toInvalidParameterException - full path or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void linkElementsAsDuplicates(String userId, String element1GUID, String element2GUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
linkElementsAsDuplicates in interface AssetDuplicateManagementInterfaceuserId - calling userelement1GUID - unique identifier of first elementelement2GUID - unique identifier of second elementInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void unlinkElementsAsDuplicates(String userId, String element1GUID, String element2GUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
unlinkElementsAsDuplicates in interface AssetDuplicateManagementInterfaceuserId - calling userelement1GUID - unique identifier of first elementelement2GUID - unique identifier of second elementInvalidParameterException - one of the parameters is null or invalid or the elements are not linked as duplicatesPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.