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 -
Method Summary
-
Field Details
-
NAME_HINT
- See Also:
-
MIME_TYPE_HINT
- See Also:
-
-
Method Details
-
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 fetchedbusinessAccountId
- the account for which the fetch should be doneexternalMediaId
- the id of the external mediahints
- optional hints that can be used when creating the content item- Returns:
- the persistent content item
-