public interface CertificationManagementInterface
| Modifier and Type | Method and Description |
|---|---|
void |
certifyElement(String userId,
String elementGUID,
String certificationTypeGUID,
CertificationProperties properties)
Link an element to a certification type and include details of the certification in the relationship properties.
|
String |
createCertificationType(String userId,
CertificationTypeProperties properties)
Create a description of the certification type.
|
void |
decertifyElement(String userId,
String elementGUID,
String certificationTypeGUID,
String certificateId)
Remove the certification for an element.
|
void |
deleteCertificationType(String userId,
String certificationTypeGUID)
Delete the properties of the certification type.
|
CertificationTypeElement |
getCertificationTypeByDocId(String userId,
String documentIdentifier)
Retrieve the certification type by its assigned unique document identifier.
|
List<CertificationTypeElement> |
getCertificationTypeByDomainId(String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Retrieve all of the certification type definitions for a specific governance domain.
|
CertificationTypeElement |
getCertificationTypeByGUID(String userId,
String certificationTypeGUID)
Retrieve the certification type by the unique identifier assigned by this service when it was created.
|
List<CertificationTypeElement> |
getCertificationTypesByTitle(String userId,
String title,
int startFrom,
int pageSize)
Retrieve all of the certification types for a particular title.
|
void |
updateCertification(String userId,
String elementGUID,
String certificationTypeGUID,
boolean isMergeUpdate,
CertificationProperties properties)
Update the properties of a certification.
|
void |
updateCertificationType(String userId,
String certificationTypeGUID,
boolean isMergeUpdate,
CertificationTypeProperties properties)
Update the properties of the certification type.
|
String createCertificationType(String userId, CertificationTypeProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userproperties - certification propertiesInvalidParameterException - documentIdentifier or userId is null; documentIdentifier is not uniquePropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid updateCertificationType(String userId, String certificationTypeGUID, boolean isMergeUpdate, CertificationTypeProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usercertificationTypeGUID - identifier of the governance definition to changeisMergeUpdate - are unspecified properties unchanged (true) or replaced with null?properties - certification propertiesInvalidParameterException - guid, documentIdentifier or userId is null; documentIdentifier is not uniquePropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid deleteCertificationType(String userId, String certificationTypeGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usercertificationTypeGUID - identifier of the governance definition to deleteInvalidParameterException - guid or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCertificationTypeElement getCertificationTypeByGUID(String userId, String certificationTypeGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usercertificationTypeGUID - identifier of the governance definition to retrieveInvalidParameterException - guid or userId is null; guid is not recognizedPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCertificationTypeElement getCertificationTypeByDocId(String userId, String documentIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdocumentIdentifier - identifier to search forInvalidParameterException - documentIdentifier or userId is null; documentIdentifier is not recognizedPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemList<CertificationTypeElement> getCertificationTypesByTitle(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<CertificationTypeElement> getCertificationTypeByDomainId(String userId, int domainIdentifier, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdomainIdentifier - identifier to search forstartFrom - where to start from in the list of definitionspageSize - max number of results to return in one callInvalidParameterException - domainIdentifier or userId is null; domainIdentifier is not recognizedPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid certifyElement(String userId, String elementGUID, String certificationTypeGUID, CertificationProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userelementGUID - unique identifier of the element being certifiedcertificationTypeGUID - unique identifier for the certification typeproperties - the properties of the certificationInvalidParameterException - one of the properties is invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid updateCertification(String userId, String elementGUID, String certificationTypeGUID, boolean isMergeUpdate, CertificationProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userelementGUID - unique identifier of the element being certifiedcertificationTypeGUID - unique identifier for the certification typeisMergeUpdate - should the supplied properties overlay the existing properties or replace themproperties - the properties of the certificationInvalidParameterException - one of the properties is invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemvoid decertifyElement(String userId, String elementGUID, String certificationTypeGUID, String certificateId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userelementGUID - unique identifier of the element being certifiedcertificationTypeGUID - unique identifier for the certification typecertificateId - optional unique identifier from the certification authority - it is used to disambiguate the certifications for the element.InvalidParameterException - one of the properties is invalidPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.