public class GovernanceRolesRESTServices extends Object
| Constructor and Description |
|---|
GovernanceRolesRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
appointGovernanceRole(String serverName,
String userId,
String governanceRoleGUID,
AppointmentRequestBody requestBody)
Link a person to a governance role.
|
GUIDResponse |
createGovernanceRole(String serverName,
String userId,
GovernanceRoleProperties requestBody)
Create the governance role.
|
VoidResponse |
deleteGovernanceRole(String serverName,
String userId,
String governanceRoleGUID,
NullRequestBody requestBody)
Remove the requested governance role.
|
GovernanceRoleAppointeeListResponse |
getCurrentGovernanceRoleAppointments(String serverName,
String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Return all of the governance roles and their incumbents (if any).
|
GovernanceRoleResponse |
getGovernanceRoleByGUID(String serverName,
String userId,
String governanceRoleGUID)
Retrieve a governance role description by unique guid.
|
GovernanceRoleListResponse |
getGovernanceRoleByRoleId(String serverName,
String userId,
String roleId)
Retrieve the properties of a governance role using its unique name.
|
GovernanceRoleHistoryResponse |
getGovernanceRoleHistoryByGUID(String serverName,
String userId,
String governanceRoleGUID)
Retrieve a governance role description by unique guid along with the history of who has been appointed
to the role.
|
GovernanceRoleListResponse |
getGovernanceRolesByDomainId(String serverName,
String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Return all of the defined governance roles.
|
GovernanceRoleListResponse |
getGovernanceRolesByTitle(String serverName,
String userId,
String title,
int startFrom,
int pageSize)
Retrieve all of the governance roles for a particular title.
|
VoidResponse |
linkRoleToResource(String serverName,
String userId,
String governanceRoleGUID,
String resourceGUID,
NullRequestBody requestBody)
Link a governance role to the description of a resource that the role is responsible for.
|
VoidResponse |
linkRoleToResponsibility(String serverName,
String userId,
String governanceRoleGUID,
String responsibilityGUID,
NullRequestBody requestBody)
Link a governance role to a governance control that defines a governance responsibility that a person fulfils.
|
VoidResponse |
relieveGovernanceRole(String serverName,
String userId,
String governanceRoleGUID,
String appointmentGUID,
AppointmentRequestBody requestBody)
Unlink a person from a governance role appointment.
|
VoidResponse |
unlinkRoleFromResource(String serverName,
String userId,
String governanceRoleGUID,
String resourceGUID,
NullRequestBody requestBody)
Remove the link between a governance role and a resource.
|
VoidResponse |
unlinkRoleFromResponsibility(String serverName,
String userId,
String governanceRoleGUID,
String responsibilityGUID,
NullRequestBody requestBody)
Remove the link between a governance role and a governance responsibility.
|
VoidResponse |
updateGovernanceRole(String serverName,
String userId,
String governanceRoleGUID,
boolean isMergeUpdate,
GovernanceRoleProperties requestBody)
Update selected fields for the governance role.
|
public GovernanceRolesRESTServices()
public GUIDResponse createGovernanceRole(String serverName, String userId, GovernanceRoleProperties requestBody)
serverName - name of server instance to calluserId - the name of the calling user.requestBody - properties of the governance role.public VoidResponse updateGovernanceRole(String serverName, String userId, String governanceRoleGUID, boolean isMergeUpdate, GovernanceRoleProperties requestBody)
serverName - name of server instance to calluserId - the name of the calling userisMergeUpdate - are unspecified properties unchanged (true) or replaced with null?governanceRoleGUID - unique identifier (guid) of the governance role.requestBody - properties of the governance rolepublic VoidResponse linkRoleToResponsibility(String serverName, String userId, String governanceRoleGUID, String responsibilityGUID, NullRequestBody requestBody)
serverName - name of server instance to calluserId - calling usergovernanceRoleGUID - unique identifier of the governance roleresponsibilityGUID - unique identifier of the governance responsibility controlrequestBody - null request bodypublic VoidResponse unlinkRoleFromResponsibility(String serverName, String userId, String governanceRoleGUID, String responsibilityGUID, NullRequestBody requestBody)
serverName - name of server instance to calluserId - calling usergovernanceRoleGUID - unique identifier of the governance roleresponsibilityGUID - unique identifier of the governance responsibility controlrequestBody - null request bodypublic VoidResponse linkRoleToResource(String serverName, String userId, String governanceRoleGUID, String resourceGUID, NullRequestBody requestBody)
serverName - name of server instance to calluserId - calling usergovernanceRoleGUID - unique identifier of the governance roleresourceGUID - unique identifier of the resource descriptionrequestBody - null request bodypublic VoidResponse unlinkRoleFromResource(String serverName, String userId, String governanceRoleGUID, String resourceGUID, NullRequestBody requestBody)
serverName - name of server instance to calluserId - calling usergovernanceRoleGUID - unique identifier of the governance roleresourceGUID - unique identifier of the resource descriptionrequestBody - null request bodypublic VoidResponse deleteGovernanceRole(String serverName, String userId, String governanceRoleGUID, NullRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.requestBody - null request bodypublic GovernanceRoleResponse getGovernanceRoleByGUID(String serverName, String userId, String governanceRoleGUID)
serverName - name of server instance to calluserId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.public GovernanceRoleHistoryResponse getGovernanceRoleHistoryByGUID(String serverName, String userId, String governanceRoleGUID)
serverName - name of server instance to calluserId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.public GovernanceRoleListResponse getGovernanceRoleByRoleId(String serverName, String userId, String roleId)
serverName - name of server instance to calluserId - the name of the calling user.roleId - the unique identifier of the governance role.public GovernanceRoleListResponse getGovernanceRolesByDomainId(String serverName, String userId, int domainIdentifier, int startFrom, int pageSize)
serverName - name of server instance to calluserId - the name of the calling user.domainIdentifier - domain of interest - 0 means all domainsstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callpublic GovernanceRoleListResponse getGovernanceRolesByTitle(String serverName, String userId, String title, int startFrom, int pageSize)
serverName - name of server instance to calluserId - calling usertitle - short description of the rolestartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callpublic GovernanceRoleAppointeeListResponse getCurrentGovernanceRoleAppointments(String serverName, String userId, int domainIdentifier, int startFrom, int pageSize)
serverName - name of server instance to calluserId - the name of the calling user.domainIdentifier - identifier of domain - 0 means allstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callpublic GUIDResponse appointGovernanceRole(String serverName, String userId, String governanceRoleGUID, AppointmentRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.requestBody - unique identifier for the profilepublic VoidResponse relieveGovernanceRole(String serverName, String userId, String governanceRoleGUID, String appointmentGUID, AppointmentRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.requestBody - unique identifier for the profile.appointmentGUID - unique identifier (guid) of the appointment relationshipCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.