Class AssetConsumer
java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
org.odpi.openmetadata.accessservices.assetconsumer.client.AssetConsumer
- All Implemented Interfaces:
org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerAssetInterface,org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface,org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerGlossaryInterface,org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerLoggingInterface,org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface,org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.api.ConnectorFactoryInterface
public class AssetConsumer
extends org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
implements org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerAssetInterface, org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface, org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerGlossaryInterface, org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerLoggingInterface, org.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface
The Asset Consumer Open Metadata Access Service (OMAS) is used by applications and tools as a factory for Open
Connector Framework (OCF) connectors. The configuration for the connectors is managed as open metadata in
a Connection definition. The caller to the Asset Consumer OMAS passes either the name, GUID or URL for the
connection to the appropriate method to retrieve a connector. The Asset Consumer OMAS retrieves the connection
from the metadata repository and creates an appropriate connector as described the connection and
returns it to the caller.
The Asset Consumer OMAS supports access to the asset properties either through the connector, or by a direct
call to Asset Consumer API. It is also possible to look up the definitions of terms associated with the assets.
It supports the ability to add and remove feedback for an asset.
This feedback may be in the form of reviews, likes and comments.
Asset Consumer OMAS also supports the maintenance of informal tags and their attachments to assets.
Finally, Asset Consumer OMAS supports the ability to add audit log records to the local server's audit log
about an asset.
-
Constructor Summary
ConstructorsConstructorDescriptionAssetConsumer(String serverName, String serverPlatformURLRoot) Create a new client with no authentication embedded in the HTTP request.AssetConsumer(String serverName, String serverPlatformURLRoot, String userId, String password) Create a new client that passes userId and password in each HTTP request.AssetConsumer(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.AssetConsumer(String serverName, String serverPlatformURLRoot, AssetConsumerRESTClient 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).AssetConsumer(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 TypeMethodDescriptionaddCommentReply(String userId, String assetGUID, String commentGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType, String commentText, boolean isPublic) Adds a comment to another comment.addCommentToAsset(String userId, String assetGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType, String commentText, boolean isPublic) Adds a comment to the asset.voidaddLikeToAsset(String userId, String assetGUID, boolean isPublic) Adds a "LikeProperties" to the asset.voidaddLogMessageToAsset(String userId, String assetGUID, String connectorInstanceId, String connectionName, String connectorType, String contextId, String message) Creates an Audit log record about the asset.voidaddRatingToAsset(String userId, String assetGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.StarRating starRating, String review, boolean isPublic) Adds a star rating and optional review text to the asset.voidaddTagToAsset(String userId, String assetGUID, String tagGUID, boolean isPublic) Adds a tag (either private of public) to an asset.voidaddTagToElement(String userId, String elementGUID, String tagGUID, boolean isPublic) Adds a tag (either private of public) to an element attached to an asset - such as schema element, glossary term, ...createPrivateTag(String userId, String tagName, String tagDescription) Creates a new private informal tag and returns the unique identifier for it.createPublicTag(String userId, String tagName, String tagDescription) Creates a new public informal tag and returns the unique identifier for it.voidRemoves a tag from the repository.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.assetconsumer.elements.MeaningElement>findMeanings(String userId, String term, int startFrom, int pageSize) Return the full definition (meaning) of the terms matching the supplied name.List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement>findMyTags(String userId, String tag, int startFrom, int pageSize) Return the list of the calling user's private tags containing the supplied string in either the name or description.List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement>Return the list of tags containing the supplied string in either the name or description.getAssetForConnection(String userId, String connectionGUID) Returns the unique identifier for the asset connected to the requested connection.getAssetForConnectionName(String userId, String connectionName) Returns the asset corresponding to the supplied connection name.org.odpi.openmetadata.frameworks.connectors.properties.AssetUniversegetAssetProperties(String userId, String assetGUID) Returns a comprehensive collection of properties about the requested asset.getAssetsByMeaning(String userId, String termGUID, int startFrom, int pageSize) Return the list of unique identifiers for assets that are linked to a specific (meaning) either directly or via fields in the schema.getAssetsByName(String userId, String name, int startFrom, int pageSize) Return a list of assets with the requested name.getAssetsByTag(String userId, String tagGUID, int startFrom, int pageSize) Return the list of unique identifiers for assets that are linked to a specific tag either directly, or via one of its schema elements.getAssetsByToken(String userId, String assetToken, int startFrom, int pageSize) Returns a list of assets that match the token.org.odpi.openmetadata.accessservices.assetconsumer.elements.MeaningElementgetMeaning(String userId, String guid) Return the full definition (meaning) of a term using the unique identifier of the glossary term that contains the definition.List<org.odpi.openmetadata.accessservices.assetconsumer.elements.MeaningElement>getMeaningByName(String userId, String term, int startFrom, int pageSize) Return the full definition (meaning) of the terms exactly matching the supplied name.List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement>getMyTagsByName(String userId, String tag, int startFrom, int pageSize) Return the list of the calling user's private tags exactly matching the supplied name.org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElementReturn the tag for the supplied unique identifier (guid).List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement>getTagsByName(String userId, String tag, int startFrom, int pageSize) Return the list of tags exactly matching the supplied name.voidremoveComment(String userId, String assetGUID, String commentGUID) Removes a comment added to the asset by this user.voidremoveLikeFromAsset(String userId, String assetGUID) Removes a "LikeProperties" added to the asset by this user.voidremoveRatingFromAsset(String userId, String assetGUID) Removes of a review that was added to the asset by this user.voidremoveTagFromAsset(String userId, String assetGUID, String tagGUID) Removes a tag from the asset that was added by this user.voidremoveTagFromElement(String userId, String elementGUID, String tagGUID) Removes a tag from an element attached to an asset - such as schema element, glossary term, ...voidupdateComment(String userId, String assetGUID, String commentGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType, String commentText, boolean isPublic) Update an existing comment.voidupdateTagDescription(String userId, String tagGUID, String tagDescription) Updates the description of an existing tag (either private or public).Methods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
getAnchorAssetFromGUID, getAssetProperties, getConnectorByConnection, getConnectorByGUID, getConnectorByName, getConnectorForAsset
-
Constructor Details
-
AssetConsumer
public AssetConsumer(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- null URL or server name
-
AssetConsumer
public AssetConsumer(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- null URL or server name
-
AssetConsumer
public AssetConsumer(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- null URL or server name
-
AssetConsumer
public AssetConsumer(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- null URL or server name
-
AssetConsumer
public AssetConsumer(String serverName, String serverPlatformURLRoot, AssetConsumerRESTClient 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
-
getAssetForConnection
public String getAssetForConnection(String userId, String connectionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Returns the unique identifier for the asset connected to the requested connection.- Specified by:
getAssetForConnectionin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerAssetInterface- Parameters:
userId- the userId of the requesting user.connectionGUID- unique identifier for the connection.- Returns:
- unique identifier of 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 information from the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getAssetForConnectionName
public String getAssetForConnectionName(String userId, String connectionName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Returns the asset corresponding to the supplied connection name.- Specified by:
getAssetForConnectionNamein interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerAssetInterface- Parameters:
userId- userId of user making request.connectionName- this may be the qualifiedName or displayName of the connection.- Returns:
- unique identifier of 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 information from the property server(s).org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
findAssets
public List<String> 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. The search string is interpreted as a regular expression (RegEx).- Specified by:
findAssetsin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerAssetInterface- 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
-
getAssetsByName
public List<String> 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.assetconsumer.api.AssetConsumerAssetInterface- 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
-
getAssetsByToken
public List<String> getAssetsByToken(String userId, String assetToken, 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 a list of assets that match the token. The following calls are issued in order for find the asset. - getAssetProperties passing the token as the GUID - getAssetByName passing the token as the name- Specified by:
getAssetsByTokenin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerAssetInterface- Parameters:
userId- userId of user making request.assetToken- token used to find the Asset - may be a name or GUIDstartFrom- starting element (used in paging through large result sets)pageSize- maximum number of results to return- Returns:
- a list of unique identifiers for the matching assets
- 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.
-
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.assetconsumer.api.AssetConsumerAssetInterface- 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.
-
addRatingToAsset
public void addRatingToAsset(String userId, String assetGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.StarRating starRating, String review, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Adds a star rating and optional review text to the asset. If the user has already attached a rating then the original one is over-ridden.- Specified by:
addRatingToAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for the asset.starRating- StarRating enumeration for not recommended, one to five stars.review- user review of asset. This can be null.isPublic- indicates whether the feedback should be shared or only be visible to the originating user- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
removeRatingFromAsset
public void removeRatingFromAsset(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 Removes of a review that was added to the asset by this user.- Specified by:
removeRatingFromAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for the attached 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 updating the asset properties in the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
addLikeToAsset
public void addLikeToAsset(String userId, String assetGUID, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Adds a "LikeProperties" to the asset.- Specified by:
addLikeToAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making requestassetGUID- unique identifier for the assetisPublic- indicates whether the feedback should be shared or only be visible to the originating user- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
removeLikeFromAsset
public void removeLikeFromAsset(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 Removes a "LikeProperties" added to the asset by this user.- Specified by:
removeLikeFromAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for the like object.- 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 updating the asset properties in the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
addCommentToAsset
public String addCommentToAsset(String userId, String assetGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType, String commentText, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Adds a comment to the asset.- Specified by:
addCommentToAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for the asset.commentType- type of comment enum.commentText- the text of the comment.isPublic- indicates whether the feedback should be shared or only be visible to the originating user- Returns:
- guid of new comment.
- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
addCommentReply
public String addCommentReply(String userId, String assetGUID, String commentGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType, String commentText, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Adds a comment to another comment.- Specified by:
addCommentReplyin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- String - unique id of asset that this chain of comments is linked.commentGUID- unique identifier for an existing comment. Used to add a reply to a comment.commentType- type of comment enum.commentText- the text of the comment.isPublic- indicates whether the feedback should be shared or only be visible to the originating user- Returns:
- guid of new comment.
- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
updateComment
public void updateComment(String userId, String assetGUID, String commentGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType, String commentText, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Update an existing comment.- Specified by:
updateCommentin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for the asset that the comment is attached to (directly or indirectly).commentGUID- unique identifier for the comment to change.commentType- type of comment enum.commentText- the text of the comment.isPublic- indicates whether the feedback should be shared or only be visible to the originating user- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
removeComment
public void removeComment(String userId, String assetGUID, String commentGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Removes a comment added to the asset by this user.- Specified by:
removeCommentin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerFeedbackInterface- Parameters:
userId- userId of user making request.assetGUID- unique identifier for the asset object.commentGUID- unique identifier for the comment object.- 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 updating the asset properties in the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user does not have permission to perform this request.
-
getMeaning
public org.odpi.openmetadata.accessservices.assetconsumer.elements.MeaningElement getMeaning(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return the full definition (meaning) of a term using the unique identifier of the glossary term that contains the definition.- Specified by:
getMeaningin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerGlossaryInterface- Parameters:
userId- userId of the user making the request.guid- unique identifier of the glossary term.- Returns:
- properties that describe the meaning
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
getMeaningByName
public List<org.odpi.openmetadata.accessservices.assetconsumer.elements.MeaningElement> getMeaningByName(String userId, String term, 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 the full definition (meaning) of the terms exactly matching the supplied name.- Specified by:
getMeaningByNamein interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerGlossaryInterface- Parameters:
userId- the name of the calling user.term- name of term.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of glossary terms that contain the properties that describe the term name, and it's meaning.
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
findMeanings
public List<org.odpi.openmetadata.accessservices.assetconsumer.elements.MeaningElement> findMeanings(String userId, String term, 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 the full definition (meaning) of the terms matching the supplied name.- Specified by:
findMeaningsin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerGlossaryInterface- Parameters:
userId- the name of the calling user.term- name of term. This may include wild card characters.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- meaning list response or
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
getAssetsByMeaning
public List<String> getAssetsByMeaning(String userId, String termGUID, 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 the list of unique identifiers for assets that are linked to a specific (meaning) either directly or via fields in the schema.- Specified by:
getAssetsByMeaningin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerGlossaryInterface- Parameters:
userId- the name of the calling user.termGUID- unique identifier of term.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- asset guid list
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
addLogMessageToAsset
public void addLogMessageToAsset(String userId, String assetGUID, String connectorInstanceId, String connectionName, String connectorType, String contextId, String message) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Creates an Audit log record about the asset. This log record is stored in the local server's Audit Log.- Specified by:
addLogMessageToAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerLoggingInterface- Parameters:
userId- userId of user making request.assetGUID- unique id for the asset.connectorInstanceId- (optional) id of connector in use (if any).connectionName- (optional) name of the connection (extracted from the connector).connectorType- (optional) type of connector in use (if any).contextId- (optional) function name, or processId of the activity that the caller is performing.message- log record content.- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
createPublicTag
public String createPublicTag(String userId, String tagName, String tagDescription) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Creates a new public informal tag and returns the unique identifier for it.- Specified by:
createPublicTagin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.tagName- name of the tag.tagDescription- (optional) description of the tag. Setting a description, particularly in a public tag makes the tag more valuable to other users and can act as an embryonic glossary term.- Returns:
- GUID for new tag.
- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
createPrivateTag
public String createPrivateTag(String userId, String tagName, String tagDescription) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Creates a new private informal tag and returns the unique identifier for it.- Specified by:
createPrivateTagin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.tagName- name of the tag.tagDescription- (optional) description of the tag. Setting a description, particularly in a public tag makes the tag more valuable to other users and can act as an embryonic glossary term.- Returns:
- GUID for new tag.
- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
updateTagDescription
public void updateTagDescription(String userId, String tagGUID, String tagDescription) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Updates the description of an existing tag (either private or public).- Specified by:
updateTagDescriptionin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.tagGUID- unique identifier for the tag.tagDescription- description of the tag. Setting a description, particularly in a public tag makes the tag more valuable to other users and can act as an embryonic glossary term.- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
deleteTag
public void deleteTag(String userId, String tagGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Removes a tag from the repository. A private tag can be deleted by its creator and all the references are lost; a public tag can be deleted by anyone, but only if it is not attached to any referenceable.- Specified by:
deleteTagin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.tagGUID- unique id for the tag.- 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 updating the asset properties in the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getTag
public org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement getTag(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Return the tag for the supplied unique identifier (guid).- Specified by:
getTagin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of the user making the request.guid- unique identifier of the tag.- Returns:
- tag
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
getTagsByName
public List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement> getTagsByName(String userId, String tag, 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 the list of tags exactly matching the supplied name.- Specified by:
getTagsByNamein interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- the name of the calling user.tag- name of tag.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- tag list
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
getMyTagsByName
public List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement> getMyTagsByName(String userId, String tag, 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 the list of the calling user's private tags exactly matching the supplied name.- Specified by:
getMyTagsByNamein interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- the name of the calling user.tag- name of tag.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- tag list
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
findTags
public List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement> findTags(String userId, String tag, 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 the list of tags containing the supplied string in either the name or description.- Specified by:
findTagsin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- the name of the calling user.tag- name of tag. This may include wild card characters.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- tag list
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
findMyTags
public List<org.odpi.openmetadata.accessservices.assetconsumer.elements.InformalTagElement> findMyTags(String userId, String tag, 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 the list of the calling user's private tags containing the supplied string in either the name or description.- Specified by:
findMyTagsin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- the name of the calling user.tag- name of tag. This may include wild card characters.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- tag list
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-
addTagToAsset
public void addTagToAsset(String userId, String assetGUID, String tagGUID, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Adds a tag (either private of public) to an asset.- Specified by:
addTagToAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.assetGUID- unique id for the asset.tagGUID- unique id of the tag.isPublic- flag indicating whether the attachment of the tag is public or not- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
addTagToElement
public void addTagToElement(String userId, String elementGUID, String tagGUID, boolean isPublic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Adds a tag (either private of public) to an element attached to an asset - such as schema element, glossary term, ...- Specified by:
addTagToElementin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.elementGUID- unique id for the element.tagGUID- unique id of the tag.isPublic- flag indicating whether the attachment of the tag is public or not- 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 adding the asset properties to the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
removeTagFromAsset
public void removeTagFromAsset(String userId, String assetGUID, String tagGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Removes a tag from the asset that was added by this user.- Specified by:
removeTagFromAssetin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.assetGUID- unique id for the asset.tagGUID- unique id for the tag.- 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 updating the asset properties in the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
removeTagFromElement
public void removeTagFromElement(String userId, String elementGUID, String tagGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Removes a tag from an element attached to an asset - such as schema element, glossary term, ... that was added by this user.- Specified by:
removeTagFromElementin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- userId of user making request.elementGUID- unique id for the element.tagGUID- unique id for the tag.- 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 updating the asset properties in the property server.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getAssetsByTag
public List<String> getAssetsByTag(String userId, String tagGUID, 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 the list of unique identifiers for assets that are linked to a specific tag either directly, or via one of its schema elements. An Asset's GUID may appear multiple times in the results if it is tagged multiple times with the requested tag.- Specified by:
getAssetsByTagin interfaceorg.odpi.openmetadata.accessservices.assetconsumer.api.AssetConsumerTaggingInterface- Parameters:
userId- the name of the calling user.tagGUID- unique identifier of tag.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- asset guid list
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the userId 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.
-