public interface ValidValuesExchangeInterface
| Modifier and Type | Method and Description |
|---|---|
void |
attachValidValueToSet(String userId,
String assetManagerGUID,
String assetManagerName,
String setGUID,
String validValueGUID)
Create a link between a valid value set or definition and a set.
|
String |
createValidValueDefinition(String userId,
String setGUID,
String assetManagerGUID,
String assetManagerName,
String validValueExternalIdentifier,
String validValueExternalIdentifierName,
String validValueExternalIdentifierUsage,
String validValueExternalIdentifierSource,
KeyPattern validValueExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
ValidValueProperties validValueProperties)
Create a new valid value definition.
|
String |
createValidValueSet(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueExternalIdentifier,
String validValueExternalIdentifierName,
String validValueExternalIdentifierUsage,
String validValueExternalIdentifierSource,
KeyPattern validValueExternalIdentifierKeyPattern,
Map<String,String> mappingProperties,
ValidValueProperties validValueProperties)
Create a new valid value set.
|
void |
detachValidValueFromSet(String userId,
String assetManagerGUID,
String assetManagerName,
String setGUID,
String validValueGUID)
Remove the link between a valid value and a set it is a member of.
|
List<ValidValueElement> |
findValidValues(String userId,
String assetManagerGUID,
String assetManagerName,
String searchString,
int startFrom,
int pageSize)
Locate valid values that match the search string.
|
List<ValidValueElement> |
getSetsForValidValue(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueGUID,
int startFrom,
int pageSize)
Page through the list of valid value sets that a valid value definition/set belongs to.
|
ValidValueElement |
getValidValueByGUID(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueGUID)
Retrieve a specific valid value from the repository.
|
List<ValidValueElement> |
getValidValueByName(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueName,
int startFrom,
int pageSize)
Retrieve a specific valid value from the repository.
|
List<ValidValueElement> |
getValidValueSetMembers(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueSetGUID,
int startFrom,
int pageSize)
Page through the members of a valid value set.
|
void |
removeValidValue(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueGUID,
String validValueExternalIdentifier)
Remove the valid value form the repository.
|
void |
updateValidValue(String userId,
String assetManagerGUID,
String assetManagerName,
String validValueGUID,
String validValueExternalIdentifier,
boolean isMergeUpdate,
ValidValueProperties validValueProperties)
Update the properties of the valid value.
|
String createValidValueSet(String userId, String assetManagerGUID, String assetManagerName, String validValueExternalIdentifier, String validValueExternalIdentifierName, String validValueExternalIdentifierUsage, String validValueExternalIdentifierSource, KeyPattern validValueExternalIdentifierKeyPattern, Map<String,String> mappingProperties, ValidValueProperties validValueProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueExternalIdentifier - unique identifier of the valid value in the external asset managervalidValueExternalIdentifierName - name of property for the external identifier in the external asset managervalidValueExternalIdentifierUsage - optional usage description for the external identifier when calling the external asset managervalidValueExternalIdentifierSource - component that issuing this request.validValueExternalIdentifierKeyPattern - pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties - additional properties to help with the mapping of the elements in the external asset manager and open metadatavalidValueProperties - properties to storeInvalidParameterException - 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.String createValidValueDefinition(String userId, String setGUID, String assetManagerGUID, String assetManagerName, String validValueExternalIdentifier, String validValueExternalIdentifierName, String validValueExternalIdentifierUsage, String validValueExternalIdentifierSource, KeyPattern validValueExternalIdentifierKeyPattern, Map<String,String> mappingProperties, ValidValueProperties validValueProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.setGUID - unique identifier of the set to attach this to.assetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueExternalIdentifier - unique identifier of the valid value in the external asset managervalidValueExternalIdentifierName - name of property for the external identifier in the external asset managervalidValueExternalIdentifierUsage - optional usage description for the external identifier when calling the external asset managervalidValueExternalIdentifierSource - component that issuing this request.validValueExternalIdentifierKeyPattern - pattern for the external identifier within the external asset manager (default is LOCAL_KEY)mappingProperties - additional properties to help with the mapping of the elements in the external asset manager and open metadatavalidValueProperties - properties to storeInvalidParameterException - 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.void updateValidValue(String userId, String assetManagerGUID, String assetManagerName, String validValueGUID, String validValueExternalIdentifier, boolean isMergeUpdate, ValidValueProperties validValueProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.assetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueGUID - unique identifier of the valid value.validValueExternalIdentifier - unique identifier of the valid value in the external asset managerisMergeUpdate - should the new properties be merged with existing properties (true) or completely replace them (false)?validValueProperties - properties to storeInvalidParameterException - 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.void removeValidValue(String userId, String assetManagerGUID, String assetManagerName, String validValueGUID, String validValueExternalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueGUID - unique identifier of the valid value.validValueExternalIdentifier - unique identifier of the valid value in the external asset managerInvalidParameterException - 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.void attachValidValueToSet(String userId, String assetManagerGUID, String assetManagerName, String setGUID, String validValueGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.assetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callersetGUID - unique identifier of the set.validValueGUID - unique identifier of the valid value to add to the set.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.void detachValidValueFromSet(String userId, String assetManagerGUID, String assetManagerName, String setGUID, String validValueGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callersetGUID - owning setvalidValueGUID - unique identifier of the member to be removed.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.ValidValueElement getValidValueByGUID(String userId, String assetManagerGUID, String assetManagerName, String validValueGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueGUID - unique identifier of the valid value.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.List<ValidValueElement> getValidValueByName(String userId, String assetManagerGUID, String assetManagerName, String validValueName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueName - qualified name of the valid value.startFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnInvalidParameterException - 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.List<ValidValueElement> findValidValues(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callersearchString - string value to look for - may contain RegEx characters.startFrom - paging starting pointpageSize - maximum number of return values.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.List<ValidValueElement> getValidValueSetMembers(String userId, String assetManagerGUID, String assetManagerName, String validValueSetGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.assetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueSetGUID - unique identifier of the valid value set.startFrom - paging starting pointpageSize - maximum number of return values.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.List<ValidValueElement> getSetsForValidValue(String userId, String assetManagerGUID, String assetManagerName, String validValueGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling user.assetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callervalidValueGUID - unique identifier of valid value to querystartFrom - paging starting pointpageSize - maximum number of return values.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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.