public class GovernanceActionProcessRESTServices extends Object
| Constructor and Description |
|---|
GovernanceActionProcessRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
createGovernanceActionProcess(String serverName,
String userId,
NewGovernanceActionProcessRequestBody requestBody)
Create a new metadata element to represent a governance action process.
|
GUIDResponse |
createGovernanceActionType(String serverName,
String userId,
GovernanceActionTypeProperties requestBody)
Create a new metadata element to represent a governance action type.
|
GovernanceActionProcessElementsResponse |
findGovernanceActionProcesses(String serverName,
String userId,
int startFrom,
int pageSize,
SearchStringRequestBody requestBody)
Retrieve the list of governance action process metadata elements that contain the search string.
|
GovernanceActionTypeElementsResponse |
findGovernanceActionTypes(String serverName,
String userId,
int startFrom,
int pageSize,
SearchStringRequestBody requestBody)
Retrieve the list of governance action type metadata elements that contain the search string.
|
GovernanceActionTypeElementResponse |
getFirstActionType(String serverName,
String userId,
String processGUID)
Return the governance action type that is the first step in a governance action process.
|
GovernanceActionProcessElementResponse |
getGovernanceActionProcessByGUID(String serverName,
String userId,
String processGUID)
Retrieve the governance action process metadata element with the supplied unique identifier.
|
GovernanceActionProcessElementsResponse |
getGovernanceActionProcessesByName(String serverName,
String userId,
int startFrom,
int pageSize,
NameRequestBody requestBody)
Retrieve the list of governance action process metadata elements with a matching qualified or display name.
|
GovernanceActionTypeElementResponse |
getGovernanceActionTypeByGUID(String serverName,
String userId,
String actionTypeGUID)
Retrieve the governance action type metadata element with the supplied unique identifier.
|
GovernanceActionTypeElementsResponse |
getGovernanceActionTypesByName(String serverName,
String userId,
int startFrom,
int pageSize,
NameRequestBody requestBody)
Retrieve the list of governance action type metadata elements with a matching qualified or display name.
|
NextGovernanceActionTypeElementsResponse |
getNextGovernanceActionTypes(String serverName,
String userId,
String actionTypeGUID,
int startFrom,
int pageSize)
Return the lust of next action type defined for the governance action process.
|
VoidResponse |
publishGovernanceActionProcess(String serverName,
String userId,
String processGUID,
NullRequestBody requestBody)
Update the zones for the asset so that it becomes visible to consumers.
|
VoidResponse |
removeFirstActionType(String serverName,
String userId,
String processGUID,
NullRequestBody requestBody)
Remove the link between a governance process and that governance action type that defines its first step.
|
VoidResponse |
removeGovernanceActionProcess(String serverName,
String userId,
String processGUID,
NullRequestBody requestBody)
Remove the metadata element representing a governance action process.
|
VoidResponse |
removeGovernanceActionType(String serverName,
String userId,
String actionTypeGUID,
NullRequestBody requestBody)
Remove the metadata element representing a governance action type.
|
VoidResponse |
removeNextActionType(String serverName,
String userId,
String actionLinkGUID,
NullRequestBody requestBody)
Remove a follow on step from a governance action process.
|
VoidResponse |
setupFirstActionType(String serverName,
String userId,
String processGUID,
String actionTypeGUID,
String requestBody)
Set up a link between an governance action process and a governance action type.
|
GUIDResponse |
setupNextActionType(String serverName,
String userId,
String currentActionTypeGUID,
String nextActionTypeGUID,
NextGovernanceActionTypeRequestBody requestBody)
Add a link between two governance action types to show that one follows on from the other when a governance action process
is executing.
|
VoidResponse |
updateGovernanceActionProcess(String serverName,
String userId,
String processGUID,
UpdateGovernanceActionProcessRequestBody requestBody)
Update the metadata element representing a governance action process.
|
VoidResponse |
updateGovernanceActionType(String serverName,
String userId,
String actionTypeGUID,
UpdateGovernanceActionTypeRequestBody requestBody)
Update the metadata element representing a governance action type.
|
VoidResponse |
updateNextActionType(String serverName,
String userId,
String nextActionLinkGUID,
NextGovernanceActionTypeRequestBody requestBody)
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.
|
VoidResponse |
withdrawGovernanceActionProcess(String serverName,
String userId,
String processGUID,
NullRequestBody requestBody)
Update the zones for the asset so that it is no longer visible to consumers.
|
public GovernanceActionProcessRESTServices()
public GUIDResponse createGovernanceActionProcess(String serverName, String userId, NewGovernanceActionProcessRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userrequestBody - properties about the process to store and status value for the new process (default = ACTIVE)public VoidResponse updateGovernanceActionProcess(String serverName, String userId, String processGUID, UpdateGovernanceActionProcessRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the metadata element to updaterequestBody - new properties for the metadata elementpublic VoidResponse publishGovernanceActionProcess(String serverName, String userId, String processGUID, NullRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the metadata element to publishrequestBody - null request bodypublic VoidResponse withdrawGovernanceActionProcess(String serverName, String userId, String processGUID, NullRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the metadata element to withdrawrequestBody - null request bodypublic VoidResponse removeGovernanceActionProcess(String serverName, String userId, String processGUID, NullRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the metadata element to removerequestBody - null request bodypublic GovernanceActionProcessElementsResponse findGovernanceActionProcesses(String serverName, String userId, int startFrom, int pageSize, SearchStringRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - string to find in the propertiespublic GovernanceActionProcessElementsResponse getGovernanceActionProcessesByName(String serverName, String userId, int startFrom, int pageSize, NameRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - name to search forpublic GovernanceActionProcessElementResponse getGovernanceActionProcessByGUID(String serverName, String userId, String processGUID)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the requested metadata elementpublic GUIDResponse createGovernanceActionType(String serverName, String userId, GovernanceActionTypeProperties requestBody)
serverName - name of the service to route the request touserId - calling userrequestBody - properties about the process to storepublic VoidResponse updateGovernanceActionType(String serverName, String userId, String actionTypeGUID, UpdateGovernanceActionTypeRequestBody requestBody)
serverName - name of the service to route the request touserId - calling useractionTypeGUID - unique identifier of the metadata element to updaterequestBody - new properties for the metadata elementpublic VoidResponse removeGovernanceActionType(String serverName, String userId, String actionTypeGUID, NullRequestBody requestBody)
serverName - name of the service to route the request touserId - calling useractionTypeGUID - unique identifier of the metadata element to removerequestBody - null request bodypublic GovernanceActionTypeElementsResponse findGovernanceActionTypes(String serverName, String userId, int startFrom, int pageSize, SearchStringRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - string to find in the propertiespublic GovernanceActionTypeElementsResponse getGovernanceActionTypesByName(String serverName, String userId, int startFrom, int pageSize, NameRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - name to search forpublic GovernanceActionTypeElementResponse getGovernanceActionTypeByGUID(String serverName, String userId, String actionTypeGUID)
serverName - name of the service to route the request touserId - calling useractionTypeGUID - unique identifier of the governance action typepublic VoidResponse setupFirstActionType(String serverName, String userId, String processGUID, String actionTypeGUID, String requestBody)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the governance action processactionTypeGUID - unique identifier of the governance action typerequestBody - optional guardpublic GovernanceActionTypeElementResponse getFirstActionType(String serverName, String userId, String processGUID)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the governance action processpublic VoidResponse removeFirstActionType(String serverName, String userId, String processGUID, NullRequestBody requestBody)
serverName - name of the service to route the request touserId - calling userprocessGUID - unique identifier of the governance action processrequestBody - null request bodypublic GUIDResponse setupNextActionType(String serverName, String userId, String currentActionTypeGUID, String nextActionTypeGUID, NextGovernanceActionTypeRequestBody requestBody)
serverName - name of the service to route the request touserId - 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 processrequestBody - guard required for this next step to proceed - or null for always run the next step plus flags.public VoidResponse updateNextActionType(String serverName, String userId, String nextActionLinkGUID, NextGovernanceActionTypeRequestBody requestBody)
serverName - name of the service to route the request touserId - calling usernextActionLinkGUID - unique identifier of the relationship between the governance action typesrequestBody - guard required for this next step to proceed - or null for always run the next step - and flagspublic NextGovernanceActionTypeElementsResponse getNextGovernanceActionTypes(String serverName, String userId, String actionTypeGUID, int startFrom, int pageSize)
serverName - name of the service to route the request touserId - calling useractionTypeGUID - unique identifier of the current governance action typestartFrom - paging start pointpageSize - maximum results that can be returnedpublic VoidResponse removeNextActionType(String serverName, String userId, String actionLinkGUID, NullRequestBody requestBody)
serverName - name of the service to route the request touserId - calling useractionLinkGUID - unique identifier of the relationship between the governance action typesrequestBody - null request bodyCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.