Interface GovernanceStatusLevelInterface
-
public interface GovernanceStatusLevelInterfaceGovernanceStatusLevelInterface defines the status levels of status for governance elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateGovernanceStatusIdentifier(String userId, String setGUID, GovernanceStatusIdentifierProperties properties)Create a new metadata element to represent a governance status level identifier.StringcreateGovernanceStatusIdentifierSet(String userId, GovernanceStatusIdentifierSetProperties properties)Create a new metadata element to represent the root of a Governance Status Level Identifier Sets.StringcreateStandardGovernanceStatusLevels(String userId)Create a governance status identifier set using the standard values defined in GovernanceStatus enumGovernanceStatusIdentifierElementgetGovernanceStatusIdentifier(String userId, int statusIdentifier)Retrieve the governance status level identifier metadata element for the requested level within a specific governance status.GovernanceStatusIdentifierSetElementgetGovernanceStatusIdentifierSetByGUID(String userId, String setGUID)Retrieve the Governance Level Identifier Set metadata element with the supplied unique identifier.List<GovernanceStatusIdentifierSetElement>getGovernanceStatusIdentifierSets(String userId)Retrieve the list of Governance Status Level Identifier Sets.voidremoveGovernanceStatusIdentifier(String userId, String identifierGUID)Remove the metadata element representing a governance status level identifier.voidremoveGovernanceStatusIdentifierSet(String userId, String setGUID)Remove the metadata element representing a Governance Status Level Identifier Sets and all linked level identifiers.voidupdateGovernanceStatusIdentifier(String userId, String identifierGUID, GovernanceStatusIdentifierProperties properties)Update the metadata element representing a governance status level identifier.voidupdateGovernanceStatusIdentifierSet(String userId, String setGUID, GovernanceStatusIdentifierSetProperties properties)Update the metadata element representing a Governance Status Level Identifier Sets.
-
-
-
Method Detail
-
createStandardGovernanceStatusLevels
String createStandardGovernanceStatusLevels(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a governance status identifier set using the standard values defined in GovernanceStatus enum- Parameters:
userId- calling user- Returns:
- unique identifier of the governance level identifier set
- Throws:
InvalidParameterException- 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)
-
createGovernanceStatusIdentifierSet
String createGovernanceStatusIdentifierSet(String userId, GovernanceStatusIdentifierSetProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent the root of a Governance Status Level Identifier Sets.- Parameters:
userId- calling userproperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException- 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)
-
updateGovernanceStatusIdentifierSet
void updateGovernanceStatusIdentifierSet(String userId, String setGUID, GovernanceStatusIdentifierSetProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata element representing a Governance Status Level Identifier Sets.- Parameters:
userId- calling usersetGUID- unique identifier of the metadata element to removeproperties- new properties for this element- Throws:
InvalidParameterException- 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)
-
removeGovernanceStatusIdentifierSet
void removeGovernanceStatusIdentifierSet(String userId, String setGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a Governance Status Level Identifier Sets and all linked level identifiers.- Parameters:
userId- calling usersetGUID- unique identifier of the metadata element to remove- Throws:
InvalidParameterException- 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)
-
getGovernanceStatusIdentifierSets
List<GovernanceStatusIdentifierSetElement> getGovernanceStatusIdentifierSets(String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of Governance Status Level Identifier Sets.- Parameters:
userId- calling user- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
getGovernanceStatusIdentifierSetByGUID
GovernanceStatusIdentifierSetElement getGovernanceStatusIdentifierSetByGUID(String userId, String setGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the Governance Level Identifier Set metadata element with the supplied unique identifier.- Parameters:
userId- calling usersetGUID- unique identifier of the requested metadata element- Returns:
- matching metadata element
- Throws:
InvalidParameterException- 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)
-
createGovernanceStatusIdentifier
String createGovernanceStatusIdentifier(String userId, String setGUID, GovernanceStatusIdentifierProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a governance status level identifier.- Parameters:
userId- calling userproperties- properties about the Governance LevelIdentifier to storesetGUID- unique identifier of the set that this identifier belongs- Returns:
- unique identifier of the new Governance LevelIdentifier
- Throws:
InvalidParameterException- 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)
-
updateGovernanceStatusIdentifier
void updateGovernanceStatusIdentifier(String userId, String identifierGUID, GovernanceStatusIdentifierProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata element representing a governance status level identifier.- Parameters:
userId- calling useridentifierGUID- unique identifier of the metadata element to updateproperties- new properties for the metadata element- Throws:
InvalidParameterException- 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)
-
removeGovernanceStatusIdentifier
void removeGovernanceStatusIdentifier(String userId, String identifierGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a governance status level identifier.- Parameters:
userId- calling useridentifierGUID- unique identifier of the metadata element to remove- Throws:
InvalidParameterException- 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)
-
getGovernanceStatusIdentifier
GovernanceStatusIdentifierElement getGovernanceStatusIdentifier(String userId, int statusIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the governance status level identifier metadata element for the requested level within a specific governance status.- Parameters:
userId- calling userstatusIdentifier- level value to retrieve- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException- 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)
-
-