public class GovernanceProgramRESTServices extends Object
| Constructor and Description |
|---|
GovernanceProgramRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
appointGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
AppointmentRequestBody requestBody)
Link a person to a governance officer.
|
GUIDResponse |
createGovernanceOfficer(String serverName,
String userId,
GovernanceOfficerDetailsRequestBody requestBody)
Create the governance officer appointment.
|
VoidResponse |
deleteGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
GovernanceOfficerValidatorRequestBody requestBody)
Remove the requested governance officer.
|
GovernanceOfficerListResponse |
getActiveGovernanceOfficers(String serverName,
String userId)
Return all of the defined governance officers.
|
GovernanceOfficerResponse |
getGovernanceOfficerByAppointmentId(String serverName,
String userId,
String appointmentId)
Retrieve a governance officer by unique appointment id.
|
GovernanceOfficerResponse |
getGovernanceOfficerByGUID(String serverName,
String userId,
String governanceOfficerGUID)
Retrieve a governance officer description by unique guid.
|
GovernanceOfficerListResponse |
getGovernanceOfficers(String serverName,
String userId)
Return all of the defined governance officers.
|
GovernanceOfficerListResponse |
getGovernanceOfficersByDomain(String serverName,
String userId,
GovernanceDomainRequestBody requestBody)
Return all of the defined governance officers for a specific governance domain.
|
VoidResponse |
relieveGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
AppointmentRequestBody requestBody)
Unlink a person from a governance officer appointment.
|
VoidResponse |
updateGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
GovernanceOfficerDetailsRequestBody requestBody)
Update selected fields for the governance officer.
|
public GovernanceProgramRESTServices()
public GUIDResponse createGovernanceOfficer(String serverName, String userId, GovernanceOfficerDetailsRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.requestBody - properties of the governance officer.public VoidResponse updateGovernanceOfficer(String serverName, String userId, String governanceOfficerGUID, GovernanceOfficerDetailsRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.requestBody - properties of the governance officerpublic VoidResponse deleteGovernanceOfficer(String serverName, String userId, String governanceOfficerGUID, GovernanceOfficerValidatorRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.requestBody - properties to verify this is the right governance officerpublic GovernanceOfficerResponse getGovernanceOfficerByGUID(String serverName, String userId, String governanceOfficerGUID)
serverName - name of server instance to calluserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.public GovernanceOfficerResponse getGovernanceOfficerByAppointmentId(String serverName, String userId, String appointmentId)
serverName - name of server instance to calluserId - the name of the calling user.appointmentId - the unique appointment identifier of the governance officer.public GovernanceOfficerListResponse getGovernanceOfficers(String serverName, String userId)
serverName - name of server instance to calluserId - the name of the calling user.public GovernanceOfficerListResponse getActiveGovernanceOfficers(String serverName, String userId)
serverName - name of server instance to calluserId - the name of the calling user.public GovernanceOfficerListResponse getGovernanceOfficersByDomain(String serverName, String userId, GovernanceDomainRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.requestBody - domain of interest.public VoidResponse appointGovernanceOfficer(String serverName, String userId, String governanceOfficerGUID, AppointmentRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.requestBody - unique identifier for the profilepublic VoidResponse relieveGovernanceOfficer(String serverName, String userId, String governanceOfficerGUID, AppointmentRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.requestBody - unique identifier for the profile.Copyright © 2018–2020 ODPi. All rights reserved.