public class ReferenceableHandler<B> extends OpenMetadataAPIGenericHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
ReferenceableHandler(OpenMetadataAPIGenericConverter<B> converter,
Class<B> beanClass,
String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
String localServerUserId,
OpenMetadataServerSecurityVerifier securityVerifier,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
AuditLog auditLog)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOwner(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String owner,
String ownerTypeName,
String ownerPropertyName,
String methodName)
Add or replace the ownership for a referenceable.
|
void |
addSecurityTags(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
List<String> securityLabels,
Map<String,Object> securityProperties,
String methodName)
Add or replace the security tags for a referenceable.
|
void |
addTemplateClassification(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String name,
String description,
Map<String,String> additionalProperties,
String methodName)
Classify an asset as suitable to be used as a template for cataloguing assets of a similar types.
|
void |
clearBusinessSignificant(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String methodName)
Remove the "BusinessSignificant" designation from the element.
|
List<String> |
findBeanGUIDsByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of unique identifiers for referenceables with the requested qualified name.
|
List<String> |
findBeanGUIDsByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of unique identifiers for referenceables with the requested qualified name.
|
List<B> |
findBeansByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of referenceables with the requested qualified name.
|
List<B> |
findBeansByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of referenceables with the requested qualified name.
|
B |
getBeanByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
String methodName)
Return the bean with the requested qualified name.
|
B |
getBeanByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
String methodName)
Return the bean with the requested qualified name.
|
String |
getBeanGUIDByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
String methodName)
Return the bean with the requested qualified name.
|
String |
getBeanGUIDByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
String methodName)
Return the unique identifier of the bean with the requested qualified name.
|
List<String> |
getBeanGUIDsByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of unique identifiers for referenceables with the requested qualified name.
|
List<String> |
getBeanGUIDsByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of unique identifiers for referenceables with the requested qualified name.
|
List<B> |
getBeansByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
int startFrom,
int pageSize,
String methodName)
Return a list of referenceables with the requested qualified name.
|
List<B> |
getBeansByQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Return a list of referenceables with the requested qualified name.
|
List<B> |
getCollectionMembers(String userId,
String collectionGUID,
String collectionGUIDParameterName,
int startFrom,
int pageSize,
String methodName)
Return the list of elements associated with a definition.
|
EntityDetail |
getEntityByUniqueQualifiedName(String userId,
String typeGUID,
String typeName,
String name,
String nameParameterName,
String methodName)
Return the entity for a qualified name - if multiple entities have this name, an exception
is thrown.
|
List<B> |
getMoreInformation(String userId,
String startingGUID,
String startingGUIDParameterName,
String suppliedStartingTypeName,
String suppliedResultingTypeName,
int startFrom,
int pageSize,
String methodName)
Returns the list of elements that are linked to provide more information.
|
List<B> |
getMoreInformation(String userId,
String startingGUID,
String startingGUIDParameterName,
String suppliedStartingTypeName,
String suppliedResultingTypeName,
List<String> serviceSupportedZones,
int startFrom,
int pageSize,
String methodName)
Returns the list of elements that are linked to provide more information.
|
Map<String,String> |
getVendorProperties(String userId,
String referenceableGUID,
String methodName)
Retrieve the property facet for the vendor properties.
|
void |
linkElementsAsDuplicates(String userId,
String element1GUID,
String element1GUIDParameter,
String element2GUID,
String element2GUIDParameter,
String methodName)
Create a simple relationship between two elements in an Asset description (typically the asset itself or
attributes in their schema).
|
void |
removeOwner(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String methodName)
Remove the ownership classification from a referenceable.
|
void |
removeResourceListMember(String userId,
String externalSourceGUID,
String externalSourceName,
String beanGUID,
String beanGUIDParameter,
String memberGUID,
String memberGUIDParameter,
String methodName)
Remove the relationship between a referenceable and a resource it uses.
|
void |
removeSecurityTags(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String methodName)
Remove the security tags classification from a referenceable.
|
void |
removeSemanticAssignment(String userId,
String externalSourceGUID,
String externalSourceName,
String beanGUID,
String beanGUIDParameter,
String glossaryTermGUID,
String glossaryTermGUIDParameter,
String methodName)
Remove the relationship between a glossary term and a referenceable (typically
a field in the schema).
|
void |
removeTemplateClassification(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String methodName)
Remove the classification that indicates that this asset can be used as a template.
|
void |
saveResourceListMember(String userId,
String externalSourceGUID,
String externalSourceName,
String beanGUID,
String beanGUIDParameter,
String memberGUID,
String memberGUIDParameter,
String resourceUse,
boolean watchResource,
String methodName)
Create a relationship between a referenceable and a resource it uses.
|
void |
saveSemanticAssignment(String userId,
String externalSourceGUID,
String externalSourceName,
String beanGUID,
String beanGUIDParameter,
String glossaryTermGUID,
String glossaryTermGUIDParameter,
String methodName)
Create a simple relationship between a glossary term and a referenceable.
|
void |
saveSemanticAssignment(String userId,
String externalSourceGUID,
String externalSourceName,
String beanGUID,
String beanGUIDParameter,
String glossaryTermGUID,
String glossaryTermGUIDParameter,
String description,
String expression,
int statusOrdinal,
int confidence,
String createdBy,
String steward,
String source,
String methodName)
Create a simple relationship between a glossary term and a referenceable.
|
void |
setBusinessSignificant(String userId,
String beanGUID,
String beanGUIDParameterName,
String beanGUIDTypeName,
String description,
String scope,
String businessCapabilityGUID,
String methodName)
Classify a referenceable as "BusinessSignificant" (this may effect the way that lineage is displayed).
|
void |
unlinkElementsAsDuplicates(String userId,
String element1GUID,
String element1GUIDParameter,
String element2GUID,
String element2GUIDParameter,
String methodName)
Remove the relationship between two elements that marks them as duplicates.
|
archiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanFromTemplate, createBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByIntValue, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByIntValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getRepositoryHelper, getServiceName, getUniqueAttachmentLink, getUniqueAttachmentLink, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, relinkElementToNewElement, relinkElementToNewElement, removeClassificationFromRepository, setClassificationInRepository, setClassificationInRepository, setSecurityVerifier, unlinkAllElements, unlinkAllElements, unlinkConnectedElement, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanEffectivityDates, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateClassificationEffectivityDates, updateElementToElementLink, updateElementToElementLink, updateRelationshipEffectivityDates, updateRelationshipProperties, validateAnchorEntity, validateAnchorEntity, verifyExternalSourceIdentitypublic ReferenceableHandler(OpenMetadataAPIGenericConverter<B> converter, Class<B> beanClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
converter - specific converter for this bean classbeanClass - name of bean class that is represented by the generic class BserviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectslocalServerUserId - userId for this serversecurityVerifier - open metadata security services verifiersupportedZones - list of zones that the access service is allowed to serve Asset instances from.defaultZones - list of zones that the access service should set in all new Asset instances.publishZones - list of zones that the access service sets up in published Asset instances.auditLog - destination for audit log events.public String getBeanGUIDByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public String getBeanGUIDByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getBeanByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public B getBeanByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getBeanGUIDsByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> getBeanGUIDsByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> getBeansByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public EntityDetail getEntityByUniqueQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search fornameParameterName - property that provided the namemethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> findBeanGUIDsByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this is a regular expression (RegEx)nameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<String> findBeanGUIDsByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this is a regular expression (RegEx)nameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findBeansByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this is a regular expression (RegEx)nameParameterName - property that provided the namestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public List<B> findBeansByQualifiedName(String userId, String typeGUID, String typeName, String name, String nameParameterName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertypeGUID - unique identifier of the asset type to search for (null for the generic Asset type)typeName - unique identifier of the asset type to search for (null for the generic Asset type)name - name to search for - this is a regular expression (RegEx)nameParameterName - property that provided the nameserviceSupportedZones - list of supported zones for this servicestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.public void addOwner(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String owner, String ownerTypeName, String ownerPropertyName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of beanbeanGUIDParameterName - name of parameter supplying the beanGUIDbeanGUIDTypeName - type of beanowner - name of the ownerownerTypeName - type of element that owner comes fromownerPropertyName - name of property used to identify ownermethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeOwner(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of entity to updatebeanGUIDParameterName - name of parameter providing beanGUIDbeanGUIDTypeName - type of beanmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void addSecurityTags(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, List<String> securityLabels, Map<String,Object> securityProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of beanbeanGUIDParameterName - name of parameter supplying the beanGUIDbeanGUIDTypeName - type of beansecurityLabels - list of security labels defining the security characteristics of the elementsecurityProperties - Descriptive labels describing origin of the assetmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeSecurityTags(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of entity to updatebeanGUIDParameterName - name of parameter providing beanGUIDbeanGUIDTypeName - type of beanmethodName - calling methodInvalidParameterException - entity not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void setBusinessSignificant(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String description, String scope, String businessCapabilityGUID, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of entity to updatebeanGUIDParameterName - name of parameter providing beanGUIDbeanGUIDTypeName - type of beandescription - description of why this is significantscope - scope of its business significancebusinessCapabilityGUID - unique identifier of the business capability that rates this as significantmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void clearBusinessSignificant(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of entity to updatebeanGUIDParameterName - name of parameter providing beanGUIDbeanGUIDTypeName - type of beanmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void addTemplateClassification(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String name, String description, Map<String,String> additionalProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of beanbeanGUIDParameterName - name of parameter supplying the beanGUIDbeanGUIDTypeName - type of beanname - name of the templatedescription - description of when, where and how to use the templateadditionalProperties - any additional propertiesmethodName - calling methodInvalidParameterException - asset or element not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void removeTemplateClassification(String userId, String beanGUID, String beanGUIDParameterName, String beanGUIDTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userbeanGUID - unique identifier of beanbeanGUIDParameterName - name of parameter supplying the beanGUIDbeanGUIDTypeName - type of beanmethodName - calling methodInvalidParameterException - asset or element not known, null userId or guidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<B> getMoreInformation(String userId, String startingGUID, String startingGUIDParameterName, String suppliedStartingTypeName, String suppliedResultingTypeName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String userId of user making request.startingGUID - String unique id for element.startingGUIDParameterName - name of parameter supplying the GUIDsuppliedStartingTypeName - name of the type of object that the search begins with - null means referenceablesuppliedResultingTypeName - name of the type of object that the search returns - null mean referenceablestartFrom - int starting position for fist returned element.pageSize - int maximum number of elements to return on the call.methodName - String calling methodInvalidParameterException - - the GUID is not recognized or the paging values are invalid orPropertyServerException - - there is a problem retrieving the asset properties from the property server orUserNotAuthorizedException - - the requesting user is not authorized to issue this request.public List<B> getMoreInformation(String userId, String startingGUID, String startingGUIDParameterName, String suppliedStartingTypeName, String suppliedResultingTypeName, List<String> serviceSupportedZones, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String userId of user making request.startingGUID - String unique id for element.startingGUIDParameterName - name of parameter supplying the GUIDsuppliedStartingTypeName - name of the type of object that the search begins with - null means referenceablesuppliedResultingTypeName - name of the type of object that the search returns - null mean referenceableserviceSupportedZones - supported zones for calling servicestartFrom - int starting position for fist returned element.pageSize - int maximum number of elements to return on the call.methodName - String calling methodInvalidParameterException - - the GUID is not recognized or the paging values are invalid orPropertyServerException - - there is a problem retrieving the asset properties from the property server orUserNotAuthorizedException - - the requesting user is not authorized to issue this request.public void saveSemanticAssignment(String userId, String externalSourceGUID, String externalSourceName, String beanGUID, String beanGUIDParameter, String glossaryTermGUID, String glossaryTermGUIDParameter, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localbeanGUID - unique identifier of the asset that is being describedbeanGUIDParameter - parameter supply the beanGUIDglossaryTermGUID - unique identifier of the glossary termglossaryTermGUIDParameter - parameter supplying the list of GlossaryTermGUIDmethodName - calling methodInvalidParameterException - the guid properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void saveSemanticAssignment(String userId, String externalSourceGUID, String externalSourceName, String beanGUID, String beanGUIDParameter, String glossaryTermGUID, String glossaryTermGUIDParameter, String description, String expression, int statusOrdinal, int confidence, String createdBy, String steward, String source, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localbeanGUID - unique identifier of the element that is being describedbeanGUIDParameter - parameter supply the beanGUIDglossaryTermGUID - unique identifier of the glossary termglossaryTermGUIDParameter - parameter supplying the list of GlossaryTermGUIDdescription - description of the assignmentexpression - expression used to determine the assignmentstatusOrdinal - the status of the assignmentconfidence - how confident is the assignment - no confidence = 0 to complete confidence = 100createdBy - who/what created the assignmentsteward - which steward is responsible for assignmentsource - where was the source of the assignmentmethodName - calling methodInvalidParameterException - the guid properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void removeSemanticAssignment(String userId, String externalSourceGUID, String externalSourceName, String beanGUID, String beanGUIDParameter, String glossaryTermGUID, String glossaryTermGUIDParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcebeanGUID - unique identifier of the element that is being describedbeanGUIDParameter - parameter supply the beanGUIDglossaryTermGUID - unique identifier of the glossary termglossaryTermGUIDParameter - parameter supplying the list of GlossaryTermGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void saveResourceListMember(String userId, String externalSourceGUID, String externalSourceName, String beanGUID, String beanGUIDParameter, String memberGUID, String memberGUIDParameter, String resourceUse, boolean watchResource, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external source - null for localbeanGUID - unique identifier of the startign elementbeanGUIDParameter - parameter supplying the beanGUIDmemberGUID - unique identifier of the element to linkmemberGUIDParameter - parameter supplying the memberGUIDresourceUse - description of the way that the resource list is usedwatchResource - should changes in the members result in notificationsmethodName - calling methodInvalidParameterException - the guid properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void removeResourceListMember(String userId, String externalSourceGUID, String externalSourceName, String beanGUID, String beanGUIDParameter, String memberGUID, String memberGUIDParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcebeanGUID - unique identifier of the referenceablebeanGUIDParameter - parameter supplying beanGUIDmemberGUID - unique identifier of the glossary termmemberGUIDParameter - parameter supplying memberGUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<B> getCollectionMembers(String userId, String collectionGUID, String collectionGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usercollectionGUID - unique identifier of the collection to querycollectionGUIDParameterName - name of the parameter supplying collectionGUIDstartFrom - paging start pointpageSize - maximum results that can be returnedmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void linkElementsAsDuplicates(String userId, String element1GUID, String element1GUIDParameter, String element2GUID, String element2GUIDParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userelement1GUID - unique identifier of first elementelement1GUIDParameter - name of parameter supplying element1GUIDelement2GUID - unique identifier of second elementelement2GUIDParameter - name of parameter supplying element2GUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void unlinkElementsAsDuplicates(String userId, String element1GUID, String element1GUIDParameter, String element2GUID, String element2GUIDParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userelement1GUID - unique identifier of first elementelement1GUIDParameter - name of parameter supplying element1GUIDelement2GUID - unique identifier of second elementelement2GUIDParameter - name of parameter supplying element2GUIDmethodName - calling methodInvalidParameterException - one of the parameters is null or invalid or the elements are not linked as duplicatesPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic Map<String,String> getVendorProperties(String userId, String referenceableGUID, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userreferenceableGUID - unique identifier of the metadata elementmethodName - calling methodInvalidParameterException - one of the parameters is null or invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.