Interface AssetCertificationInterface
public interface AssetCertificationInterface
The AssetCertificationInterface provides the ability to manage the certification types that can be associated with elements.
-
Method Summary
Modifier and TypeMethodDescriptioncertifyElement(String userId, String elementGUID, String certificationTypeGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.CertificationProperties properties) Link an element to a certification type and include details of the certification in the relationship properties.voiddecertifyElement(String userId, String certificationGUID) Remove the certification for an element.List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>getCertifications(String userId, String elementGUID, int startFrom, int pageSize) Return information about the certifications linked to an element.org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElementgetCertificationTypeByDocId(String userId, String documentIdentifier) Retrieve the certification type by its assigned unique document identifier.List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElement>getCertificationTypeByDomainId(String userId, int domainIdentifier, int startFrom, int pageSize) Retrieve all the certification type definitions for a specific governance domain.org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElementgetCertificationTypeByGUID(String userId, String certificationTypeGUID) Retrieve the certification type by the unique identifier assigned by this service when it was created.List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElement>getCertificationTypesByTitle(String userId, String title, int startFrom, int pageSize) Retrieve all the certification types for a particular title.List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>getCertifiedElements(String userId, String certificationTypeGUID, int startFrom, int pageSize) Return information about the elements linked to a certification.voidupdateCertification(String userId, String certificationGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.CertificationProperties properties) Update the properties of a certification.
-
Method Details
-
getCertificationTypeByGUID
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElement getCertificationTypeByGUID(String userId, String certificationTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the certification type by the unique identifier assigned by this service when it was created.- Parameters:
userId- calling usercertificationTypeGUID- identifier of the governance definition to retrieve- Returns:
- properties of the certification type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- guid or userId is null; guid is not recognizedorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCertificationTypeByDocId
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElement getCertificationTypeByDocId(String userId, String documentIdentifier) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the certification type by its assigned unique document identifier.- Parameters:
userId- calling userdocumentIdentifier- identifier to search for- Returns:
- properties of the matching certification type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- documentIdentifier or userId is null; documentIdentifier is not recognizedorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCertificationTypesByTitle
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElement> getCertificationTypesByTitle(String userId, String title, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve all the certification types for a particular title. The title can include regEx wildcards.- Parameters:
userId- calling usertitle- identifier of certificationstartFrom- where to start from in the list of definitionspageSize- max number of results to return in one call- Returns:
- list of matching certification types (null if no matching elements)
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- title or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCertificationTypeByDomainId
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CertificationTypeElement> getCertificationTypeByDomainId(String userId, int domainIdentifier, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve all the certification type definitions for a specific governance domain.- Parameters:
userId- calling userdomainIdentifier- identifier to search forstartFrom- where to start from in the list of definitionspageSize- max number of results to return in one call- Returns:
- properties of the matching certification type definitions
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- domainIdentifier or userId is null; domainIdentifier is not recognizedorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
certifyElement
String certifyElement(String userId, String elementGUID, String certificationTypeGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.CertificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Link an element to a certification type and include details of the certification in the relationship properties.- Parameters:
userId- calling userelementGUID- unique identifier of the element being certifiedcertificationTypeGUID- unique identifier for the certification typeproperties- the properties of the certification- Returns:
- unique identifier of the new relationship
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the properties is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
updateCertification
void updateCertification(String userId, String certificationGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.CertificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the properties of a certification.- Parameters:
userId- calling usercertificationGUID- unique identifier of the certification relationship being updatedisMergeUpdate- should the supplied properties overlay the existing properties or replace themproperties- the properties of the certification- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the properties is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
decertifyElement
void decertifyElement(String userId, String certificationGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the certification for an element.- Parameters:
userId- calling usercertificationGUID- unique identifier of the certification relationship- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the properties is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCertifiedElements
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getCertifiedElements(String userId, String certificationTypeGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the elements linked to a certification.- Parameters:
userId- calling usercertificationTypeGUID- unique identifier for the certification typestartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- properties of the certification
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-
getCertifications
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getCertifications(String userId, String elementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return information about the certifications linked to an element.- Parameters:
userId- calling userelementGUID- unique identifier for the certificationstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- properties of the certification
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- qualifiedName or userId is nullorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- problem accessing property serverorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- security access problem
-