public interface GovernanceActionProcessInterface
| Modifier and Type | Method and Description |
|---|---|
String |
createGovernanceActionProcess(String userId,
GovernanceActionProcessProperties processProperties,
ProcessStatus initialStatus)
Create a new metadata element to represent a governance action process.
|
String |
createGovernanceActionType(String userId,
GovernanceActionTypeProperties actionTypeProperties)
Create a new metadata element to represent a governance action type.
|
List<GovernanceActionProcessElement> |
findGovernanceActionProcesses(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of governance action process metadata elements that contain the search string.
|
List<GovernanceActionTypeElement> |
findGovernanceActionTypes(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of governance action type metadata elements that contain the search string.
|
GovernanceActionTypeElement |
getFirstActionType(String userId,
String processGUID)
Return the governance action type that is the first step in a governance action process.
|
GovernanceActionProcessElement |
getGovernanceActionProcessByGUID(String userId,
String processGUID)
Retrieve the governance action process metadata element with the supplied unique identifier.
|
List<GovernanceActionProcessElement> |
getGovernanceActionProcessesByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of governance action process metadata elements with a matching qualified or display name.
|
GovernanceActionTypeElement |
getGovernanceActionTypeByGUID(String userId,
String actionTypeGUID)
Retrieve the governance action type metadata element with the supplied unique identifier.
|
List<GovernanceActionTypeElement> |
getGovernanceActionTypesByName(String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of governance action type metadata elements with a matching qualified or display name.
|
List<NextGovernanceActionTypeElement> |
getNextGovernanceActionTypes(String userId,
String actionTypeGUID,
int startFrom,
int pageSize)
Return the lust of next action type defined for the governance action process.
|
void |
publishGovernanceActionProcess(String userId,
String processGUID)
Update the zones for the asset so that it becomes visible to consumers.
|
void |
removeFirstActionType(String userId,
String processGUID)
Remove the link between a governance process and that governance action type that defines its first step.
|
void |
removeGovernanceActionProcess(String userId,
String processGUID)
Remove the metadata element representing a governance action process.
|
void |
removeGovernanceActionType(String userId,
String actionTypeGUID)
Remove the metadata element representing a governance action type.
|
void |
removeNextActionType(String userId,
String actionLinkGUID)
Remove a follow on step from a governance action process.
|
void |
setupFirstActionType(String userId,
String processGUID,
String actionTypeGUID,
String guard)
Set up a link between an governance action process and a governance action type.
|
String |
setupNextActionType(String userId,
String currentActionTypeGUID,
String nextActionTypeGUID,
String guard,
boolean mandatoryGuard,
boolean ignoreMultipleTriggers)
Add a link between two governance action types to show that one follows on from the other when a governance action process
is executing.
|
void |
updateGovernanceActionProcess(String userId,
String processGUID,
boolean isMergeUpdate,
ProcessStatus processStatus,
GovernanceActionProcessProperties processProperties)
Update the metadata element representing a governance action process.
|
void |
updateGovernanceActionType(String userId,
String actionTypeGUID,
boolean isMergeUpdate,
GovernanceActionTypeProperties actionTypeProperties)
Update the metadata element representing a governance action type.
|
void |
updateNextActionType(String userId,
String nextActionLinkGUID,
String guard,
boolean mandatoryGuard,
boolean ignoreMultipleTriggers)
Update the properties of the link between two governance action types that shows that one follows on from the other when a governance
action process is executing.
|
void |
withdrawGovernanceActionProcess(String userId,
String processGUID)
Update the zones for the asset so that it is no longer visible to consumers.
|
String createGovernanceActionProcess(String userId, GovernanceActionProcessProperties processProperties, ProcessStatus initialStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessProperties - properties about the process to storeinitialStatus - status value for the new process (default = ACTIVE)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)void updateGovernanceActionProcess(String userId, String processGUID, boolean isMergeUpdate, ProcessStatus processStatus, GovernanceActionProcessProperties processProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the metadata element to updateisMergeUpdate - should the new properties be merged with existing properties (true) or completely replace them (false)?processStatus - new status for the processprocessProperties - new properties for the metadata elementInvalidParameterException - 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)void publishGovernanceActionProcess(String userId, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the metadata element to publishInvalidParameterException - 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)void withdrawGovernanceActionProcess(String userId, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the metadata element to withdrawInvalidParameterException - 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)void removeGovernanceActionProcess(String userId, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the metadata element to removeInvalidParameterException - 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)List<GovernanceActionProcessElement> findGovernanceActionProcesses(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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)List<GovernanceActionProcessElement> getGovernanceActionProcessesByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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)GovernanceActionProcessElement getGovernanceActionProcessByGUID(String userId, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the requested metadata elementInvalidParameterException - 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)String createGovernanceActionType(String userId, GovernanceActionTypeProperties actionTypeProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useractionTypeProperties - properties about the process to storeInvalidParameterException - 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)void updateGovernanceActionType(String userId, String actionTypeGUID, boolean isMergeUpdate, GovernanceActionTypeProperties actionTypeProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useractionTypeGUID - unique identifier of the metadata element to updateisMergeUpdate - should the new properties be merged with existing properties (true) or completely replace them (false)?actionTypeProperties - new properties for the metadata elementInvalidParameterException - 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)void removeGovernanceActionType(String userId, String actionTypeGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useractionTypeGUID - unique identifier of the metadata element to removeInvalidParameterException - 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)List<GovernanceActionTypeElement> findGovernanceActionTypes(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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)List<GovernanceActionTypeElement> getGovernanceActionTypesByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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)GovernanceActionTypeElement getGovernanceActionTypeByGUID(String userId, String actionTypeGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useractionTypeGUID - unique identifier of the governance action typeInvalidParameterException - 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)void setupFirstActionType(String userId, String processGUID, String actionTypeGUID, String guard) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the governance action processactionTypeGUID - unique identifier of the governance action typeguard - optional guard for the first governance service to runInvalidParameterException - 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)GovernanceActionTypeElement getFirstActionType(String userId, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the governance action processInvalidParameterException - 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)void removeFirstActionType(String userId, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userprocessGUID - unique identifier of the governance action processInvalidParameterException - 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)String setupNextActionType(String userId, String currentActionTypeGUID, String nextActionTypeGUID, String guard, boolean mandatoryGuard, boolean ignoreMultipleTriggers) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usercurrentActionTypeGUID - unique identifier of the governance action type that defines the previous step in the governance action processnextActionTypeGUID - unique identifier of the governance action type that defines the next step in the governance action processguard - guard required for this next step to proceed - or null for always run the next step.mandatoryGuard - means that no next steps can run if this guard is not returnedignoreMultipleTriggers - prevent multiple instances of the next step to run (or not)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)void updateNextActionType(String userId, String nextActionLinkGUID, String guard, boolean mandatoryGuard, boolean ignoreMultipleTriggers) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usernextActionLinkGUID - unique identifier of the relationship between the governance action typesguard - guard required for this next step to proceed - or null for always run the next step.mandatoryGuard - means that no next steps can run if this guard is not returnedignoreMultipleTriggers - prevent multiple instances of the next step to run (or not)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)List<NextGovernanceActionTypeElement> getNextGovernanceActionTypes(String userId, String actionTypeGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useractionTypeGUID - unique identifier of the current governance action typestartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - 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)void removeNextActionType(String userId, String actionLinkGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling useractionLinkGUID - unique identifier of the relationship between the governance action typesInvalidParameterException - 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)Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.