public interface GovernanceDefinitionsInterface
| Modifier and Type | Method and Description |
|---|---|
void |
clearSupportingDefinition(String userId,
String definitionGUID,
String supportingDefinitionGUID,
String relationshipTypeName)
Remove the supporting link between two governance definitions.
|
String |
createGovernanceDefinition(String userId,
GovernanceDefinitionProperties properties)
Create a new governance definition.
|
void |
deleteGovernanceDefinition(String userId,
String definitionGUID)
Delete a specific governance definition.
|
void |
linkPeerDefinitions(String userId,
String definitionOneGUID,
String definitionTwoGUID,
String relationshipTypeName,
String description)
Link two related governance definitions together.
|
void |
setGovernanceDefinitionStatus(String userId,
String definitionGUID,
GovernanceDefinitionStatus newStatus)
Update the status of a governance definition
|
void |
setupSupportingDefinition(String userId,
String definitionGUID,
String supportingDefinitionGUID,
String relationshipTypeName,
String rationale)
Create a link to show that a governance definition supports the requirements of another governance definition.
|
void |
unlinkPeerDefinitions(String userId,
String definitionOneGUID,
String definitionTwoGUID,
String relationshipTypeName)
Remove the link between two definitions.
|
void |
updateGovernanceDefinition(String userId,
String definitionGUID,
boolean isMergeUpdate,
GovernanceDefinitionProperties properties)
Update an existing governance definition.
|
String createGovernanceDefinition(String userId, GovernanceDefinitionProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userproperties - properties of the definitionInvalidParameterException - typeName, documentIdentifier or userId is null; documentIdentifier is not unique; typeName is not validPropertyServerException - problem accessing the metadata serviceUserNotAuthorizedException - security access problemvoid updateGovernanceDefinition(String userId, String definitionGUID, boolean isMergeUpdate, GovernanceDefinitionProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionGUID - unique identifier of the definition to updateisMergeUpdate - are unspecified properties unchanged (true) or removed?properties - properties to updateInvalidParameterException - guid, documentIdentifier or userId is null; documentIdentifier is not unique; guid is not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid setGovernanceDefinitionStatus(String userId, String definitionGUID, GovernanceDefinitionStatus newStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionGUID - unique identifiernewStatus - new statusInvalidParameterException - guid, status or userId is null; guid is not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid deleteGovernanceDefinition(String userId, String definitionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionGUID - unique identifier of the definition to removeInvalidParameterException - guid is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid linkPeerDefinitions(String userId, String definitionOneGUID, String definitionTwoGUID, String relationshipTypeName, String description) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionOneGUID - unique identifier of the first definitiondefinitionTwoGUID - unique identifier of the second definitionrelationshipTypeName - the name of the relationship to createdescription - description of their relationshipInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid unlinkPeerDefinitions(String userId, String definitionOneGUID, String definitionTwoGUID, String relationshipTypeName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionOneGUID - unique identifier of the first definitiondefinitionTwoGUID - unique identifier of the second definitionrelationshipTypeName - the name of the relationship to deleteInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid setupSupportingDefinition(String userId, String definitionGUID, String supportingDefinitionGUID, String relationshipTypeName, String rationale) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionGUID - unique identifier of the governance definitionsupportingDefinitionGUID - unique identifier of the supporting governance definitionrelationshipTypeName - the name of the relationship to createrationale - description of how the supporting definition provides supportInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid clearSupportingDefinition(String userId, String definitionGUID, String supportingDefinitionGUID, String relationshipTypeName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdefinitionGUID - unique identifier of the governance definitionsupportingDefinitionGUID - unique identifier of the supporting governance definitionrelationshipTypeName - the name of the relationship to deleteInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.