public class AppointmentHandler extends Object
| Constructor and Description |
|---|
AppointmentHandler(PersonRoleHandler<GovernanceRoleElement> roleHandler,
ActorProfileHandler<ProfileElement> profileHandler,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName,
AuditLog auditLog) |
| Modifier and Type | Method and Description |
|---|---|
List<GovernanceRoleAppointee> |
getCurrentGovernanceRoleAppointments(String userId,
int domainIdentifier,
int startFrom,
int pageSize,
String methodName)
Return all of the governance roles and their incumbents (if any).
|
GovernanceRoleHistory |
getGovernanceRoleHistoryByGUID(String userId,
String governanceRoleGUID,
String methodName)
Retrieve a governance role description by unique guid along with the history of who has been appointed
to the role.
|
public AppointmentHandler(PersonRoleHandler<GovernanceRoleElement> roleHandler, ActorProfileHandler<ProfileElement> profileHandler, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName, AuditLog auditLog)
public List<GovernanceRoleAppointee> getCurrentGovernanceRoleAppointments(String userId, int domainIdentifier, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userdomainIdentifier - identifier of domain - 0 means allstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callmethodName - calling methodInvalidParameterException - 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 GovernanceRoleHistory getGovernanceRoleHistoryByGUID(String userId, String governanceRoleGUID, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.InvalidParameterException - the unique identifier of the governance role is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.