Class AssetOwner
java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
org.odpi.openmetadata.accessservices.assetowner.client.AssetOwnerBaseClient
org.odpi.openmetadata.accessservices.assetowner.client.AssetOwner
- All Implemented Interfaces:
org.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface,org.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface,org.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface,org.odpi.openmetadata.accessservices.assetowner.api.AssetDecommissioningInterface,org.odpi.openmetadata.accessservices.assetowner.api.AssetKnowledgeInterface,org.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface,org.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface,org.odpi.openmetadata.accessservices.assetowner.api.RelatedElementsManagementInterface,org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.api.ConnectorFactoryInterface
- Direct Known Subclasses:
AvroFileAssetOwner,CSVFileAssetOwner,FileSystemAssetOwner,ValidValuesAssetOwner
public class AssetOwner
extends AssetOwnerBaseClient
implements org.odpi.openmetadata.accessservices.assetowner.api.AssetKnowledgeInterface, org.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface, org.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface, org.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface, org.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface, org.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface, org.odpi.openmetadata.accessservices.assetowner.api.AssetDecommissioningInterface
AssetOwner provides the generic client-side interface for the Asset Owner Open Metadata Access Service (OMAS).
There are other clients that provide specialized methods for specific types of Asset.
This client is initialized with the URL and name of the server that is running the Asset Owner OMAS. This server is responsible for locating and managing the asset owner's definitions exchanged with this client.
This client is initialized with the URL and name of the server that is running the Asset Owner OMAS. This server is responsible for locating and managing the asset owner's definitions exchanged with this client.
-
Constructor Summary
ConstructorsConstructorDescriptionAssetOwner(String serverName, String serverPlatformURLRoot) 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, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Create a new client that passes userId and password in each HTTP request.AssetOwner(String serverName, String serverPlatformURLRoot, AssetOwnerRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.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, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssetOrigin(String userId, String assetGUID, String organizationGUID, String businessCapabilityGUID, Map<String, String> otherOriginValues) Add the asset origin classification to an asset.addAssetToCatalog(String userId, String typeName, String qualifiedName, String name, String description, Map<String, String> additionalProperties, Map<String, Object> extendedProperties) Add a simple asset description to the catalog.addAssetToCatalog(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties assetProperties) Add a comprehensive asset description to the catalog.addAssetToCatalogUsingTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) Create a new metadata element to represent an asset using an existing asset as a template.addCombinedSchemaToAsset(String userId, String assetGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaType, List<org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties> schemaAttributes) Stores the supplied schema details in the catalog and attaches it to the asset.voidaddConnectionToAsset(String userId, String assetGUID, String assetSummary, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) Deprecated.voidaddGovernanceDefinitionToElement(String userId, String definitionGUID, String elementGUID) Link a governance definition to an element using the GovernedBy relationship.addSchemaAttribute(String userId, String assetGUID, String parentGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties schemaAttribute) Adds a schema attribute to a complex schema type like a relational table, avro schema or a structured document.voidaddSchemaAttributes(String userId, String assetGUID, String parentGUID, List<org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties> schemaAttributes) Adds attributes to a complex schema type like a relational table, avro schema or a structured document.addSchemaTypeToAsset(String userId, String assetGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaType) Stores the supplied schema type in the catalog and attaches it to the asset.voidaddSecurityTags(String userId, String assetGUID, String assetElementGUID, List<String> securityLabels, Map<String, Object> securityProperties, Map<String, List<String>> accessGroups) Add or replace the security tags for an asset or one of its elements.voidaddSemanticAssignment(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).voidaddSemanticAssignment(String userId, String assetGUID, String assetElementGUID, String glossaryTermGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SemanticAssignmentProperties properties) Create a semantic assignment relationship between a glossary term and an element (normally a schema attribute, data field or asset).voidaddTemplateClassification(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.voidattachSchemaTypeToAsset(String userId, String assetGUID, String schemaTypeGUID) Links the supplied schema type directly to the asset.voidclearAssetConnection(String userId, String assetGUID, String connectionGUID) Remove a relationship between an asset and its connection.voidclearAssetRelationship(String userId, String relationshipTypeName, String relationshipGUID) Remove the relationship between two elements.voidclearConfidenceClassification(String userId, String elementGUID) Remove the confidence classification from the element.voidclearConfidentialityClassification(String userId, String elementGUID) Remove the confidence classification from the element.voidclearConnectorType(String userId, String connectionGUID, String connectorTypeGUID) Remove a relationship between a connection and a connector type.voidclearCriticalityClassification(String userId, String elementGUID) Remove the criticality classification from the element.voidclearElementAsDataField(String userId, String elementGUID) Remove the data field designation from the element.voidclearEmbeddedConnection(String userId, String connectionGUID, String embeddedConnectionGUID) Remove a relationship between a virtual connection and an embedded connection.voidclearEndpoint(String userId, String connectionGUID, String endpointGUID) Remove a relationship between a connection and an endpoint.voidclearRetentionClassification(String userId, String elementGUID) Remove the retention classification from the element.voidclearSchemaElementAsCalculatedValue(String userId, String schemaElementGUID) Remove the calculated value designation from the schema element.voidclearSchemaElementRelationship(String userId, String endOneGUID, String endTwoGUID, String relationshipTypeName) Remove a relationship between two schema elements.voidclearSchemaTypeParent(String userId, String schemaTypeGUID, String parentElementGUID, String parentElementTypeName) Remove the relationship between a schema type and its parent data asset, process or port.createAnchoredSchemaType(String userId, String anchorGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaTypeProperties) Create a new metadata element to represent a schema type.createCollection(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionProperties properties) Create a new generic collection.createConnection(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.ConnectionProperties connectionProperties) Create a new metadata element to represent a connection.createConnectionFromTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) Create a new metadata element to represent a connection using an existing metadata element as a template.createEndpoint(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.EndpointProperties endpointProperties) Create a new metadata element to represent an endpoint.createEndpointFromTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) Create a new metadata element to represent an endpoint using an existing metadata element as a template.createFolderCollection(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionFolderProperties properties) Create a collection that acts like a folder with an order.createSchemaAttributeFromTemplate(String userId, String schemaElementGUID, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) Create a new metadata element to represent a schema attribute using an existing metadata element as a template.createSchemaType(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaTypeProperties) Create a new metadata element to represent a schema type.createSchemaTypeFromTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) Create a new metadata element to represent a schema type using an existing metadata element as a template.voiddeleteAsset(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.voiddeleteAssetSchemaType(String userId, String assetGUID) Detaches and deletes an asset's schema.detachSchemaTypeFromAsset(String userId, String assetGUID) Unlinks the schema from the asset but does not delete it.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.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.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement>findCollections(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of collection metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement>findConnections(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of connection metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectorTypeElement>findConnectorTypes(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of connectorType metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.EndpointElement>findEndpoints(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement>findSchemaAttributes(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of schema attribute metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElement>findSchemaType(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of schema type metadata elements that contain the search string.org.odpi.openmetadata.frameworks.connectors.properties.AssetUniversegetAssetProperties(String userId, String assetGUID) Returns a comprehensive collection of properties about the requested asset.org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelationshipElementgetAssetRelationship(String userId, String relationshipTypeName, String fromAssetGUID, String toAssetGUID) Retrieve the relationship between two elements.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElement>getAssetsByName(String userId, String name, int startFrom, int pageSize) Return a list of assets with the requested name.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElement>getAssetsByOrigin(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.FindAssetOriginProperties properties, int startFrom, int pageSize) Return information about the assets from a specific origin.org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElementgetAssetSummary(String userId, String assetGUID) Return the basic attributes of an asset.org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElementgetCollection(String userId, String collectionGUID) Return the properties of a specific collection.org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionMembergetCollectionMember(String userId, String collectionGUID, String memberGUID) Return details of the membership between a collection and a specific member of the collection.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionMember>getCollectionMembers(String userId, String collectionGUID, int startFrom, int pageSize) Return a list of elements that are a member of a collection.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement>getCollections(String userId, String parentGUID, int startFrom, int pageSize) Returns the list of collections that are linked off of the supplied element.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement>getCollectionsByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of collection metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getConfidenceClassifiedElements(String userId, boolean returnSpecificLevel, int levelIdentifier, int startFrom, int pageSize) Return information about the elements classified with the confidence classification.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getConfidentialityClassifiedElements(String userId, boolean returnSpecificLevel, int levelIdentifier, int startFrom, int pageSize) Return information about the elements classified with the confidentiality classification.org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElementgetConnectionByGUID(String userId, String connectionGUID) Retrieve the connection metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement>getConnectionsByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of connection metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworks.connectors.ConnectorgetConnectorToAsset(String userId, String assetGUID) Return a connector for the asset to enable the calling user to access the content.org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectorTypeElementgetConnectorTypeByGUID(String userId, String connectorTypeGUID) Retrieve the connectorType metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectorTypeElement>getConnectorTypesByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of connectorType metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getCriticalityClassifiedElements(String userId, boolean returnSpecificLevel, int levelIdentifier, int startFrom, int pageSize) Return information about the elements classified with the criticality classification.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getDataFieldClassifiedElements(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.DataFieldQueryProperties properties, int startFrom, int pageSize) Return information about the elements classified with the DataField classification.List<org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport>getDiscoveryAnalysisReports(String userId, String assetGUID, int startingFrom, int maximumResults) Return the discovery analysis reports about the asset.List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation>getDiscoveryReportAnnotations(String userId, String discoveryReportGUID, org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus annotationStatus, int startingFrom, int maximumResults) Return the annotations linked directly to the report.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement>getElementsCollections(String userId, String elementGUID, int startFrom, int pageSize) Return a list of collections that the supplied element is a member of.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement>getElementsSourceFrom(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the elements linked via a "SourceFrom" relationship to the requested element.org.odpi.openmetadata.accessservices.assetowner.metadataelements.EndpointElementgetEndpointByGUID(String userId, String endpointGUID) Retrieve the endpoint metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.EndpointElement>getEndpointsByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of endpoint metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation>getExtendedAnnotations(String userId, String annotationGUID, org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus annotationStatus, int startingFrom, int maximumResults) Return any annotations attached to this annotation.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.GovernanceDefinitionElement>getGovernedByDefinitions(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the governance definitions linked via a "GovernedBy" relationship to the requested element.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement>getGovernedElements(String userId, String governanceDefinitionGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the elements linked via a "GovernedBy" relationship to the requested governance definition.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.GlossaryTermElement>getMeanings(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getMembersOfSubjectArea(String userId, String subjectAreaName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement>getNestedSchemaAttributes(String userId, String parentSchemaElementGUID, int startFrom, int pageSize) Retrieve the list of schema attributes associated with a schema element.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getOwnersElements(String userId, String owner, int startFrom, int pageSize) Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelationshipElement>getRelatedAssetsAtEnd1(String userId, String relationshipTypeName, String toAssetGUID, int startFrom, int pageSize) Retrieve the relationships linked from a specific element at end 2 of the relationship.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelationshipElement>getRelatedAssetsAtEnd2(String userId, String relationshipTypeName, String fromAssetGUID, int startFrom, int pageSize) Retrieve the requested relationships linked from a specific element at end 2.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getRetentionClassifiedElements(String userId, boolean returnSpecificBasisIdentifier, int basisIdentifier, int startFrom, int pageSize) Return information about the elements classified with the retention classification.org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElementgetSchemaAttributeByGUID(String userId, String schemaAttributeGUID) Retrieve the schema attribute metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement>getSchemaAttributesByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of schema attribute metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElementgetSchemaTypeByGUID(String userId, String schemaTypeGUID) Retrieve the schema type metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElement>getSchemaTypeByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of schema type metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElementgetSchemaTypeForElement(String userId, String parentElementGUID, String parentElementTypeName) Return the schema type associated with a specific open metadata element (data asset, process or port).org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeadergetSchemaTypeParent(String userId, String schemaTypeGUID) Retrieve the header of the metadata element connected to a schema type.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getSecurityTaggedElements(String userId, int startFrom, int pageSize) Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement>getSemanticAssignees(String userId, String glossaryTermGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the elements linked via a "SemanticAssignment" relationship to the requested glossary term.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement>getSourceElements(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the elements linked via a "SourceFrom" relationship to the requested element.getTypesOfAnnotation(String userId) Return the annotation subtype names.Return the annotation subtype names mapped to their descriptions.getTypesOfAsset(String userId) Return the asset subtype names.Return the asset subtype names.voidpublishAsset(String userId, String assetGUID) Update the zones for a specific asset to the zone list specified in the publishZones.voidremoveAssetOrigin(String userId, String assetGUID) Remove the asset origin classification to an asset.voidremoveAssetOwner(String userId, String assetGUID) Remove the ownership classification from an asset.voidremoveCollection(String userId, String collectionGUID) Delete a collection.voidremoveConnection(String userId, String connectionGUID) Remove the metadata element representing a connection.voidremoveEndpoint(String userId, String endpointGUID) Remove the metadata element representing a endpoint.voidremoveFromCollection(String userId, String collectionGUID, String elementGUID) Remove an element from a collection.voidremoveGovernanceDefinitionFromElement(String userId, String definitionGUID, String elementGUID) Remove the GovernedBy relationship between a governance definition and an element.voidremoveSchemaAttribute(String userId, String schemaAttributeGUID) Remove the metadata element representing a schema attribute.voidremoveSchemaType(String userId, String schemaTypeGUID) Remove the metadata element representing a schema type.voidremoveSecurityTags(String userId, String assetGUID, String assetElementGUID) Remove the security tags classification to an asset or one of its elements.voidremoveSemanticAssignment(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).voidremoveTemplateClassification(String userId, String assetGUID) Remove the classification that indicates that this asset can be used as a template.List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement>scanConnections(String userId, int startFrom, int pageSize) Step through the connections visible to this caller.voidsetConfidenceClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.GovernanceClassificationProperties properties) Classify/reclassify the element (typically an asset) to indicate the level of confidence that the organization has that the data is complete, accurate and up-to-date.voidsetConfidentialityClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.GovernanceClassificationProperties properties) Classify/reclassify the element (typically a data field, schema attribute or glossary term) to indicate the level of confidentiality that any data associated with the element should be given.voidsetCriticalityClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.GovernanceClassificationProperties properties) Classify/reclassify the element (typically an asset) to indicate how critical the element (or associated resource) is to the organization.voidsetElementAsDataField(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.DataFieldValuesProperties properties) Classify the element to indicate that it describes a data field and supply properties that describe the characteristics of the data values found within.voidsetRetentionClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.RetentionClassificationProperties properties) Classify/reclassify the element (typically an asset) to indicate how long the element (or associated resource) is to be retained by the organization.voidsetSchemaElementAsCalculatedValue(String userId, String schemaElementGUID, String formula) Classify the schema type (or attribute if type is embedded) to indicate that it is a calculated value.voidsetupAssetConnection(String userId, String assetGUID, String assetSummary, String connectionGUID) Create a relationship between an asset and its connection.voidsetupConnectorType(String userId, String connectionGUID, String connectorTypeGUID) Create a relationship between a connection and a connector type.voidsetupEmbeddedConnection(String userId, String connectionGUID, int position, String displayName, Map<String, Object> arguments, String embeddedConnectionGUID) Create a relationship between a virtual connection and an embedded connection.voidsetupEndpoint(String userId, String connectionGUID, String endpointGUID) Create a relationship between a connection and an endpoint.setupRelatedAsset(String userId, String relationshipTypeName, String fromAssetGUID, String toAssetGUID, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties relationshipProperties) Link two asset together.voidsetupSchemaElementRelationship(String userId, String endOneGUID, String endTwoGUID, String relationshipTypeName, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties properties) Create a relationship between two schema elements.voidsetupSchemaTypeParent(String userId, String schemaTypeGUID, String parentElementGUID, String parentElementTypeName, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties properties) Connect a schema type to a data asset, process or port.voidupdateAsset(String userId, String assetGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties assetProperties) Update the metadata element representing an asset.voidupdateAssetOwner(String userId, String assetGUID, String ownerId, String ownerTypeName, String ownerPropertyName) Update the owner information for a specific asset.voidupdateAssetOwner(String userId, String assetGUID, String ownerId, org.odpi.openmetadata.frameworks.connectors.properties.beans.OwnerType ownerType) Deprecated.voidupdateAssetRelationship(String userId, String relationshipTypeName, String relationshipGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties relationshipProperties) Update relationship between two elements.voidupdateAssetZones(String userId, String assetGUID, List<String> assetZones) Update the zones for a specific asset.voidupdateCollection(String userId, String collectionGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionProperties properties) Update the metadata element representing a collection.voidupdateCollectionMembership(String userId, String collectionGUID, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionMembershipProperties properties, boolean isMergeUpdate, String elementGUID) Add an element to a collection (or update its membership properties).voidupdateConnection(String userId, String connectionGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.ConnectionProperties connectionProperties) Update the metadata element representing a connection.voidupdateEndpoint(String userId, boolean isMergeUpdate, String endpointGUID, org.odpi.openmetadata.accessservices.assetowner.properties.EndpointProperties endpointProperties) Update the metadata element representing a endpoint.voidupdateSchemaAttribute(String userId, String schemaAttributeGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties schemaAttributeProperties) Update the properties of the metadata element representing a schema attribute.voidupdateSchemaType(String userId, String schemaTypeGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaTypeProperties) Update the metadata element representing a schema type.voidwithdrawAsset(String userId, String assetGUID) Update the zones for a specific asset to the zone list specified in the defaultZones.Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.client.AssetOwnerBaseClient
clearMoreInformation, clearResource, clearStakeholder, getDescriptiveElements, getMoreInformation, getResourceList, getStakeholderCommissionedElements, getStakeholders, getSupportedByResource, removeReferenceable, setupMoreInformation, setupResource, setupStakeholder, updateRelationshipMethods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
getAnchorAssetFromGUID, getAssetProperties, getConnectorByConnection, getConnectorByGUID, getConnectorByName, getConnectorForAsset
-
Constructor Details
-
AssetOwner
public AssetOwner(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
AssetOwner
public AssetOwner(String serverName, String serverPlatformURLRoot) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST services- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
AssetOwner
public AssetOwner(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requestsauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
AssetOwner
public AssetOwner(String serverName, String serverPlatformURLRoot, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
AssetOwner
public AssetOwner(String serverName, String serverPlatformURLRoot, AssetOwnerRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that is going to be used in an OMAG Server (view service or integration service typically).- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesrestClient- client that issues the REST API callsmaxPageSize- maximum number of results supported by this serverauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Details
-
getAssetProperties
public org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse getAssetProperties(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Returns a comprehensive collection of properties about the requested asset.- Specified by:
getAssetPropertiesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for asset.- Returns:
- a comprehensive collection of properties about the asset.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving the asset properties from the property servers).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getTypesOfAsset
public List<String> getTypesOfAsset(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the asset subtype names.- Specified by:
getTypesOfAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetKnowledgeInterface- Parameters:
userId- calling user- Returns:
- list of type names that are subtypes of asset
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getTypesOfAssetWithDescriptions
public Map<String,String> getTypesOfAssetWithDescriptions(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the asset subtype names.- Specified by:
getTypesOfAssetWithDescriptionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetKnowledgeInterface- Parameters:
userId- calling user- Returns:
- map of type names that are subtypes of asset
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addAssetToCatalog
public String addAssetToCatalog(String userId, String typeName, String qualifiedName, String name, String description, Map<String, String> additionalProperties, Map<String, throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionObject> extendedProperties) Add a simple asset description to the catalog.- Specified by:
addAssetToCatalogin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
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 catalogname- resource name for the asset in the catalogdescription- resource description for the asset in the catalogadditionalProperties- optional propertiesextendedProperties- properties defined for an asset subtype- Returns:
- unique identifier (guid) of the asset
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addAssetToCatalog
public String addAssetToCatalog(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties assetProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Add a comprehensive asset description to the catalog.- Specified by:
addAssetToCatalogin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userassetProperties- properties for the asset- Returns:
- unique identifier (guid) of the asset
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addAssetToCatalogUsingTemplate
public String addAssetToCatalogUsingTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent an asset using an existing asset as a template.- Specified by:
addAssetToCatalogUsingTemplatein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling usertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateAsset
public void updateAsset(String userId, String assetGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.AssetProperties assetProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing an asset.- Specified by:
updateAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userassetGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?assetProperties- new properties for this element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupRelatedAsset
public String setupRelatedAsset(String userId, String relationshipTypeName, String fromAssetGUID, String toAssetGUID, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties relationshipProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Link two asset together. Use information from the relationship type definition to ensure the fromAssetGUID and toAssetGUID are the right way around.- Specified by:
setupRelatedAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userrelationshipTypeName- type name of relationship to createfromAssetGUID- unique identifier of the asset at end 1 of the relationshiptoAssetGUID- unique identifier of the asset at end 2 of the relationshiprelationshipProperties- unique identifier for this relationship- Returns:
- unique identifier of the relationship
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getAssetRelationship
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelationshipElement getAssetRelationship(String userId, String relationshipTypeName, String fromAssetGUID, String toAssetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the relationship between two elements.- Specified by:
getAssetRelationshipin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userrelationshipTypeName- type name of relationship to createfromAssetGUID- unique identifier of the asset at end 1 of the relationshiptoAssetGUID- unique identifier of the asset at end 2 of the relationship- Returns:
- unique identifier and properties of the relationship
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateAssetRelationship
public void updateAssetRelationship(String userId, String relationshipTypeName, String relationshipGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties relationshipProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update relationship between two elements.- Specified by:
updateAssetRelationshipin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userrelationshipTypeName- type name of relationship to updaterelationshipGUID- unique identifier of the relationshiprelationshipProperties- description and/or purpose of the relationshipisMergeUpdate- should the new properties be merged with the existing properties, or replace them entirely- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearAssetRelationship
public void clearAssetRelationship(String userId, String relationshipTypeName, String relationshipGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the relationship between two elements.- Specified by:
clearAssetRelationshipin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userrelationshipTypeName- type name of relationship to deleterelationshipGUID- unique identifier of the relationship- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getRelatedAssetsAtEnd2
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelationshipElement> getRelatedAssetsAtEnd2(String userId, String relationshipTypeName, String fromAssetGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the requested relationships linked from a specific element at end 2.- Specified by:
getRelatedAssetsAtEnd2in interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userrelationshipTypeName- type name of relationship to deletefromAssetGUID- unique identifier of the asset at end 1 of the relationshipstartFrom- start position for resultspageSize- maximum number of results- Returns:
- unique identifier and properties of the relationship
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getRelatedAssetsAtEnd1
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelationshipElement> getRelatedAssetsAtEnd1(String userId, String relationshipTypeName, String toAssetGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the relationships linked from a specific element at end 2 of the relationship.- Specified by:
getRelatedAssetsAtEnd1in interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userrelationshipTypeName- type name of relationship to deletetoAssetGUID- unique identifier of the asset at end 2 of the relationshipstartFrom- start position for resultspageSize- maximum number of results- Returns:
- unique identifier and properties of the relationship
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
addCombinedSchemaToAsset
public String addCombinedSchemaToAsset(String userId, String assetGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaType, List<org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties> schemaAttributes) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Stores the supplied schema details in the catalog and attaches it to the asset. If another schema is currently attached to the asset, it is unlinked and deleted. If more attributes need to be added in addition to the ones supplied then this can be done with addSchemaAttributesToSchemaType().- Specified by:
addCombinedSchemaToAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
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.- Returns:
- guid of the schema type or
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addSchemaTypeToAsset
public String addSchemaTypeToAsset(String userId, String assetGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaType) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Stores the supplied schema type in the catalog and attaches it to the asset. If another schema is currently attached to the asset, it is unlinked and deleted.- Specified by:
addSchemaTypeToAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
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.- Returns:
- guid of the new schema type or
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
attachSchemaTypeToAsset
public void attachSchemaTypeToAsset(String userId, String assetGUID, String schemaTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Links the supplied schema type directly to the asset. If this schema is either not found, or already attached to an asset, then an error occurs. If another schema is currently attached to the asset, it is unlinked and deleted.- Specified by:
attachSchemaTypeToAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset that the schema is to be attached toschemaTypeGUID- unique identifier of the schema type to attach- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
detachSchemaTypeFromAsset
public String detachSchemaTypeFromAsset(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Unlinks the schema from the asset but does not delete it. This means it can be reattached to a different asset.- Specified by:
detachSchemaTypeFromAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset that the schema is to be attached to- Returns:
- guid of detached schema type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
deleteAssetSchemaType
public void deleteAssetSchemaType(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Detaches and deletes an asset's schema.- Specified by:
deleteAssetSchemaTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset that the schema is to be attached to- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
createSchemaType
public String createSchemaType(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaTypeProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a schema type.- Specified by:
createSchemaTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeProperties- properties about the schema type to store- Returns:
- unique identifier of the new schema type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createAnchoredSchemaType
public String createAnchoredSchemaType(String userId, String anchorGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaTypeProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a schema type.- Specified by:
createAnchoredSchemaTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling useranchorGUID- unique identifier of the intended anchor of the schema typeschemaTypeProperties- properties about the schema type to store- Returns:
- unique identifier of the new schema type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createSchemaTypeFromTemplate
public String createSchemaTypeFromTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a schema type using an existing metadata element as a template.- Specified by:
createSchemaTypeFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling usertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new schema type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateSchemaType
public void updateSchemaType(String userId, String schemaTypeGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaTypeProperties schemaTypeProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a schema type.- Specified by:
updateSchemaTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?schemaTypeProperties- new properties for the metadata element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupSchemaTypeParent
public void setupSchemaTypeParent(String userId, String schemaTypeGUID, String parentElementGUID, String parentElementTypeName, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Connect a schema type to a data asset, process or port.- Specified by:
setupSchemaTypeParentin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeGUID- unique identifier of the schema type to connectparentElementGUID- unique identifier of the open metadata element that this schema type is to be connected toparentElementTypeName- unique type name of the open metadata element that this schema type is to be connected toproperties- properties for the relationship- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearSchemaTypeParent
public void clearSchemaTypeParent(String userId, String schemaTypeGUID, String parentElementGUID, String parentElementTypeName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the relationship between a schema type and its parent data asset, process or port.- Specified by:
clearSchemaTypeParentin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeGUID- unique identifier of the schema type to connectparentElementGUID- unique identifier of the open metadata element that this schema type is to be connected toparentElementTypeName- unique type name of the open metadata element that this schema type is to be connected to- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupSchemaElementRelationship
public void setupSchemaElementRelationship(String userId, String endOneGUID, String endTwoGUID, String relationshipTypeName, org.odpi.openmetadata.accessservices.assetowner.properties.RelationshipProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between two schema elements. The name of the desired relationship, and any properties are passed on the API.- Specified by:
setupSchemaElementRelationshipin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userendOneGUID- unique identifier of the schema element at end one of the relationshipendTwoGUID- unique identifier of the schema element at end two of the relationshiprelationshipTypeName- type of the relationship to createproperties- relationship properties- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearSchemaElementRelationship
public void clearSchemaElementRelationship(String userId, String endOneGUID, String endTwoGUID, String relationshipTypeName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between two schema elements. The name of the desired relationship is passed on the API.- Specified by:
clearSchemaElementRelationshipin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userendOneGUID- unique identifier of the schema element at end one of the relationshipendTwoGUID- unique identifier of the schema element at end two of the relationshiprelationshipTypeName- type of the relationship to delete- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeSchemaType
public void removeSchemaType(String userId, String schemaTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a schema type.- Specified by:
removeSchemaTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findSchemaType
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElement> findSchemaType(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of schema type metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findSchemaTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSchemaTypeForElement
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElement getSchemaTypeForElement(String userId, String parentElementGUID, String parentElementTypeName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the schema type associated with a specific open metadata element (data asset, process or port).- Specified by:
getSchemaTypeForElementin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userparentElementGUID- unique identifier of the open metadata element that this schema type is to be connected toparentElementTypeName- unique type name of the open metadata element that this schema type is to be connected to- Returns:
- metadata element describing the schema type associated with the requested parent element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSchemaTypeByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElement> getSchemaTypeByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of schema type metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getSchemaTypeByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSchemaTypeByGUID
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaTypeElement getSchemaTypeByGUID(String userId, String schemaTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the schema type metadata element with the supplied unique identifier.- Specified by:
getSchemaTypeByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeGUID- unique identifier of the requested metadata element- Returns:
- requested metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSchemaTypeParent
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getSchemaTypeParent(String userId, String schemaTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the header of the metadata element connected to a schema type.- Specified by:
getSchemaTypeParentin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaTypeGUID- unique identifier of the requested metadata element- Returns:
- header for parent element (data asset, process, port)
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
addSchemaAttributes
public void addSchemaAttributes(String userId, String assetGUID, String parentGUID, List<org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties> schemaAttributes) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Adds attributes to a complex schema type like a relational table, avro schema or a structured document. This method can be called repeatedly to add many attributes to a schema.- Specified by:
addSchemaAttributesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- 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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addSchemaAttribute
public String addSchemaAttribute(String userId, String assetGUID, String parentGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties schemaAttribute) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Adds a schema attribute to a complex schema type like a relational table, avro schema or a structured document. This method can be called repeatedly to add many attributes to a schema. The GUID returned can be used to add nested attributes.- Specified by:
addSchemaAttributein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- 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.- Returns:
- unique identifier for the new schema attribute or
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
createSchemaAttributeFromTemplate
public String createSchemaAttributeFromTemplate(String userId, String schemaElementGUID, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a schema attribute using an existing metadata element as a template.- Specified by:
createSchemaAttributeFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaElementGUID- unique identifier of the schemaType or Schema Attribute where the schema attribute is connected totemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element for the schema attribute
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateSchemaAttribute
public void updateSchemaAttribute(String userId, String schemaAttributeGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.SchemaAttributeProperties schemaAttributeProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the properties of the metadata element representing a schema attribute.- Specified by:
updateSchemaAttributein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaAttributeGUID- unique identifier of the schema attribute to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?schemaAttributeProperties- new properties for the schema attribute- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setSchemaElementAsCalculatedValue
public void setSchemaElementAsCalculatedValue(String userId, String schemaElementGUID, String formula) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Classify the schema type (or attribute if type is embedded) to indicate that it is a calculated value.- Specified by:
setSchemaElementAsCalculatedValuein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaElementGUID- unique identifier of the metadata element to update- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearSchemaElementAsCalculatedValue
public void clearSchemaElementAsCalculatedValue(String userId, String schemaElementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the calculated value designation from the schema element.- Specified by:
clearSchemaElementAsCalculatedValuein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaElementGUID- unique identifier of the metadata element to update- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeSchemaAttribute
public void removeSchemaAttribute(String userId, String schemaAttributeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a schema attribute.- Specified by:
removeSchemaAttributein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaAttributeGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findSchemaAttributes
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement> findSchemaAttributes(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of schema attribute metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findSchemaAttributesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getNestedSchemaAttributes
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement> getNestedSchemaAttributes(String userId, String parentSchemaElementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of schema attributes associated with a schema element.- Specified by:
getNestedSchemaAttributesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userparentSchemaElementGUID- unique identifier of the schema element of intereststartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of associated metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSchemaAttributesByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement> getSchemaAttributesByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of schema attribute metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getSchemaAttributesByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSchemaAttributeByGUID
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.SchemaAttributeElement getSchemaAttributeByGUID(String userId, String schemaAttributeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the schema attribute metadata element with the supplied unique identifier.- Specified by:
getSchemaAttributeByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userschemaAttributeGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
addConnectionToAsset
@Deprecated public void addConnectionToAsset(String userId, String assetGUID, String assetSummary, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Deprecated.Adds a connection to an asset. Assets can have multiple connections attached.- Specified by:
addConnectionToAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetOnboardingInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset 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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addSemanticAssignment
public void addSemanticAssignment(String userId, String assetGUID, String glossaryTermGUID, String assetElementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a simple relationship between a glossary term and an element in an Asset description (typically a field in the schema).- Specified by:
addSemanticAssignmentin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addSemanticAssignment
public void addSemanticAssignment(String userId, String assetGUID, String assetElementGUID, String glossaryTermGUID, org.odpi.openmetadata.accessservices.assetowner.properties.SemanticAssignmentProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a semantic assignment relationship between a glossary term and an element (normally a schema attribute, data field or asset). This relationship indicates that the data associated with the element meaning matches the description in the glossary term.- Specified by:
addSemanticAssignmentin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier of assetassetElementGUID- unique identifier of the element that is being assigned to the glossary termglossaryTermGUID- unique identifier of the glossary term that provides the meaningproperties- properties for relationship- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeSemanticAssignment
public void removeSemanticAssignment(String userId, String assetGUID, String glossaryTermGUID, String assetElementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the relationship between a glossary term and an element in an Asset description (typically a field in the schema).- Specified by:
removeSemanticAssignmentin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addAssetOrigin
public void addAssetOrigin(String userId, String assetGUID, String organizationGUID, String businessCapabilityGUID, Map<String, String> otherOriginValues) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionAdd the asset origin classification to an asset.- Specified by:
addAssetOriginin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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 asset- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- entity not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
removeAssetOrigin
public void removeAssetOrigin(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the asset origin classification to an asset.- Specified by:
removeAssetOriginin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier of asset- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- entity not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
publishAsset
public void publishAsset(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the zones for a specific asset to the zone list specified in the publishZones.- Specified by:
publishAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier for the asset to update- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- entity not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
withdrawAsset
public void withdrawAsset(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the zones for a specific asset to the zone list specified in the defaultZones.- Specified by:
withdrawAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier for the asset to update- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- entity not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
updateAssetZones
public void updateAssetZones(String userId, String assetGUID, List<String> assetZones) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the zones for a specific asset.- Specified by:
updateAssetZonesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- guid or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
updateAssetOwner
@Deprecated public void updateAssetOwner(String userId, String assetGUID, String ownerId, org.odpi.openmetadata.frameworks.connectors.properties.beans.OwnerType ownerType) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Deprecated.Update the owner information for a specific asset.- Specified by:
updateAssetOwnerin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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 identifier provided above - or null to clear the field- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
updateAssetOwner
public void updateAssetOwner(String userId, String assetGUID, String ownerId, String ownerTypeName, String ownerPropertyName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the owner information for a specific asset.- Specified by:
updateAssetOwnerin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier for the asset to updateownerId- unique identifier/property of the owner - or null to clear the fieldownerTypeName- name of the type of identifier provided above - or null to clear the fieldownerPropertyName- name of the property that describes the ownerId- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
removeAssetOwner
public void removeAssetOwner(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the ownership classification from an asset.- Specified by:
removeAssetOwnerin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- element where the classification needs to be removed.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- asset not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addSecurityTags
public void addSecurityTags(String userId, String assetGUID, String assetElementGUID, List<String> securityLabels, Map<String, Object> securityProperties, Map<String, throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionList<String>> accessGroups) Add or replace the security tags for an asset or one of its elements.- Specified by:
addSecurityTagsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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 assetaccessGroups- map from operation to list of security groups- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- entity not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
removeSecurityTags
public void removeSecurityTags(String userId, String assetGUID, String assetElementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the security tags classification to an asset or one of its elements.- Specified by:
removeSecurityTagsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier of assetassetElementGUID- element where the security tags need to be removed. If null then the assetGUID is used.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- entity not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
addTemplateClassification
public void addTemplateClassification(String userId, String assetGUID, String name, String description, Map<String, String> additionalProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionClassify an asset as suitable to be used as a template for cataloguing assets of a similar types.- Specified by:
addTemplateClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- 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 properties- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- asset or element not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
removeTemplateClassification
public void removeTemplateClassification(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the classification that indicates that this asset can be used as a template.- Specified by:
removeTemplateClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset to declassify- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- asset or element not known, null userId or guidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
setElementAsDataField
public void setElementAsDataField(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.DataFieldValuesProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Classify the element to indicate that it describes a data field and supply properties that describe the characteristics of the data values found within.- Specified by:
setElementAsDataFieldin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to updateproperties- descriptive properties for the data field- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearElementAsDataField
public void clearElementAsDataField(String userId, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the data field designation from the element.- Specified by:
clearElementAsDataFieldin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to update- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setConfidenceClassification
public void setConfidenceClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.GovernanceClassificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Classify/reclassify the element (typically an asset) to indicate the level of confidence that the organization has that the data is complete, accurate and up-to-date. The level of confidence is expressed by the levelIdentifier property.- Specified by:
setConfidenceClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to classifyproperties- details of the classification- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearConfidenceClassification
public void clearConfidenceClassification(String userId, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the confidence classification from the element. This normally occurs when the organization has lost track of the level of confidence to assign to the element.- Specified by:
clearConfidenceClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to unclassify- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setCriticalityClassification
public void setCriticalityClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.GovernanceClassificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Classify/reclassify the element (typically an asset) to indicate how critical the element (or associated resource) is to the organization. The level of criticality is expressed by the levelIdentifier property.- Specified by:
setCriticalityClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to classifyproperties- details of the classification- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearCriticalityClassification
public void clearCriticalityClassification(String userId, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the criticality classification from the element. This normally occurs when the organization has lost track of the level of criticality to assign to the element.- Specified by:
clearCriticalityClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to unclassify- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setConfidentialityClassification
public void setConfidentialityClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.GovernanceClassificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Classify/reclassify the element (typically a data field, schema attribute or glossary term) to indicate the level of confidentiality that any data associated with the element should be given. If the classification is attached to a glossary term, the level of confidentiality is a suggestion for any element linked to the glossary term via the SemanticAssignment classification. The level of confidence is expressed by the levelIdentifier property.- Specified by:
setConfidentialityClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to classifyproperties- details of the classification- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearConfidentialityClassification
public void clearConfidentialityClassification(String userId, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the confidence classification from the element. This normally occurs when the organization has lost track of the level of confidentiality to assign to the element.- Specified by:
clearConfidentialityClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to unclassify- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setRetentionClassification
public void setRetentionClassification(String userId, String elementGUID, org.odpi.openmetadata.accessservices.assetowner.properties.RetentionClassificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Classify/reclassify the element (typically an asset) to indicate how long the element (or associated resource) is to be retained by the organization. The policy to apply to the element/resource is captured by the retentionBasis property. The dates after which the element/resource is archived and then deleted are specified in the archiveAfter and deleteAfter properties respectively.- Specified by:
setRetentionClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to classifyproperties- details of the classification- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearRetentionClassification
public void clearRetentionClassification(String userId, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the retention classification from the element. This normally occurs when the organization has lost track of, or no longer needs to track the retention period to assign to the element.- Specified by:
clearRetentionClassificationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userelementGUID- unique identifier of the metadata element to unclassify- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
addGovernanceDefinitionToElement
public void addGovernanceDefinitionToElement(String userId, String definitionGUID, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Link a governance definition to an element using the GovernedBy relationship.- Specified by:
addGovernanceDefinitionToElementin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userdefinitionGUID- identifier of the governance definition to linkelementGUID- unique identifier of the metadata element to link- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeGovernanceDefinitionFromElement
public void removeGovernanceDefinitionFromElement(String userId, String definitionGUID, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the GovernedBy relationship between a governance definition and an element.- Specified by:
removeGovernanceDefinitionFromElementin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetClassificationInterface- Parameters:
userId- calling userdefinitionGUID- identifier of the governance definition to linkelementGUID- unique identifier of the metadata element to update- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createConnection
public String createConnection(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.ConnectionProperties connectionProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a connection. Classifications can be added later to define the type of connection.- Specified by:
createConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createConnectionFromTemplate
public String createConnectionFromTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a connection using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new connection.- Specified by:
createConnectionFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling usertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateConnection
public void updateConnection(String userId, String connectionGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.ConnectionProperties connectionProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a connection.- Specified by:
updateConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?connectionProperties- new properties for this element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupConnectorType
public void setupConnectorType(String userId, String connectionGUID, String connectorTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between a connection and a connector type.- Specified by:
setupConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the connection in the external asset managerconnectorTypeGUID- unique identifier of the connector type in the external asset manager- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearConnectorType
public void clearConnectorType(String userId, String connectionGUID, String connectorTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between a connection and a connector type.- Specified by:
clearConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the connection in the external asset managerconnectorTypeGUID- unique identifier of the connector type in the external asset manager- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupEndpoint
public void setupEndpoint(String userId, String connectionGUID, String endpointGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between a connection and an endpoint.- Specified by:
setupEndpointin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the connection in the external asset managerendpointGUID- unique identifier of the endpoint in the external asset manager- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearEndpoint
public void clearEndpoint(String userId, String connectionGUID, String endpointGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between a connection and an endpoint.- Specified by:
clearEndpointin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the connection in the external asset managerendpointGUID- unique identifier of the endpoint in the external asset manager- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupEmbeddedConnection
public void setupEmbeddedConnection(String userId, String connectionGUID, int position, String displayName, Map<String, Object> arguments, String embeddedConnectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionCreate a relationship between a virtual connection and an embedded connection.- Specified by:
setupEmbeddedConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the virtual connection in the external asset managerposition- which order should this connection be processedarguments- What additional properties should be passed to the embedded connector via the configuration propertiesdisplayName- what does this connector signify?embeddedConnectionGUID- unique identifier of the embedded connection in the external asset manager- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearEmbeddedConnection
public void clearEmbeddedConnection(String userId, String connectionGUID, String embeddedConnectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between a virtual connection and an embedded connection.- Specified by:
clearEmbeddedConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the virtual connection in the external asset managerembeddedConnectionGUID- unique identifier of the embedded connection in the external asset manager- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupAssetConnection
public void setupAssetConnection(String userId, String assetGUID, String assetSummary, String connectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between an asset and its connection.- Specified by:
setupAssetConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userassetGUID- unique identifier of the assetassetSummary- summary of the asset that is stored in the relationship between the asset and the connection.connectionGUID- unique identifier of the connection- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearAssetConnection
public void clearAssetConnection(String userId, String assetGUID, String connectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between an asset and its connection.- Specified by:
clearAssetConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userassetGUID- unique identifier of the assetconnectionGUID- unique identifier of the connection- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeConnection
public void removeConnection(String userId, String connectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a connection.- Specified by:
removeConnectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findConnections
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement> findConnections(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connection metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findConnectionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
scanConnections
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement> scanConnections(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Step through the connections visible to this caller.- Specified by:
scanConnectionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectionsByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement> getConnectionsByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connection metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getConnectionsByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectionByGUID
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectionElement getConnectionByGUID(String userId, String connectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the connection metadata element with the supplied unique identifier.- Specified by:
getConnectionByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectionGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createEndpoint
public String createEndpoint(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.EndpointProperties endpointProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent an endpoint. Classifications can be added later to define the type of endpoint.- Specified by:
createEndpointin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userendpointProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createEndpointFromTemplate
public String createEndpointFromTemplate(String userId, String templateGUID, org.odpi.openmetadata.accessservices.assetowner.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent an endpoint using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new endpoint.- Specified by:
createEndpointFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling usertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateEndpoint
public void updateEndpoint(String userId, boolean isMergeUpdate, String endpointGUID, org.odpi.openmetadata.accessservices.assetowner.properties.EndpointProperties endpointProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a endpoint.- Specified by:
updateEndpointin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?endpointGUID- unique identifier of the metadata element to updateendpointProperties- new properties for this element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeEndpoint
public void removeEndpoint(String userId, String endpointGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a endpoint.- Specified by:
removeEndpointin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userendpointGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findEndpoints
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.EndpointElement> findEndpoints(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of endpoint metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findEndpointsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getEndpointsByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.EndpointElement> getEndpointsByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of endpoint metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getEndpointsByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getEndpointByGUID
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.EndpointElement getEndpointByGUID(String userId, String endpointGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the endpoint metadata element with the supplied unique identifier.- Specified by:
getEndpointByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userendpointGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findConnectorTypes
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectorTypeElement> findConnectorTypes(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connectorType metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findConnectorTypesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectorTypesByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectorTypeElement> getConnectorTypesByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connectorType metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getConnectorTypesByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectorTypeByGUID
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.ConnectorTypeElement getConnectorTypeByGUID(String userId, String connectorTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the connectorType metadata element with the supplied unique identifier.- Specified by:
getConnectorTypeByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetConnectionManagementInterface- Parameters:
userId- calling userconnectorTypeGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getAssetsByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElement> getAssetsByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return a list of assets with the requested name.- Specified by:
getAssetsByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling username- name to search forstartFrom- starting element (used in paging through large result sets)pageSize- maximum number of results to return- Returns:
- list of unique identifiers of assets with matching name.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the name is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem access in the property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user does not have access to the properties
-
findAssets
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElement> findAssets(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return a list of assets with the requested search string in their name, qualified name or description.- Specified by:
findAssetsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling usersearchString- string to search for in textstartFrom- starting element (used in paging through large result sets)pageSize- maximum number of results to return- Returns:
- list of assets that match the search string.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the searchString is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem access in the property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user does not have access to the properties
-
getAssetSummary
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElement getAssetSummary(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the basic attributes of an asset.- Specified by:
getAssetSummaryin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset- Returns:
- basic asset properties
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem that occurred within the property server.
-
getConnectorToAsset
public org.odpi.openmetadata.frameworks.connectors.Connector getConnectorToAsset(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return a connector for the asset to enable the calling user to access the content.- Specified by:
getConnectorToAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset- Returns:
- connector object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem that occurred within the property server.
-
getDiscoveryAnalysisReports
public List<org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport> getDiscoveryAnalysisReports(String userId, String assetGUID, int startingFrom, int maximumResults) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the discovery analysis reports about the asset.- Specified by:
getDiscoveryAnalysisReportsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- 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 on this call- Returns:
- list of discovery analysis reports
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem that occurred within the property server.
-
getTypesOfAnnotation
public List<String> getTypesOfAnnotation(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the annotation subtype names.- Specified by:
getTypesOfAnnotationin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling user- Returns:
- list of type names that are subtypes of annotation
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getTypesOfAnnotationWithDescriptions
public Map<String,String> getTypesOfAnnotationWithDescriptions(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the annotation subtype names mapped to their descriptions.- Specified by:
getTypesOfAnnotationWithDescriptionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling user- Returns:
- map of type names that are subtypes of annotation to their descriptions
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getDiscoveryReportAnnotations
public List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation> getDiscoveryReportAnnotations(String userId, String discoveryReportGUID, org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus annotationStatus, int startingFrom, int maximumResults) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the annotations linked directly to the report.- Specified by:
getDiscoveryReportAnnotationsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- 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.- Returns:
- list of annotations
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem that occurred within the property server.
-
getExtendedAnnotations
public List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation> getExtendedAnnotations(String userId, String annotationGUID, org.odpi.openmetadata.frameworks.discovery.properties.AnnotationStatus annotationStatus, int startingFrom, int maximumResults) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return any annotations attached to this annotation.- Specified by:
getExtendedAnnotationsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- 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.- Returns:
- list of Annotation objects
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem that occurred within the property server.
-
getDataFieldClassifiedElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getDataFieldClassifiedElements(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.DataFieldQueryProperties properties, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the elements classified with the DataField classification.- Specified by:
getDataFieldClassifiedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userproperties- values to match onstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getConfidenceClassifiedElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getConfidenceClassifiedElements(String userId, boolean returnSpecificLevel, int levelIdentifier, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the elements classified with the confidence classification.- Specified by:
getConfidenceClassifiedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userreturnSpecificLevel- should the results be filtered by levelIdentifier?levelIdentifier- the identifier to filter by (if returnSpecificLevel=true)startFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCriticalityClassifiedElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getCriticalityClassifiedElements(String userId, boolean returnSpecificLevel, int levelIdentifier, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the elements classified with the criticality classification.- Specified by:
getCriticalityClassifiedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userreturnSpecificLevel- should the results be filtered by levelIdentifier?levelIdentifier- the identifier to filter by (if returnSpecificLevel=true)startFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getConfidentialityClassifiedElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getConfidentialityClassifiedElements(String userId, boolean returnSpecificLevel, int levelIdentifier, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the elements classified with the confidentiality classification.- Specified by:
getConfidentialityClassifiedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userreturnSpecificLevel- should the results be filtered by levelIdentifier?levelIdentifier- the identifier to filter by (if returnSpecificLevel=true)startFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getRetentionClassifiedElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getRetentionClassifiedElements(String userId, boolean returnSpecificBasisIdentifier, int basisIdentifier, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the elements classified with the retention classification.- Specified by:
getRetentionClassifiedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userreturnSpecificBasisIdentifier- should the results be filtered by basisIdentifier?basisIdentifier- the identifier to filter by (if returnSpecificBasisIdentifier=true)startFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getSecurityTaggedElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getSecurityTaggedElements(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.- Specified by:
getSecurityTaggedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getOwnersElements
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getOwnersElements(String userId, String owner, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.- Specified by:
getOwnersElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userowner- unique identifier for the ownerstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getAssetsByOrigin
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.AssetElement> getAssetsByOrigin(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.FindAssetOriginProperties properties, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the assets from a specific origin.- Specified by:
getAssetsByOriginin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userproperties- values to search on - null means any valuestartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of the assets
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getMembersOfSubjectArea
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getMembersOfSubjectArea(String userId, String subjectAreaName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.- Specified by:
getMembersOfSubjectAreain interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling usersubjectAreaName- unique identifier for the subject areastartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of element stubs
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getMeanings
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.GlossaryTermElement> getMeanings(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.- Specified by:
getMeaningsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userelementGUID- unique identifier of the elementstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.effectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of related elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSemanticAssignees
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement> getSemanticAssignees(String userId, String glossaryTermGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the elements linked via a "SemanticAssignment" relationship to the requested glossary term.- Specified by:
getSemanticAssigneesin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userglossaryTermGUID- unique identifier of the glossary term that the returned elements are linked tostartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.effectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of related elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernedByDefinitions
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.GovernanceDefinitionElement> getGovernedByDefinitions(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the governance definitions linked via a "GovernedBy" relationship to the requested element.- Specified by:
getGovernedByDefinitionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userelementGUID- unique identifier of the elementstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.effectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of related elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernedElements
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement> getGovernedElements(String userId, String governanceDefinitionGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the elements linked via a "GovernedBy" relationship to the requested governance definition.- Specified by:
getGovernedElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling usergovernanceDefinitionGUID- unique identifier of the governance definition that the returned elements are linked tostartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.effectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of related elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSourceElements
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement> getSourceElements(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the elements linked via a "SourceFrom" relationship to the requested element. The elements returned were used to create the requested element. Typically, only one element is returned.- Specified by:
getSourceElementsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userelementGUID- unique identifier of the elementstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.effectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of related elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getElementsSourceFrom
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.RelatedElement> getElementsSourceFrom(String userId, String elementGUID, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the elements linked via a "SourceFrom" relationship to the requested element. The elements returned were created using the requested element as a template.- Specified by:
getElementsSourceFromin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetReviewInterface- Parameters:
userId- calling userelementGUID- unique identifier of the element that the returned elements are linked tostartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.effectiveTime- the time that the retrieved elements must be effective forforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of related elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
deleteAsset
public void deleteAsset(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException 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. Given the depth of the delete request performed by this call, it should be used with care.- Specified by:
deleteAssetin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetDecommissioningInterface- Parameters:
userId- calling userassetGUID- unique identifier of the asset to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- full path or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCollections
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement> getCollections(String userId, String parentGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Returns the list of collections that are linked off of the supplied element.- Specified by:
getCollectionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making requestparentGUID- unique identifier of referenceable object (typically a personal profile, project or community) that the collections hang off of.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return- Returns:
- a list of collections
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getCollection
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement getCollection(String userId, String collectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return the properties of a specific collection.- Specified by:
getCollectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.collectionGUID- unique identifier of the required connection.- Returns:
- collection properties
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
findCollections
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement> findCollections(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of collection metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findCollectionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getCollectionsByName
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement> getCollectionsByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of collection metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getCollectionsByNamein interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createCollection
public String createCollection(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Create a new generic collection.- Specified by:
createCollectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.properties- description of the collection.- Returns:
- unique identifier of the newly created Collection
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
createFolderCollection
public String createFolderCollection(String userId, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionFolderProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Create a collection that acts like a folder with an order.- Specified by:
createFolderCollectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.properties- description of the collection.- Returns:
- unique identifier of the newly created Collection
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
updateCollection
public void updateCollection(String userId, String collectionGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a collection.- Specified by:
updateCollectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- calling usercollectionGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?properties- new properties for this element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeCollection
public void removeCollection(String userId, String collectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Delete a collection. It is deleted from all parent elements. If members are anchored to the collection then they are also deleted.- Specified by:
removeCollectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.collectionGUID- unique identifier of the collection.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getCollectionMembers
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionMember> getCollectionMembers(String userId, String collectionGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return a list of elements that are a member of a collection.- Specified by:
getCollectionMembersin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.collectionGUID- unique identifier of the collection.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of asset details
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getCollectionMember
public org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionMember getCollectionMember(String userId, String collectionGUID, String memberGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return details of the membership between a collection and a specific member of the collection.- Specified by:
getCollectionMemberin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.collectionGUID- unique identifier of the collection.memberGUID- unique identifier of the element who is a member of the collection.- Returns:
- list of asset details
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getElementsCollections
public List<org.odpi.openmetadata.accessservices.assetowner.metadataelements.CollectionElement> getElementsCollections(String userId, String elementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return a list of collections that the supplied element is a member of.- Specified by:
getElementsCollectionsin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.elementGUID- unique identifier of the collection.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of asset details
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem retrieving information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
updateCollectionMembership
public void updateCollectionMembership(String userId, String collectionGUID, org.odpi.openmetadata.accessservices.assetowner.properties.CollectionMembershipProperties properties, boolean isMergeUpdate, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Add an element to a collection (or update its membership properties).- Specified by:
updateCollectionMembershipin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.collectionGUID- unique identifier of the collection.properties- new propertiesisMergeUpdate- should the properties be merged with the existing properties or replace them?elementGUID- unique identifier of the element.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem updating information in the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
removeFromCollection
public void removeFromCollection(String userId, String collectionGUID, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Remove an element from a collection.- Specified by:
removeFromCollectionin interfaceorg.odpi.openmetadata.accessservices.assetowner.api.AssetCollectionInterface- Parameters:
userId- userId of user making request.collectionGUID- unique identifier of the collection.elementGUID- unique identifier of the element.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem updating information in the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-