Interface ExternalSystemContentService

  • All Known Implementing Classes:
    ExternalSystemContentServiceImpl

    public interface ExternalSystemContentService
    Service that is responsible for fetching content from the external systems.
    Author:
    Filip Hrisafov
    • Method Detail

      • fetchAndCreateProvisionalContent

        ContentItem fetchAndCreateProvisionalContent​(String externalSystemId,
                                                     String businessAccountId,
                                                     String externalMediaId,
                                                     Map<String,​String> hints)
        This fetches the media from the external system adapter and creates provisional content.
        Parameters:
        externalSystemId - the id of the system from which the content item should be fetched
        businessAccountId - the account for which the fetch should be done
        externalMediaId - the id of the external media
        hints - optional hints that can be used when creating the content item
        Returns:
        the persistent content item