public class GovernanceClassificationLevelManager extends Object implements GovernanceClassificationLevelInterface
| Constructor and Description |
|---|
GovernanceClassificationLevelManager(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceClassificationLevelManager(String serverName,
String serverPlatformURLRoot,
GovernanceProgramRESTClient restClient,
int maxPageSize)
Create a new client that uses the supplied rest client.
|
GovernanceClassificationLevelManager(String serverName,
String serverPlatformURLRoot,
int maxPageSize,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceClassificationLevelManager(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
GovernanceClassificationLevelManager(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
int maxPageSize,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createGovernanceLevelIdentifier(String userId,
String setGUID,
GovernanceLevelIdentifierProperties properties)
Create a new metadata element to represent a governance classification level identifier.
|
String |
createGovernanceLevelIdentifierSet(String userId,
GovernanceLevelIdentifierSetProperties properties)
Create a new metadata element to represent the root of a Governance Level Classification Identifier Set.
|
String |
createStandardGovernanceClassificationLevels(String userId,
String classificationName)
Create a governance level identifier set for a specific governance classification:
Impact - classification used to document the impact of an issue or situation.
Criticality - classification used to document how critical an asset or activity is.
Retention - classification used to identify the basis that an asset should be retained.
Confidence - classification use to document an assessment of the quality of an asset or element with an asset.
Confidentiality - classification use to define how much access to an asset should be restricted.
|
GovernanceLevelIdentifierElement |
getGovernanceLevelIdentifier(String userId,
String classificationName,
int levelIdentifier)
Retrieve the governance classification level identifier metadata element for the requested level within a specific governance classification.
|
GovernanceLevelIdentifierSetElement |
getGovernanceLevelIdentifierSet(String userId,
String classificationName)
Retrieve the Governance Level Identifier Set for a requested governance classification.
|
GovernanceLevelIdentifierSetElement |
getGovernanceLevelIdentifierSetByGUID(String userId,
String setGUID)
Retrieve the Governance Level Identifier Set metadata element with the supplied unique identifier.
|
List<GovernanceLevelIdentifierSetElement> |
getGovernanceLevelIdentifierSets(String userId)
Retrieve the list of defined Governance Classification Level Identifier Sets.
|
void |
removeGovernanceLevelIdentifier(String userId,
String identifierGUID)
Remove the metadata element representing a governance classification level identifier.
|
void |
removeGovernanceLevelIdentifierSet(String userId,
String setGUID)
Remove the metadata element representing a Governance Classification Level Identifier Set and all linked level identifiers.
|
void |
updateGovernanceLevelIdentifier(String userId,
String identifierGUID,
GovernanceLevelIdentifierProperties properties)
Update the metadata element representing a governance classification level identifier.
|
void |
updateGovernanceLevelIdentifierSet(String userId,
String setGUID,
GovernanceLevelIdentifierSetProperties properties)
Update the metadata element representing a Governance Classification Level Identifier Set.
|
public GovernanceClassificationLevelManager(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 GovernanceClassificationLevelManager(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 GovernanceClassificationLevelManager(String serverName, String serverPlatformURLRoot, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversmaxPageSize - pre-initialized parameter limitauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceClassificationLevelManager(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, 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 requestsmaxPageSize - pre-initialized parameter limitauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceClassificationLevelManager(String serverName, String serverPlatformURLRoot, GovernanceProgramRESTClient restClient, int maxPageSize) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversrestClient - internal client for rest callsmaxPageSize - pre-initialized parameter limitInvalidParameterException - bad input parameterspublic String createStandardGovernanceClassificationLevels(String userId, String classificationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createStandardGovernanceClassificationLevels in interface GovernanceClassificationLevelInterfaceuserId - calling userclassificationName - name of the classification level to set upInvalidParameterExceptionUserNotAuthorizedExceptionPropertyServerExceptionpublic String createGovernanceLevelIdentifierSet(String userId, GovernanceLevelIdentifierSetProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createGovernanceLevelIdentifierSet in interface GovernanceClassificationLevelInterfaceuserId - calling userproperties - properties to storeInvalidParameterException - 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 updateGovernanceLevelIdentifierSet(String userId, String setGUID, GovernanceLevelIdentifierSetProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateGovernanceLevelIdentifierSet in interface GovernanceClassificationLevelInterfaceuserId - calling usersetGUID - unique identifier of the metadata element to removeproperties - new properties for this elementInvalidParameterException - 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 removeGovernanceLevelIdentifierSet(String userId, String setGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeGovernanceLevelIdentifierSet in interface GovernanceClassificationLevelInterfaceuserId - calling usersetGUID - unique identifier of the metadata element to removeInvalidParameterException - 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 List<GovernanceLevelIdentifierSetElement> getGovernanceLevelIdentifierSets(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceLevelIdentifierSets in interface GovernanceClassificationLevelInterfaceuserId - calling userInvalidParameterException - 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 GovernanceLevelIdentifierSetElement getGovernanceLevelIdentifierSet(String userId, String classificationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceLevelIdentifierSet in interface GovernanceClassificationLevelInterfaceuserId - calling userclassificationName - classificationName to search forInvalidParameterException - 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 GovernanceLevelIdentifierSetElement getGovernanceLevelIdentifierSetByGUID(String userId, String setGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceLevelIdentifierSetByGUID in interface GovernanceClassificationLevelInterfaceuserId - calling usersetGUID - unique identifier of the requested metadata elementInvalidParameterException - 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 String createGovernanceLevelIdentifier(String userId, String setGUID, GovernanceLevelIdentifierProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createGovernanceLevelIdentifier in interface GovernanceClassificationLevelInterfaceuserId - calling usersetGUID - unique identifier of the set that this identifier belongsproperties - properties about the GovernanceClassificationLevelIdentifier to storeInvalidParameterException - 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 updateGovernanceLevelIdentifier(String userId, String identifierGUID, GovernanceLevelIdentifierProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateGovernanceLevelIdentifier in interface GovernanceClassificationLevelInterfaceuserId - calling useridentifierGUID - unique identifier of the metadata element to updateproperties - new properties for the metadata elementInvalidParameterException - 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 removeGovernanceLevelIdentifier(String userId, String identifierGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeGovernanceLevelIdentifier in interface GovernanceClassificationLevelInterfaceuserId - calling useridentifierGUID - unique identifier of the metadata element to removeInvalidParameterException - 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 GovernanceLevelIdentifierElement getGovernanceLevelIdentifier(String userId, String classificationName, int levelIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceLevelIdentifier in interface GovernanceClassificationLevelInterfaceuserId - calling userclassificationName - string to find in the propertieslevelIdentifier - level value to retrieveInvalidParameterException - 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)Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.