public class ValidValuesAssetOwner extends AssetOwner implements AssetOnboardingValidValues
restClientauditLog, invalidParameterHandler, nullRequestBody, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
ValidValuesAssetOwner(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
ValidValuesAssetOwner(String serverName,
String serverPlatformURLRoot,
AssetOwnerRESTClient restClient,
int maxPageSize,
AuditLog auditLog)
Create a new client that is going to be used in an OMAG Server (view service or integration service typically).
|
ValidValuesAssetOwner(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request and an audit log.
|
ValidValuesAssetOwner(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
ValidValuesAssetOwner(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attachValidValueToSet(String userId,
String setGUID,
String validValueGUID)
Create a link between a valid value set or definition and a set.
|
String |
createValidValueDefinition(String userId,
String setGUID,
String qualifiedName,
String displayName,
String description,
String usage,
String scope,
String preferredValue,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties)
Create a new valid value definition.
|
String |
createValidValueSet(String userId,
String qualifiedName,
String displayName,
String description,
String usage,
String scope,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties)
Create a new valid value set.
|
void |
deleteValidValue(String userId,
String validValueGUID,
String qualifiedName)
Remove the valid value form the repository.
|
void |
detachValidValueFromSet(String userId,
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 searchString,
int startFrom,
int pageSize)
Locate valid values that match the search string.
|
List<ValidValueElement> |
getSetsForValidValue(String userId,
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 validValueGUID)
Retrieve a specific valid value from the repository.
|
List<ValidValueElement> |
getValidValueByName(String userId,
String validValueName,
int startFrom,
int pageSize)
Retrieve a specific valid value from the repository.
|
List<ValidValueElement> |
getValidValueSetMembers(String userId,
String validValueSetGUID,
int startFrom,
int pageSize)
Page through the members of a valid value set.
|
void |
updateValidValue(String userId,
String validValueGUID,
String qualifiedName,
String displayName,
String description,
String usage,
String scope,
String preferredValue,
boolean isDeprecated,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties)
Update the properties of the valid value.
|
addAssetOrigin, addAssetToCatalog, addAssetToCatalog, addAssetToCatalogUsingTemplate, addCombinedSchemaToAsset, addConnectionToAsset, addSchemaAttribute, addSchemaAttributes, addSchemaTypeToAsset, addSecurityTags, addSemanticAssignment, addTemplateClassification, attachSchemaTypeToAsset, deleteAsset, deleteAssetSchemaType, detachSchemaTypeFromAsset, findAssets, getAssetProperties, getAssetsByName, getAssetSummary, getConnectorToAsset, getDiscoveryAnalysisReports, getDiscoveryReportAnnotations, getExtendedAnnotations, getTypesOfAnnotation, getTypesOfAnnotationWithDescriptions, getTypesOfAsset, getTypesOfAssetWithDescriptions, linkElementsAsDuplicates, publishAsset, removeAssetOrigin, removeSecurityTags, removeSemanticAssignment, removeTemplateClassification, unlinkElementsAsDuplicates, updateAssetOwner, updateAssetZones, withdrawAssetgetAssetForConnection, getAssetProperties, getAssetSummary, getConnectionByGUID, getConnectionByName, getConnectionForAsset, getConnectorForConnectionpublic ValidValuesAssetOwner(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public ValidValuesAssetOwner(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public ValidValuesAssetOwner(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public ValidValuesAssetOwner(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public ValidValuesAssetOwner(String serverName, String serverPlatformURLRoot, AssetOwnerRESTClient restClient, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversrestClient - client that issues the REST API callsmaxPageSize - maximum number of results supported by this serverauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public String createValidValueSet(String userId, String qualifiedName, String displayName, String description, String usage, String scope, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createValidValueSet in interface AssetOnboardingValidValuesuserId - calling user.qualifiedName - unique name.displayName - displayable descriptive name.description - further information.usage - how/when should this set be used.scope - what is the scope of this set's values.additionalProperties - additional properties for this set.extendedProperties - properties that need to be populated into a subtype.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.public String createValidValueDefinition(String userId, String setGUID, String qualifiedName, String displayName, String description, String usage, String scope, String preferredValue, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createValidValueDefinition in interface AssetOnboardingValidValuesuserId - calling user.setGUID - unique identifier of the set to attach this to.qualifiedName - unique name.displayName - displayable descriptive name.description - further information.usage - how/when should this value be used.preferredValue - the value that should be used in an implementation if possible.additionalProperties - additional properties for this definition.extendedProperties - properties that need to be populated into a subtype.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.public void updateValidValue(String userId, String validValueGUID, String qualifiedName, String displayName, String description, String usage, String scope, String preferredValue, boolean isDeprecated, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateValidValue in interface AssetOnboardingValidValuesuserId - calling user.validValueGUID - unique identifier of the valid value.qualifiedName - unique name.displayName - displayable descriptive name.description - further information.usage - how/when should this value be used.scope - what is the scope of the values.preferredValue - the value that should be used in an implementation if possible.isDeprecated - is this value deprecated?additionalProperties - additional properties for this valid value.extendedProperties - properties that need to be populated into a subtype.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.public void deleteValidValue(String userId, String validValueGUID, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
deleteValidValue in interface AssetOnboardingValidValuesuserId - calling uservalidValueGUID - unique identifier of the value to deletequalifiedName - unique name of the value to delete. This is used to verify that
the correct valid value is being deleted.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.public void attachValidValueToSet(String userId, String setGUID, String validValueGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
attachValidValueToSet in interface AssetOnboardingValidValuesuserId - calling user.setGUID - 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.public void detachValidValueFromSet(String userId, String setGUID, String validValueGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
detachValidValueFromSet in interface AssetOnboardingValidValuesuserId - calling usersetGUID - 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.public ValidValueElement getValidValueByGUID(String userId, String validValueGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getValidValueByGUID in interface AssetOnboardingValidValuesuserId - calling uservalidValueGUID - 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.public List<ValidValueElement> getValidValueByName(String userId, String validValueName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getValidValueByName in interface AssetOnboardingValidValuesuserId - calling uservalidValueName - 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.public List<ValidValueElement> findValidValues(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
findValidValues in interface AssetOnboardingValidValuesuserId - calling usersearchString - 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.public List<ValidValueElement> getValidValueSetMembers(String userId, String validValueSetGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getValidValueSetMembers in interface AssetOnboardingValidValuesuserId - calling user.validValueSetGUID - 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.public List<ValidValueElement> getSetsForValidValue(String userId, String validValueGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getSetsForValidValue in interface AssetOnboardingValidValuesuserId - calling user.validValueGUID - 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.