Interface GovernanceProgramReviewInterface
public interface GovernanceProgramReviewInterface
The GovernanceProgramReviewInterface supports the periodic review of the governance program.
This includes looking at the metrics and the governance zones.
-
Method Summary
Modifier and TypeMethodDescriptionfindGovernanceDefinitions(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.getGovernanceDefinitionByGUID(String userId, String definitionGUID) Retrieve the governance definition by the unique identifier assigned by this service when it was created.getGovernanceDefinitionInContext(String userId, String governanceDefinitionGUID) Return the governance definition associated with a unique identifier and the other governance definitions linked to it.getGovernanceDefinitionMetrics(String userId, String governanceDefinitionGUID, int startFrom, int pageSize) Return details of the metrics for a governance definition along with details of where thegetGovernanceDefinitionsForDocId(String userId, String typeName, String docId, int startFrom, int pageSize) Return the list of governance definitions associated with a unique docId.getGovernanceDefinitionsForDomain(String userId, String typeName, int domainIdentifier, int startFrom, int pageSize) Return the list of governance definitions associated with a particular governance domain.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>getGovernanceZoneMembers(String userId, String zoneName, String subTypeName, int startFrom, int pageSize) Return the list of assets that are members of a particular zone.
-
Method Details
-
getGovernanceDefinitionByGUID
GovernanceDefinitionElement getGovernanceDefinitionByGUID(String userId, String definitionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the governance definition by the unique identifier assigned by this service when it was created.- Parameters:
userId- calling userdefinitionGUID- identifier of the governance definition to retrieve- Returns:
- properties of the governance definition
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- guid or userId is null; guid is not recognizedorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getGovernanceDefinitionsForDomain
List<GovernanceDefinitionElement> getGovernanceDefinitionsForDomain(String userId, String typeName, int domainIdentifier, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of governance definitions associated with a particular governance domain.- Parameters:
userId- 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 call- Returns:
- list of governance definitions
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to issue the requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the metadata service has problems
-
getGovernanceDefinitionsForDocId
List<GovernanceDefinitionElement> getGovernanceDefinitionsForDocId(String userId, String typeName, String docId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of governance definitions associated with a unique docId. In an ideal world, there should be only one.- Parameters:
userId- calling usertypeName- option type 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 call- Returns:
- list of governance definitions
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to issue the requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the metadata service has problems
-
getGovernanceDefinitionInContext
GovernanceDefinitionGraph getGovernanceDefinitionInContext(String userId, String governanceDefinitionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the governance definition associated with a unique identifier and the other governance definitions linked to it.- Parameters:
userId- calling usergovernanceDefinitionGUID- unique identifier of the governance definition- Returns:
- governance definition and its linked elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to issue the requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the metadata service has problems
-
findGovernanceDefinitions
List<GovernanceDefinitionElement> findGovernanceDefinitions(String userId, String typeName, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of governance definitions that match the search string - this can be a regular expression.- Parameters:
userId- calling usertypeName- option type 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 call- Returns:
- list of governance definitions
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to issue the requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the metadata service has problems
-
getGovernanceDefinitionMetrics
List<GovernanceMetricImplementation> getGovernanceDefinitionMetrics(String userId, String governanceDefinitionGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return details of the metrics for a governance definition along with details of where the- Parameters:
userId- 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 call- Returns:
- list of associated metrics and links for retrieving the captured measurements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to issue the requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the metadata service has problems
-
getGovernanceZoneMembers
List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getGovernanceZoneMembers(String userId, String zoneName, String subTypeName, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of assets that are members of a particular zone.- Parameters:
userId- calling userzoneName- unique name of the zone to search forsubTypeName- optional asset subtypeName to limit the resultsstartFrom- where to start from in the list of assetspageSize- max number of results to return in one call- Returns:
- list of headers for assets in the requested zone
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to issue the requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- the metadata service has problems
-