Class ReferenceDataHandler<VALID_VALUE,VALID_VALUE_ASSIGNMENT,VALID_VALUE_ASSIGNMENT_DEF,VALID_VALUE_IMPLEMENTATION,VALID_VALUE_IMPLEMENTATION_DEF,VALID_VALUE_MAPPING,REFERENCE_VALUE_ASSIGNMENT,REFERENCE_VALUE_ASSIGNED_ITEM>
java.lang.Object
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIRootHandler<B>
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler<B>
org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPITemplateHandler<B>
org.odpi.openmetadata.commonservices.generichandlers.ReferenceableHandler<B>
org.odpi.openmetadata.commonservices.generichandlers.ValidValuesHandler<VALID_VALUE>
org.odpi.openmetadata.commonservices.generichandlers.ReferenceDataHandler<VALID_VALUE,VALID_VALUE_ASSIGNMENT,VALID_VALUE_ASSIGNMENT_DEF,VALID_VALUE_IMPLEMENTATION,VALID_VALUE_IMPLEMENTATION_DEF,VALID_VALUE_MAPPING,REFERENCE_VALUE_ASSIGNMENT,REFERENCE_VALUE_ASSIGNED_ITEM>
public class ReferenceDataHandler<VALID_VALUE,VALID_VALUE_ASSIGNMENT,VALID_VALUE_ASSIGNMENT_DEF,VALID_VALUE_IMPLEMENTATION,VALID_VALUE_IMPLEMENTATION_DEF,VALID_VALUE_MAPPING,REFERENCE_VALUE_ASSIGNMENT,REFERENCE_VALUE_ASSIGNED_ITEM>
extends ValidValuesHandler<VALID_VALUE>
ReferenceDataHandler provides the methods to create and maintain lists of valid
value definitions grouped into a valid value set. Both valid value definitions and valid value sets have
the same attributes and so inherit from ValidValue where all the attributes are defined.
A set is just grouping of valid values. Valid value definitions and set can be nested many times in other valid value sets.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler
OpenMetadataAPIGenericHandler.AnchorIdentifiers
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIRootHandler
assetActionDescription, auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, qualifiedNamePropertyNamesList, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones
-
Constructor Summary
ConstructorDescriptionReferenceDataHandler
(OpenMetadataAPIGenericConverter<VALID_VALUE> converter, Class<VALID_VALUE> beanClass, OpenMetadataAPIGenericConverter<VALID_VALUE_ASSIGNMENT> validValueAssignmentConverter, Class<VALID_VALUE_ASSIGNMENT> validValueAssignmentClass, OpenMetadataAPIGenericConverter<VALID_VALUE_ASSIGNMENT_DEF> validValueAssignmentDefConverter, Class<VALID_VALUE_ASSIGNMENT_DEF> validValueAssignmentDefClass, OpenMetadataAPIGenericConverter<VALID_VALUE_IMPLEMENTATION> validValueImplementationConverter, Class<VALID_VALUE_IMPLEMENTATION> validValueImplementationClass, OpenMetadataAPIGenericConverter<VALID_VALUE_IMPLEMENTATION_DEF> validValueImplementationDefConverter, Class<VALID_VALUE_IMPLEMENTATION_DEF> validValueImplementationDefClass, OpenMetadataAPIGenericConverter<VALID_VALUE_MAPPING> validValueMappingConverter, Class<VALID_VALUE_MAPPING> validValueMappingClass, OpenMetadataAPIGenericConverter<REFERENCE_VALUE_ASSIGNMENT> referenceValueAssignmentConverter, Class<REFERENCE_VALUE_ASSIGNMENT> referenceValueAssignmentClass, OpenMetadataAPIGenericConverter<REFERENCE_VALUE_ASSIGNED_ITEM> referenceValueAssignedItemConverter, Class<REFERENCE_VALUE_ASSIGNED_ITEM> referenceValueAssignedItemClass, 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 -
Method Summary
Modifier and TypeMethodDescriptiongetReferenceValueAssignedItems
(String userId, String validValueGUID, String validValueGUIDParameter, List<String> serviceSupportedZones, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of referenceables that have this valid value as a reference value.getReferenceValueAssignments
(String userId, String referenceableGUID, String referenceableGUIDParameterName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of assigned reference values for a referenceable.getValidValueMappings
(String userId, String validValueGUID, String validValueGUIDParameter, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of mappings for a valid value.getValidValuesAssignmentConsumers
(String userId, String validValueGUID, String validValueGUIDParameter, List<String> serviceSupportedZones, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of consumers for a valid value.getValidValuesAssignmentDefinition
(String userId, String referenceableGUID, String referenceableGUIDParameter, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of valid values assigned to referenceable element.getValidValuesImplementationAssets
(String userId, String validValueGUID, String validValueGUIDParameter, List<String> serviceSupportedZones, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of implementations for a valid value.getValidValuesImplementationDefinitions
(String userId, String assetGUID, String assetGUIDParameter, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Page through the list of valid values defining the content of a reference data asset.void
linkValidValueToImplementation
(String userId, String externalSourceGUID, String externalSourceName, String validValueGUID, String assetGUID, String symbolicName, String implementationValue, Map<String, String> additionalValues, Date effectiveFrom, Date effectiveTo, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Link a valid value to an asset that provides the implementation.void
mapValidValues
(String userId, String externalSourceGUID, String externalSourceName, String validValue1GUID, String validValue2GUID, String associationDescription, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes, Date effectiveFrom, Date effectiveTo, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Link together 2 valid values from different sets that have equivalent values/meanings.void
unlinkValidValueFromImplementation
(String userId, String externalSourceGUID, String externalSourceName, String validValueGUID, String assetGUID, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Remove the link between a valid value and an implementing asset.void
unmapValidValues
(String userId, String externalSourceGUID, String externalSourceName, String validValue1GUID, String validValue2GUID, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) Remove the reference value link between a valid value and a referenceable (item).Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ValidValuesHandler
assignReferenceValueToItem, assignValidValueToConsumer, attachConsistentValidValues, attachValidValueToSet, createValidValue, createValidValue, createValidValueDefinition, createValidValueSet, deleteValidValue, detachConsistentValidValues, detachValidValueFromSet, findValidValues, getAssignedValidValues, getConsistentValidValues, getReferenceValues, getSetsForValidValue, getValidValueByGUID, getValidValueByName, getValidValues, getValidValueSetMembers, unassignReferenceValueFromItem, unassignValidValueFromConsumer, updateValidValue
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableHandler
addAssignmentScope, addDataFieldValuesClassification, addGovernanceActionClassification, addGovernanceDefinitionScope, addGovernanceExpectationsClassification, addGovernanceMeasurementsClassification, addGovernedBy, addImplementedBy, addMoreInformation, addOwner, addRetentionClassification, addSecurityTags, addStakeholder, addSubjectAreaClassification, addTemplateClassification, clearBusinessSignificant, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getAssignedActors, getAssignmentScope, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getCatalogTemplateList, getCollectionMembers, getCommissionedByStakeholder, getDataFieldValuesClassifiedElement, getDescriptiveElements, getElementsSourceFrom, getEntityByUniqueQualifiedName, getGovernanceActionClassifiedElements, getGovernanceDefinitionScope, getGovernedElements, getMeanings, getMoreInformation, getMoreInformation, getOwnersElements, getReferenceValueAssignees, getResourceList, getRetentionClassifiedElements, getSecurityTagsClassifiedElements, getSemanticAssignments, getSourceElements, getStakeholders, getSubjectAreaMembers, getSubjectAreaMembers, getSupportedByResource, getSupportedByTemplate, getValidValueConsumers, getVendorProperties, linkConsolidatedDuplicate, linkElementsAsPeerDuplicates, removeAssignmentScope, removeCatalogTemplate, removeDataFieldValuesClassification, removeGovernanceActionClassification, removeGovernanceDefinitionScope, removeGovernanceExpectationsClassification, removeGovernanceMeasurementsClassification, removeGovernedBy, removeImplementedBy, removeMoreInformation, removeOwner, removeResourceListMember, removeRetentionClassification, removeSecurityTags, removeSemanticAssignment, removeStakeholder, removeSubjectAreaClassification, removeTemplateClassification, saveCatalogTemplate, saveResourceListMember, saveSemanticAssignment, saveSemanticAssignment, saveSemanticAssignments, setBusinessSignificant, setVendorProperties, unlinkElementsAsPeerDuplicates
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPITemplateHandler
createBeanFromTemplate, createBeanFromTemplate
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler
addAnchorGUIDToBuilder, addAnchorsClassification, archiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanInRepository, createBeanInRepository, deleteAnchoredEntity, deleteBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, deleteRelationship, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findEntities, findEntities, findEntities, findEntities, getAllAttachmentLinks, getAnchorGUIDFromAnchorsClassification, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntities, getAttachedEntitiesFromUser, getAttachedEntity, getAttachedEntity, getAttachedEntityFromUser, getAttachmentLink, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getAttachmentsForType, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanHistory, getBeansByClassification, getBeansByCreator, getBeansByIntValue, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getDomainName, getDomainName, getEntitiesByIntValue, getEntitiesByType, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getSpecification, getSupplementaryProperties, getUniqueAttachmentLink, getUniqueAttachmentLink, isBeanIsolated, isEntityATypeOf, linkElementToElement, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, multiLinkElementToElement, relinkElementToNewElement, relinkElementToNewElement, removeClassificationFromRepository, removeClassificationFromRepository, setClassificationInRepository, setClassificationInRepository, setClassificationInRepository, setClassificationInRepository, uncheckedLinkElementToElement, undoBeanUpdateInRepository, undoBeanUpdateInRepository, undoBeanUpdateInRepository, unlinkAllElements, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanEffectivityDates, updateBeanEffectivityDates, updateBeanInRepository, updateBeanInRepository, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateClassificationEffectivityDates, updateElementToElementLink, updateElementToElementLink, updateElementToElementLink, updateRelationshipEffectivityDates, updateRelationshipEffectivityDates, updateRelationshipProperties, updateRelationshipProperties, validateAnchorEntity, validateAnchorEntity, validateUniqueProperty, verifyExternalSourceIdentity
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIRootHandler
getConverter, getElementStub, getRepositoryHandler, getRepositoryHelper, getServerName, getServiceName, getSupportedZones, getTypeDefByName, setSecurityVerifier
-
Constructor Details
-
ReferenceDataHandler
public ReferenceDataHandler(OpenMetadataAPIGenericConverter<VALID_VALUE> converter, Class<VALID_VALUE> beanClass, OpenMetadataAPIGenericConverter<VALID_VALUE_ASSIGNMENT> validValueAssignmentConverter, Class<VALID_VALUE_ASSIGNMENT> validValueAssignmentClass, OpenMetadataAPIGenericConverter<VALID_VALUE_ASSIGNMENT_DEF> validValueAssignmentDefConverter, Class<VALID_VALUE_ASSIGNMENT_DEF> validValueAssignmentDefClass, OpenMetadataAPIGenericConverter<VALID_VALUE_IMPLEMENTATION> validValueImplementationConverter, Class<VALID_VALUE_IMPLEMENTATION> validValueImplementationClass, OpenMetadataAPIGenericConverter<VALID_VALUE_IMPLEMENTATION_DEF> validValueImplementationDefConverter, Class<VALID_VALUE_IMPLEMENTATION_DEF> validValueImplementationDefClass, OpenMetadataAPIGenericConverter<VALID_VALUE_MAPPING> validValueMappingConverter, Class<VALID_VALUE_MAPPING> validValueMappingClass, OpenMetadataAPIGenericConverter<REFERENCE_VALUE_ASSIGNMENT> referenceValueAssignmentConverter, Class<REFERENCE_VALUE_ASSIGNMENT> referenceValueAssignmentClass, OpenMetadataAPIGenericConverter<REFERENCE_VALUE_ASSIGNED_ITEM> referenceValueAssignedItemConverter, Class<REFERENCE_VALUE_ASSIGNED_ITEM> referenceValueAssignedItemClass, 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- Parameters:
converter
- specific converter for the VALID_VALUE bean classbeanClass
- name of bean class that is represented by the generic class VALID_VALUEvalidValueAssignmentConverter
- specific converter for the VALID_VALUE_ASSIGNMENT bean classvalidValueAssignmentClass
- name of bean class that is represented by the generic class VALID_VALUE_ASSIGNMENTvalidValueAssignmentDefConverter
- specific converter for the VALID_VALUE_ASSIGNMENT_DEF bean classvalidValueAssignmentDefClass
- name of bean class that is represented by the generic class VALID_VALUE_ASSIGNMENT_DEFvalidValueImplementationConverter
- specific converter for the VALID_VALUE_IMPLEMENTATION bean classvalidValueImplementationClass
- name of bean class that is represented by the generic class VALID_VALUE_IMPLEMENTATIONvalidValueImplementationDefConverter
- specific converter for the VALID_VALUE_IMPLEMENTATION_DEF bean classvalidValueImplementationDefClass
- name of bean class that is represented by the generic class VALID_VALUE_IMPLEMENTATION_DEFvalidValueMappingConverter
- specific converter for the VALID_VALUE_MAPPING bean classvalidValueMappingClass
- name of bean class that is represented by the generic class VALID_VALUE_MAPPINGreferenceValueAssignmentConverter
- specific converter for the REFERENCE_VALUE_ASSIGNMENT bean classreferenceValueAssignmentClass
- name of bean class that is represented by the generic class REFERENCE_VALUE_ASSIGNMENTreferenceValueAssignedItemConverter
- specific converter for the REFERENCE_VALUE_ASSIGNED_ITEM bean classreferenceValueAssignedItemClass
- name of bean class that is represented by the generic class REFERENCE_VALUE_ASSIGNED_ITEMserviceName
- 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.
-
-
Method Details
-
linkValidValueToImplementation
public void linkValidValueToImplementation(String userId, String externalSourceGUID, String externalSourceName, String validValueGUID, String assetGUID, String symbolicName, String implementationValue, Map<String, String> additionalValues, Date effectiveFrom, Date effectiveTo, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerExceptionLink a valid value to an asset that provides the implementation. Typically, this method is used to link a valid value set to a code table.- Parameters:
userId
- calling user.externalSourceGUID
- guid of the software capability entity that represented the external source - null for localexternalSourceName
- name of the software capability entity that represented the external sourcevalidValueGUID
- unique identifier of the valid value.assetGUID
- unique identifier of the asset that implements the valid value.symbolicName
- lookup name for valid valueimplementationValue
- value used in implementationadditionalValues
- additional values stored under the symbolic nameeffectiveFrom
- starting time for this relationship (null for all time)effectiveTo
- ending time for this relationship (null for all time)forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?effectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
unlinkValidValueFromImplementation
public void unlinkValidValueFromImplementation(String userId, String externalSourceGUID, String externalSourceName, String validValueGUID, String assetGUID, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the link between a valid value and an implementing asset.- Parameters:
userId
- calling user.externalSourceGUID
- guid of the software capability entity that represented the external source - null for localexternalSourceName
- name of the software capability entity that represented the external sourcevalidValueGUID
- unique identifier of the valid value.assetGUID
- unique identifier of the asset that used to implement the valid value.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
mapValidValues
public void mapValidValues(String userId, String externalSourceGUID, String externalSourceName, String validValue1GUID, String validValue2GUID, String associationDescription, int confidence, String steward, String stewardTypeName, String stewardPropertyName, String notes, Date effectiveFrom, Date effectiveTo, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link together 2 valid values from different sets that have equivalent values/meanings.- Parameters:
userId
- calling user.externalSourceGUID
- guid of the software capability entity that represented the external source - null for localexternalSourceName
- name of the software capability entity that represented the external sourcevalidValue1GUID
- unique identifier of the valid value.validValue2GUID
- unique identifier of the other valid value to link to.associationDescription
- how are the valid values related?confidence
- how confident is the steward that this mapping is correct (0-100).steward
- identifier of stewardstewardTypeName
- type of element that represents stewardstewardPropertyName
- property name of steward identifiernotes
- additional notes from the stewardeffectiveFrom
- starting time for this relationship (null for all time)effectiveTo
- ending time for this relationship (null for all time)forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
unmapValidValues
public void unmapValidValues(String userId, String externalSourceGUID, String externalSourceName, String validValue1GUID, String validValue2GUID, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the reference value link between a valid value and a referenceable (item).- Parameters:
userId
- calling user.externalSourceGUID
- guid of the software capability entity that represented the external source - null for localexternalSourceName
- name of the software capability entity that represented the external sourcevalidValue1GUID
- unique identifier of the valid value.validValue2GUID
- unique identifier of the other valid value element to remove the link from.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
getValidValuesAssignmentConsumers
public List<VALID_VALUE_ASSIGNMENT> getValidValuesAssignmentConsumers(String userId, String validValueGUID, String validValueGUIDParameter, List<String> serviceSupportedZones, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of consumers for a valid value.- Parameters:
userId
- calling uservalidValueGUID
- unique identifier of valid value to queryvalidValueGUIDParameter
- parameter name for validValueGUIDserviceSupportedZones
- list of zones that define which assets can be retrieved.startFrom
- paging starting pointpageSize
- maximum number of return values.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of valid value consumer beans
- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
getValidValuesAssignmentDefinition
public List<VALID_VALUE_ASSIGNMENT_DEF> getValidValuesAssignmentDefinition(String userId, String referenceableGUID, String referenceableGUIDParameter, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of valid values assigned to referenceable element.- Parameters:
userId
- calling userreferenceableGUID
- unique identifier of anchoring referenceablereferenceableGUIDParameter
- name of parameter for referenceableGUIDstartFrom
- paging starting pointpageSize
- maximum number of return values.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of valid value consumer beans
- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
getValidValuesImplementationAssets
public List<VALID_VALUE_IMPLEMENTATION> getValidValuesImplementationAssets(String userId, String validValueGUID, String validValueGUIDParameter, List<String> serviceSupportedZones, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of implementations for a valid value.- Parameters:
userId
- calling uservalidValueGUID
- unique identifier of valid value to queryvalidValueGUIDParameter
- parameter supplying the validValueGUID valueserviceSupportedZones
- list of zones that define which assets can be retrieved.startFrom
- paging starting pointpageSize
- maximum number of return values.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of valid value beans
- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
getValidValuesImplementationDefinitions
public List<VALID_VALUE_IMPLEMENTATION_DEF> getValidValuesImplementationDefinitions(String userId, String assetGUID, String assetGUIDParameter, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of valid values defining the content of a reference data asset. This is always called from the assetHandler after it has checked that the asset is in the right zone.- Parameters:
userId
- calling userassetGUID
- unique identifier of asset to queryassetGUIDParameter
- parameter providing the assetGUID valuestartFrom
- paging starting pointpageSize
- maximum number of return values.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of valid value beans
- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
getValidValueMappings
public List<VALID_VALUE_MAPPING> getValidValueMappings(String userId, String validValueGUID, String validValueGUIDParameter, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of mappings for a valid value. These are other valid values from different valid value sets that are equivalent in some way. The association description covers the type of association.- Parameters:
userId
- calling uservalidValueGUID
- unique identifier of valid value to queryvalidValueGUIDParameter
- name of parameter supplying the validValueGUIDstartFrom
- paging starting pointpageSize
- maximum number of return values.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of mappings to other valid value beans
- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-
getReferenceValueAssignedItems
public List<REFERENCE_VALUE_ASSIGNED_ITEM> getReferenceValueAssignedItems(String userId, String validValueGUID, String validValueGUIDParameter, List<String> serviceSupportedZones, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of referenceables that have this valid value as a reference value.- Parameters:
userId
- calling uservalidValueGUID
- unique identifier of valid value to queryvalidValueGUIDParameter
- name of parameter that provides the validValueGUID valueserviceSupportedZones
- list of zones that define which assets can be retrievedstartFrom
- paging starting pointpageSize
- maximum number of return valuesforLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of referenceable beans
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to make this requestPropertyServerException
- the repository is not available or not working properly
-
getReferenceValueAssignments
public List<REFERENCE_VALUE_ASSIGNMENT> getReferenceValueAssignments(String userId, String referenceableGUID, String referenceableGUIDParameterName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Page through the list of assigned reference values for a referenceable.- Parameters:
userId
- calling userreferenceableGUID
- unique identifier of assigned itemreferenceableGUIDParameterName
- name of parameter for referenceableGUIDstartFrom
- paging starting pointpageSize
- maximum number of return values.forLineage
- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing
- the request is for duplicate processing and so must not deduplicateeffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName
- calling method- Returns:
- list of valid value beans
- Throws:
InvalidParameterException
- one of the parameters is invalid.UserNotAuthorizedException
- the user is not authorized to make this request.PropertyServerException
- the repository is not available or not working properly.
-