Interface ExternalSystemContentService

All Known Implementing Classes:
ExternalSystemContentServiceImpl

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

    Fields 
    Modifier and Type Field Description
    static java.lang.String MIME_TYPE_HINT  
    static java.lang.String NAME_HINT  
  • Method Summary

    Modifier and Type Method Description
    org.flowable.content.api.ContentItem fetchAndCreateProvisionalContent​(java.lang.String externalSystemId, java.lang.String businessAccountId, java.lang.String externalMediaId, java.util.Map<java.lang.String,​java.lang.String> hints)
    This fetches the media from the external system adapter and creates provisional content.
  • Field Details

  • Method Details

    • fetchAndCreateProvisionalContent

      org.flowable.content.api.ContentItem fetchAndCreateProvisionalContent​(java.lang.String externalSystemId, java.lang.String businessAccountId, java.lang.String externalMediaId, java.util.Map<java.lang.String,​java.lang.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