public class GovernanceProgramLeadership extends Object implements GovernanceLeadershipInterface
| Constructor and Description |
|---|
GovernanceProgramLeadership(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceProgramLeadership(String serverName,
String serverPlatformURLRoot,
int maxPageSize,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceProgramLeadership(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
GovernanceProgramLeadership(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
int maxPageSize,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appointGovernanceOfficer(String userId,
String governanceOfficerGUID,
String profileGUID,
Date startDate)
Link a person to a governance officer.
|
String |
createGovernanceOfficer(String userId,
GovernanceDomain governanceDomain,
String appointmentId,
String appointmentContext,
String title,
Map<String,String> additionalProperties,
List<ExternalReference> externalReferences)
Create the governance officer appointment.
|
void |
deleteGovernanceOfficer(String userId,
String governanceOfficerGUID,
String appointmentId,
GovernanceDomain governanceDomain)
Remove the requested governance officer.
|
List<GovernanceOfficerProperties> |
getActiveGovernanceOfficers(String userId)
Return all of the currently appointed governance officers.
|
GovernanceOfficerProperties |
getGovernanceOfficerByAppointmentId(String userId,
String appointmentId)
Retrieve a governance officer by unique appointment id.
|
GovernanceOfficerProperties |
getGovernanceOfficerByGUID(String userId,
String governanceOfficerGUID)
Retrieve a governance officer description by unique guid.
|
List<GovernanceOfficerProperties> |
getGovernanceOfficers(String userId)
Return all of the defined governance officers.
|
List<GovernanceOfficerProperties> |
getGovernanceOfficersByDomain(String userId,
GovernanceDomain governanceDomain)
Return all of the defined governance officers for a specific governance domain.
|
void |
relieveGovernanceOfficer(String userId,
String governanceOfficerGUID,
String profileGUID,
Date endDate)
Unlink a person from a governance officer appointment.
|
void |
updateGovernanceOfficer(String userId,
String governanceOfficerGUID,
GovernanceDomain governanceDomain,
String appointmentId,
String appointmentContext,
String title,
Map<String,String> additionalProperties,
List<ExternalReference> externalReferences)
Update selected fields for the governance officer.
|
public GovernanceProgramLeadership(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - bad input parameterspublic GovernanceProgramLeadership(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - bad input parameterspublic GovernanceProgramLeadership(String serverName, String serverPlatformURLRoot, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversmaxPageSize - pre-initialized parameter limitauditLog - logging destinationInvalidParameterException - bad input parameterspublic GovernanceProgramLeadership(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsmaxPageSize - pre-initialized parameter limitauditLog - logging destinationInvalidParameterException - bad input parameterspublic String createGovernanceOfficer(String userId, GovernanceDomain governanceDomain, String appointmentId, String appointmentContext, String title, Map<String,String> additionalProperties, List<ExternalReference> externalReferences) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
createGovernanceOfficer in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceDomain - the governance domain for the governance officer.appointmentId - the unique identifier of the governance officer.appointmentContext - the context in which the governance officer is appointed.
This may be an organizational scope, location, or scope of assets.title - job title for the governance officer.additionalProperties - additional properties for the governance officer.externalReferences - links to addition information. This could be, for example, the home page
for the governance officer, or details of the role.InvalidParameterException - the governance domain, title or appointment id is null.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public void updateGovernanceOfficer(String userId, String governanceOfficerGUID, GovernanceDomain governanceDomain, String appointmentId, String appointmentContext, String title, Map<String,String> additionalProperties, List<ExternalReference> externalReferences) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
updateGovernanceOfficer in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.governanceDomain - the governance domain for the governance officer.appointmentId - the unique identifier of the governance officer.appointmentContext - the context in which the governance officer is appointed.
This may be an organizational scope, location, or scope of assets.title - job title for the governance officer.additionalProperties - additional properties for the governance officer.externalReferences - links to addition information. This could be, for example, the home page
for the governance officer, or details of the role.InvalidParameterException - the title is null or the governanceDomain/appointmentId does not match the
the existing values associated with the governanceOfficerGUID.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public void deleteGovernanceOfficer(String userId, String governanceOfficerGUID, String appointmentId, GovernanceDomain governanceDomain) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
deleteGovernanceOfficer in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.appointmentId - the unique identifier of the governance officer.governanceDomain - the governance domain for the governance officer.InvalidParameterException - the appointmentId or governance domain is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public GovernanceOfficerProperties getGovernanceOfficerByGUID(String userId, String governanceOfficerGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getGovernanceOfficerByGUID in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.InvalidParameterException - the unique identifier of the governance officer is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public GovernanceOfficerProperties getGovernanceOfficerByAppointmentId(String userId, String appointmentId) throws InvalidParameterException, AppointmentIdNotUniqueException, PropertyServerException, UserNotAuthorizedException
getGovernanceOfficerByAppointmentId in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.appointmentId - the unique appointment identifier of the governance officer.InvalidParameterException - the appointmentId or governance domain is either null or invalid.AppointmentIdNotUniqueException - more than one governance officer entity was retrieved for this appointmentId.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public List<GovernanceOfficerProperties> getGovernanceOfficers(String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getGovernanceOfficers in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.InvalidParameterException - the userId is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public List<GovernanceOfficerProperties> getActiveGovernanceOfficers(String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getActiveGovernanceOfficers in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.InvalidParameterException - the userId is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public List<GovernanceOfficerProperties> getGovernanceOfficersByDomain(String userId, GovernanceDomain governanceDomain) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
getGovernanceOfficersByDomain in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceDomain - domain of interestInvalidParameterException - the governance domain is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public void appointGovernanceOfficer(String userId, String governanceOfficerGUID, String profileGUID, Date startDate) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
appointGovernanceOfficer in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.profileGUID - unique identifier for the profile.startDate - the official start date of the appointment - null means effective immediately.InvalidParameterException - the unique identifier of the governance officer or profile is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.public void relieveGovernanceOfficer(String userId, String governanceOfficerGUID, String profileGUID, Date endDate) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
relieveGovernanceOfficer in interface GovernanceLeadershipInterfaceuserId - the name of the calling user.governanceOfficerGUID - unique identifier (guid) of the governance officer.profileGUID - unique identifier for the profile.endDate - the official end of the appointment - null means effective immediately.InvalidParameterException - the profile is not linked to this governance officer.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.Copyright © 2018–2020 ODPi. All rights reserved.