public class GovernanceProgramReviewManager extends Object implements GovernanceProgramReviewInterface
| Constructor and Description |
|---|
GovernanceProgramReviewManager(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceProgramReviewManager(String serverName,
String serverPlatformURLRoot,
GovernanceProgramRESTClient restClient,
int maxPageSize)
Create a new client that uses the supplied rest client.
|
GovernanceProgramReviewManager(String serverName,
String serverPlatformURLRoot,
int maxPageSize,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceProgramReviewManager(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
GovernanceProgramReviewManager(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 |
|---|---|
List<GovernanceDefinitionElement> |
findGovernanceDefinitions(String userId,
String typeName,
String searchString,
int startFrom,
int pageSize)
Return the list of governance definitions that match the search string - this can be a regular expression.
|
List<ElementStub> |
getElementsGovernedByDefinition(String userId,
String governanceDefinitionGUID,
int startFrom,
int pageSize)
Return the elements that are governed by the supplied governance definition.
|
GovernanceDefinitionGraph |
getGovernanceDefinitionInContext(String userId,
String governanceDefinitionGUID)
Return the governance definition associated with a unique identifier and the other governance definitions linked to it.
|
List<GovernanceMetricImplementation> |
getGovernanceDefinitionMetrics(String userId,
String governanceDefinitionGUID,
int startFrom,
int pageSize)
Return details of the metrics for a governance definition along with details of where the
|
List<GovernanceDefinitionElement> |
getGovernanceDefinitionsForDocId(String userId,
String typeName,
String docId,
int startFrom,
int pageSize)
Return the list of governance definitions associated with a unique docId.
|
List<GovernanceDefinitionElement> |
getGovernanceDefinitionsForDomain(String userId,
String typeName,
int domainIdentifier,
int startFrom,
int pageSize)
Return the list of governance definitions associated with a particular governance domain.
|
GovernanceZoneInAction |
getGovernanceZoneInAction(String userId,
String zoneGUID)
Return detailed information about the requested governance zone.
|
List<ElementStub> |
getGovernanceZoneMembers(String userId,
String zoneGUID,
int startFrom,
int pageSize)
Return the list of assets that are members of a particular zone.
|
public GovernanceProgramReviewManager(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 - bad input parameterspublic GovernanceProgramReviewManager(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 - bad input parameterspublic GovernanceProgramReviewManager(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 - bad input parameterspublic GovernanceProgramReviewManager(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 - bad input parameterspublic GovernanceProgramReviewManager(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 List<GovernanceDefinitionElement> getGovernanceDefinitionsForDomain(String userId, String typeName, int domainIdentifier, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceDefinitionsForDomain in interface GovernanceProgramReviewInterfaceuserId - calling usertypeName - option type name to restrict retrieval to a specific typedomainIdentifier - identifier of the governance domain - 0 = all domainsstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic List<GovernanceDefinitionElement> getGovernanceDefinitionsForDocId(String userId, String typeName, String docId, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceDefinitionsForDocId in interface GovernanceProgramReviewInterfaceuserId - calling usertypeName - option types name to restrict retrieval to a specific typedocId - unique name of the governance definitionstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic GovernanceDefinitionGraph getGovernanceDefinitionInContext(String userId, String governanceDefinitionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceDefinitionInContext in interface GovernanceProgramReviewInterfaceuserId - calling usergovernanceDefinitionGUID - unique identifier of the governance definitionInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic List<ElementStub> getElementsGovernedByDefinition(String userId, String governanceDefinitionGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getElementsGovernedByDefinition in interface GovernanceProgramReviewInterfaceuserId - calling usergovernanceDefinitionGUID - unique name of the governance definitionstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic List<GovernanceDefinitionElement> findGovernanceDefinitions(String userId, String typeName, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
findGovernanceDefinitions in interface GovernanceProgramReviewInterfaceuserId - calling usertypeName - option types name to restrict retrieval to a specific typesearchString - value to search forstartFrom - where to start from in the list of definition resultspageSize - max number of results to return in one callInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic List<GovernanceMetricImplementation> getGovernanceDefinitionMetrics(String userId, String governanceDefinitionGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceDefinitionMetrics in interface GovernanceProgramReviewInterfaceuserId - calling usergovernanceDefinitionGUID - unique name of the governance definitionstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic GovernanceZoneInAction getGovernanceZoneInAction(String userId, String zoneGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceZoneInAction in interface GovernanceProgramReviewInterfaceuserId - calling userzoneGUID - unique identifier of the zone to search forInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemspublic List<ElementStub> getGovernanceZoneMembers(String userId, String zoneGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceZoneMembers in interface GovernanceProgramReviewInterfaceuserId - calling userzoneGUID - unique identifier of the zone to search forstartFrom - where to start from in the list of assetspageSize - max number of results to return in one callInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the caller is not authorized to issue the requestPropertyServerException - the metadata service has problemsCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.