public class GovernanceZoneManager extends Object implements GovernanceZoneManagerInterface
| Constructor and Description |
|---|
GovernanceZoneManager(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceZoneManager(String serverName,
String serverPlatformURLRoot,
int maxPageSize,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceZoneManager(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
GovernanceZoneManager(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 |
|---|---|
void |
createGovernanceZone(String userId,
String qualifiedName,
String displayName,
String description,
String criteria,
String scope,
int domainIdentifier,
Map<String,String> additionalProperties)
Create a definition of a governance zone.
|
GovernanceZoneElement |
getGovernanceZone(String userId,
String qualifiedName)
Return information about a specific governance zone.
|
List<GovernanceZoneElement> |
getGovernanceZones(String userId,
int startingFrom,
int maximumResults)
Return information about the defined governance zones.
|
public GovernanceZoneManager(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 GovernanceZoneManager(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 GovernanceZoneManager(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 GovernanceZoneManager(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 void createGovernanceZone(String userId, String qualifiedName, String displayName, String description, String criteria, String scope, int domainIdentifier, Map<String,String> additionalProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createGovernanceZone in interface GovernanceZoneManagerInterfaceuserId - calling userqualifiedName - unique name for the zone - used in other configurationdisplayName - short display name for the zonedescription - description of the governance zonecriteria - the criteria for inclusion in a governance zonescope - scope of the organization that this some applies todomainIdentifier - the identifier of the governance domain where the zone is managed - 0 means ALLadditionalProperties - additional properties for a governance zoneInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic GovernanceZoneElement getGovernanceZone(String userId, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceZone in interface GovernanceZoneManagerInterfaceuserId - calling userqualifiedName - unique name for the zoneInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<GovernanceZoneElement> getGovernanceZones(String userId, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceZones in interface GovernanceZoneManagerInterfaceuserId - calling userstartingFrom - position in the list (used when there are so many reports that paging is neededmaximumResults - maximum number of elements to return an this callInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2020 ODPi. All rights reserved.