Interface AssetManagerInterface


  • public interface AssetManagerInterface
    AssetManagerInterface provides the interface for retrieving the identity of an external asset manager. The definition of the external asset manager may also be created using the IT Infrastructure OMAS.
    • Method Detail

      • addExternalIdentifier

        void addExternalIdentifier​(String userId,
                                   String assetManagerGUID,
                                   String assetManagerName,
                                   SynchronizationDirection synchronizationDirection,
                                   String synchronizationDescription,
                                   String openMetadataElementGUID,
                                   String openMetadataElementTypeName,
                                   String externalIdentifier,
                                   String externalIdentifierName,
                                   String externalIdentifierUsage,
                                   String externalIdentifierSource,
                                   KeyPattern keyPattern,
                                   Map<String,​String> mappingProperties)
                            throws InvalidParameterException,
                                   UserNotAuthorizedException,
                                   PropertyServerException
        Add a new external identifier to an existing open metadata element.
        Parameters:
        userId - calling user
        assetManagerGUID - unique identifier of software server capability representing the caller
        assetManagerName - unique name of software server capability representing the caller
        synchronizationDirection - details of the synchronization direction
        synchronizationDescription - optional additional description about the synchronization approach
        openMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystem
        openMetadataElementTypeName - type name for the open metadata element
        externalIdentifier - unique identifier of this element in the third party asset manager
        externalIdentifierName - name of the identifier in the third party asset manager
        externalIdentifierUsage - description of how the open metadata element maps to the identifier
        externalIdentifierSource - component that issuing this request.
        keyPattern - style of the external identifier
        mappingProperties - additional mapping properties
        Throws:
        InvalidParameterException - one of the parameters is invalid
        UserNotAuthorizedException - user not authorized to issue this request
        PropertyServerException - problem accessing the property server
      • updateExternalIdentifier

        void updateExternalIdentifier​(String userId,
                                      String assetManagerGUID,
                                      String assetManagerName,
                                      SynchronizationDirection synchronizationDirection,
                                      String synchronizationDescription,
                                      String openMetadataElementGUID,
                                      String openMetadataElementTypeName,
                                      String externalIdentifier,
                                      String externalIdentifierName,
                                      String externalIdentifierUsage,
                                      String externalIdentifierSource,
                                      KeyPattern keyPattern,
                                      Map<String,​String> mappingProperties)
                               throws InvalidParameterException,
                                      UserNotAuthorizedException,
                                      PropertyServerException
        Update the description of a specific external identifier.
        Parameters:
        userId - calling user
        assetManagerGUID - unique identifier of software server capability representing the caller
        assetManagerName - unique name of software server capability representing the caller
        synchronizationDirection - details of the synchronization direction
        synchronizationDescription - optional additional description about the synchronization approach
        openMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystem
        openMetadataElementTypeName - type name for the open metadata element
        externalIdentifier - unique identifier of this element in the third party asset manager
        externalIdentifierName - name of the identifier in the third party asset manager
        externalIdentifierUsage - description of how the open metadata element maps to the identifier
        externalIdentifierSource - component that issuing this request.
        keyPattern - style of the external identifier
        mappingProperties - additional mapping properties
        Throws:
        InvalidParameterException - one of the parameters is invalid
        UserNotAuthorizedException - user not authorized to issue this request
        PropertyServerException - problem accessing the property server
      • removeExternalIdentifier

        void removeExternalIdentifier​(String userId,
                                      String assetManagerGUID,
                                      String assetManagerName,
                                      SynchronizationDirection synchronizationDirection,
                                      String synchronizationDescription,
                                      String openMetadataElementGUID,
                                      String openMetadataElementTypeName,
                                      String externalIdentifier,
                                      String externalIdentifierName,
                                      String externalIdentifierUsage,
                                      String externalIdentifierSource,
                                      KeyPattern keyPattern,
                                      Map<String,​String> mappingProperties)
                               throws InvalidParameterException,
                                      UserNotAuthorizedException,
                                      PropertyServerException
        Remove an external identifier from an existing open metadata element. The open metadata element is not affected.
        Parameters:
        userId - calling user
        assetManagerGUID - unique identifier of software server capability representing the caller
        assetManagerName - unique name of software server capability representing the caller
        synchronizationDirection - details of the synchronization direction
        synchronizationDescription - optional additional description about the synchronization approach
        openMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystem
        openMetadataElementTypeName - type name for the open metadata element
        externalIdentifier - unique identifier of this element in the third party asset manager
        externalIdentifierName - name of the identifier in the third party asset manager
        externalIdentifierUsage - description of how the open metadata element maps to the identifier
        externalIdentifierSource - component that issuing this request.
        keyPattern - style of the external identifier
        mappingProperties - additional mapping properties
        Throws:
        InvalidParameterException - one of the parameters is invalid
        UserNotAuthorizedException - user not authorized to issue this request
        PropertyServerException - problem accessing the property server
      • confirmSynchronization

        void confirmSynchronization​(String userId,
                                    String assetManagerGUID,
                                    String assetManagerName,
                                    String openMetadataElementGUID,
                                    String openMetadataElementTypeName,
                                    String externalIdentifier)
                             throws InvalidParameterException,
                                    UserNotAuthorizedException,
                                    PropertyServerException
        Confirm that the values of a particular metadata element have been synchronized. This is important from an audit point of view, and to allow bidirectional updates of metadata using optimistic locking.
        Parameters:
        userId - calling user
        assetManagerGUID - unique identifier of software server capability representing the caller
        assetManagerName - unique name of software server capability representing the caller
        openMetadataElementGUID - unique identifier (GUID) of this element in open metadata
        openMetadataElementTypeName - type name of the element in the open metadata ecosystem (default referenceable)
        externalIdentifier - unique identifier of this element in the external asset manager
        Throws:
        InvalidParameterException - one of the parameters is invalid
        UserNotAuthorizedException - user not authorized to issue this request
        PropertyServerException - problem accessing the property server
      • getElementsForExternalIdentifier

        List<ElementHeader> getElementsForExternalIdentifier​(String userId,
                                                             String assetManagerGUID,
                                                             String assetManagerName,
                                                             String externalIdentifier,
                                                             int startFrom,
                                                             int pageSize)
                                                      throws InvalidParameterException,
                                                             UserNotAuthorizedException,
                                                             PropertyServerException
        Return the list of headers for open metadata elements that are associated with a particular external identifier.
        Parameters:
        userId - calling user
        assetManagerGUID - unique identifier of software server capability representing the caller
        assetManagerName - unique name of software server capability representing the caller
        externalIdentifier - unique identifier of this element in the external asset manager
        startFrom - paging start point
        pageSize - maximum results that can be returned
        Returns:
        list of element headers
        Throws:
        InvalidParameterException - one of the parameters is invalid
        UserNotAuthorizedException - user not authorized to issue this request
        PropertyServerException - problem accessing the property server