@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/governance-program/users/{userId}/leadership")
public class GovernanceLeadershipResource
extends Object
| Constructor and Description |
|---|
GovernanceLeadershipResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse |
appointGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
org.odpi.openmetadata.accessservices.governanceprogram.rest.AppointmentRequestBody requestBody)
Link a person to a governance officer.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GUIDResponse |
createGovernanceOfficer(String serverName,
String userId,
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerDetailsRequestBody requestBody)
Create the governance officer appointment.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GUIDResponse |
createPersonalProfile(String serverName,
String userId,
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalDetailsRequestBody requestBody)
Create a personal profile for an individual who is to be appointed to a governance role but does not
have a profile in open metadata.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse |
deleteGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerValidatorRequestBody requestBody)
Remove the requested governance officer.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse |
deletePersonalProfile(String serverName,
String userId,
String profileGUID,
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileValidatorRequestBody requestBody)
Delete the personal profile.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerListResponse |
getActiveGovernanceOfficers(String serverName,
String userId)
Return all of the active governance officers.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerResponse |
getGovernanceOfficerByAppointmentId(String serverName,
String userId,
String appointmentId)
Retrieve a governance officer by unique appointment id.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerResponse |
getGovernanceOfficerByGUID(String serverName,
String userId,
String governanceOfficerGUID)
Retrieve a governance officer description by unique guid.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerListResponse |
getGovernanceOfficers(String serverName,
String userId)
Return all of the defined governance officers.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerListResponse |
getGovernanceOfficersByDomain(String serverName,
String userId,
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDomainRequestBody requestBody)
Return all of the defined governance officers for a specific governance domain.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileResponse |
getPersonalProfileByEmployeeNumber(String serverName,
String userId,
String employeeNumber)
Retrieve a personal profile by personnel/serial/unique employee number of the individual.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileResponse |
getPersonalProfileByGUID(String serverName,
String userId,
String profileGUID)
Retrieve a personal profile by guid.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileListResponse |
getPersonalProfilesByName(String serverName,
String userId,
String name)
Return a list of candidate personal profiles for an individual.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse |
relieveGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
org.odpi.openmetadata.accessservices.governanceprogram.rest.AppointmentRequestBody requestBody)
Unlink a person from a governance officer appointment.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse |
updateGovernanceOfficer(String serverName,
String userId,
String governanceOfficerGUID,
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerDetailsRequestBody requestBody)
Update selected fields for the governance officer.
|
org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse |
updatePersonalProfile(String serverName,
String userId,
String profileGUID,
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalDetailsRequestBody requestBody)
Update properties for the personal properties.
|
public GovernanceLeadershipResource()
@RequestMapping(method=POST,
path="/personal-profiles")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GUIDResponse createPersonalProfile(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalDetailsRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.requestBody - properties about the individual.@RequestMapping(method=POST,
path="/personal-profiles/{profileGUID}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse updatePersonalProfile(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String profileGUID,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalDetailsRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.profileGUID - unique identifier for the profile.requestBody - properties about the individual.@RequestMapping(method=POST,
path="/personal-profiles/{profileGUID}/delete")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse deletePersonalProfile(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String profileGUID,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileValidatorRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.profileGUID - unique identifier for the profile.requestBody - personnel/serial/unique employee number of the individual.@RequestMapping(method=GET,
path="/personal-profiles/{profileGUID}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileResponse getPersonalProfileByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String profileGUID)
serverName - name of server instance to calluserId - the name of the calling user.profileGUID - unique identifier for the profile.@RequestMapping(method=GET,
path="/personal-profiles/by-employee-number/{employeeNumber}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileResponse getPersonalProfileByEmployeeNumber(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String employeeNumber)
serverName - name of server instance to calluserId - the name of the calling user.employeeNumber - personnel/serial/unique employee number of the individual.@RequestMapping(method=GET,
path="/personal-profiles/by-name/{name}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.PersonalProfileListResponse getPersonalProfilesByName(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String name)
serverName - name of server instance to calluserId - the name of the calling user.name - name of individual.@RequestMapping(method=POST,
path="/governance-officers")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GUIDResponse createGovernanceOfficer(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerDetailsRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.requestBody - properties of the governance officer.@RequestMapping(method=POST,
path="/governance-officers/{governanceOfficerGUID}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse updateGovernanceOfficer(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceOfficerGUID,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.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 officer@RequestMapping(method=POST,
path="/governance-officers/{governanceOfficerGUID}/delete")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse deleteGovernanceOfficer(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceOfficerGUID,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.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 officer@RequestMapping(method=GET,
path="/governance-officers/{governanceOfficerGUID}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerResponse getGovernanceOfficerByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceOfficerGUID)
serverName - name of server instance to calluserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.@RequestMapping(method=GET,
path="/governance-officers/by-appointment-id/{appointmentId}")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerResponse getGovernanceOfficerByAppointmentId(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String appointmentId)
serverName - name of server instance to calluserId - the name of the calling user.appointmentId - the unique appointment identifier of the governance officer.@RequestMapping(method=GET,
path="/governance-officers")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerListResponse getGovernanceOfficers(@PathVariable
String serverName,
@PathVariable
String userId)
serverName - name of server instance to calluserId - the name of the calling user.@RequestMapping(method=GET,
path="/governance-officers/active")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerListResponse getActiveGovernanceOfficers(@PathVariable
String serverName,
@PathVariable
String userId)
serverName - name of server instance to calluserId - the name of the calling user.@RequestMapping(method=POST,
path="/governance-officers/by-domain")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceOfficerListResponse getGovernanceOfficersByDomain(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDomainRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling user.requestBody - domain of interest@RequestMapping(method=POST,
path="/governance-officers/{governanceOfficerGUID}/appoint")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse appointGovernanceOfficer(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceOfficerGUID,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.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 and start date.@RequestMapping(method=POST,
path="/governance-officers/{governanceOfficerGUID}/relieve")
public org.odpi.openmetadata.accessservices.governanceprogram.rest.VoidResponse relieveGovernanceOfficer(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceOfficerGUID,
@RequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.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 and end date.Copyright © 2018–2019 ODPi. All rights reserved.