Interface AttachmentDataSourceProvider


  • public interface AttachmentDataSourceProvider
    An AttachmentDataSourceProvider is used to retrieve attachments from external sources as document management systems or CRM systems.
    Since:
    10.0.38
    • Method Detail

      • getScheme

        java.lang.String getScheme()
        The scheme identifies the AttachmentDataSourceProvider. If there are more than one AttachmentDataSourceProvider with the same scheme running at the same time, all of them will be asked to provide the requested AttachmentDataSource until the attachment is found. The scheme must contain only lower case characters and digits [a-z][0-9] The maximum length of the String is 8 characters or digits.
        Returns:
        The scheme of this AttachmentDataSourceProvider
        Since:
        10.0.38
      • getAttachmentDataSource

        AttachmentDataSource getAttachmentDataSource​(java.lang.String uid)
        Parameters:
        uid - - The UID to provide the AttachmentDataSource
        Returns:
        AttachmentDataSource - attachment information and access to binary data
        Since:
        10.0.38