public interface GovernanceRolesInterface
| Modifier and Type | Method and Description |
|---|---|
String |
appointGovernanceRole(String userId,
String roleGUID,
String profileGUID,
Date startDate)
Link a person to a governance role.
|
String |
createGovernanceRole(String userId,
GovernanceRoleProperties properties)
Create a definition of a new governance role.
|
void |
deleteGovernanceRole(String userId,
String governanceRoleGUID)
Delete the properties of the governance role.
|
List<GovernanceRoleAppointee> |
getCurrentGovernanceRoleAppointments(String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Return all of the governance roles and their incumbents (if any).
|
GovernanceRoleElement |
getGovernanceRoleByGUID(String userId,
String governanceRoleGUID)
Retrieve the properties of a governance role using its unique identifier.
|
List<GovernanceRoleElement> |
getGovernanceRoleByRoleId(String userId,
String roleId)
Retrieve the properties of a governance role using its unique name.
|
GovernanceRoleHistory |
getGovernanceRoleHistoryByGUID(String userId,
String governanceRoleGUID)
Retrieve the appointment history for a governance role by unique guid.
|
List<GovernanceRoleElement> |
getGovernanceRolesByDomainId(String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Retrieve all of the governance roles for a particular governance domain.
|
List<GovernanceRoleElement> |
getGovernanceRolesByTitle(String userId,
String title,
int startFrom,
int pageSize)
Retrieve all of the governance roles for a particular title.
|
void |
linkRoleToResource(String userId,
String governanceRoleGUID,
String resourceGUID)
Link a governance role to the description of a resource that the role is responsible for.
|
void |
linkRoleToResponsibility(String userId,
String governanceRoleGUID,
String responsibilityGUID)
Link a governance role to a governance control that defines a governance responsibility that a person fulfils.
|
void |
relieveGovernanceRole(String userId,
String roleGUID,
String profileGUID,
String appointmentGUID,
Date endDate)
Unlink a person from a governance role appointment.
|
void |
unlinkRoleFromResource(String userId,
String governanceRoleGUID,
String resourceGUID)
Remove the link between a governance role and a resource.
|
void |
unlinkRoleFromResponsibility(String userId,
String governanceRoleGUID,
String responsibilityGUID)
Remove the link between a governance role and a governance responsibility.
|
void |
updateGovernanceRole(String userId,
String roleGUID,
boolean isMergeUpdate,
GovernanceRoleProperties properties) |
String createGovernanceRole(String userId, GovernanceRoleProperties properties) throws UserNotAuthorizedException, InvalidParameterException, PropertyServerException
userId - calling userproperties - role propertiesInvalidParameterException - one of the parameters is invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid updateGovernanceRole(String userId, String roleGUID, boolean isMergeUpdate, GovernanceRoleProperties properties) throws UserNotAuthorizedException, InvalidParameterException, PropertyServerException
userId - calling userroleGUID - identifier of the governance role to updateisMergeUpdate - are unspecified properties unchanged (true) or replaced with null?properties - properties to changeInvalidParameterException - one of the parameters is invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid linkRoleToResponsibility(String userId, String governanceRoleGUID, String responsibilityGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usergovernanceRoleGUID - unique identifier of the governance roleresponsibilityGUID - unique identifier of the governance responsibility controlInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid unlinkRoleFromResponsibility(String userId, String governanceRoleGUID, String responsibilityGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usergovernanceRoleGUID - unique identifier of the governance roleresponsibilityGUID - unique identifier of the governance responsibility controlInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid linkRoleToResource(String userId, String governanceRoleGUID, String resourceGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usergovernanceRoleGUID - unique identifier of the governance roleresourceGUID - unique identifier of the resource descriptionInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid unlinkRoleFromResource(String userId, String governanceRoleGUID, String resourceGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usergovernanceRoleGUID - unique identifier of the governance roleresourceGUID - unique identifier of the resource descriptionInvalidParameterException - one of the guids is null or not knownPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid deleteGovernanceRole(String userId, String governanceRoleGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usergovernanceRoleGUID - identifier of the governance role to deleteInvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemGovernanceRoleElement getGovernanceRoleByGUID(String userId, String governanceRoleGUID) throws UserNotAuthorizedException, InvalidParameterException, PropertyServerException
userId - calling usergovernanceRoleGUID - unique identifierInvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemGovernanceRoleHistory getGovernanceRoleHistoryByGUID(String userId, String governanceRoleGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.governanceRoleGUID - unique identifier (guid) of the governance role.InvalidParameterException - guid or userId is nullPropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.List<GovernanceRoleElement> getGovernanceRoleByRoleId(String userId, String roleId) throws UserNotAuthorizedException, InvalidParameterException, PropertyServerException
userId - calling userroleId - unique nameInvalidParameterException - name or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<GovernanceRoleElement> getGovernanceRolesByDomainId(String userId, int domainIdentifier, int startFrom, int pageSize) throws UserNotAuthorizedException, InvalidParameterException, PropertyServerException
userId - 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 callInvalidParameterException - domain identifier is undefined or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<GovernanceRoleElement> getGovernanceRolesByTitle(String userId, String title, int startFrom, int pageSize) throws UserNotAuthorizedException, InvalidParameterException, PropertyServerException
userId - calling usertitle - identifier of rolestartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callInvalidParameterException - title or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<GovernanceRoleAppointee> getCurrentGovernanceRoleAppointments(String userId, int domainIdentifier, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - 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 callInvalidParameterException - the userId is either null or invalid.PropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.String appointGovernanceRole(String userId, String roleGUID, String profileGUID, Date startDate) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userroleGUID - unique identifier (guid) of the governance roleprofileGUID - unique identifier for the profilestartDate - the official start date of the appointment - null means effective immediatelyInvalidParameterException - the unique identifier of the governance role or profile is either null or invalidPropertyServerException - the server is not available.UserNotAuthorizedException - the calling user is not authorized to issue the call.void relieveGovernanceRole(String userId, String roleGUID, String profileGUID, String appointmentGUID, Date endDate) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userroleGUID - unique identifier (guid) of the governance roleprofileGUID - unique identifier for the profileappointmentGUID - unique identifier (guid) of the appointment relationshipendDate - the official end of the appointment - null means effective immediatelyInvalidParameterException - the profile is not linked to this governance rolePropertyServerException - 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.