public class ExternalSystemContentServiceImpl extends Object implements ExternalSystemContentService
| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.content.api.ContentService |
contentService |
protected Duration |
contentWaitDuration |
protected Map<String,ExternalSystemContentProvider> |
externalSystemContentProviders |
MIME_TYPE_HINT, NAME_HINT| Constructor and Description |
|---|
ExternalSystemContentServiceImpl(org.flowable.content.api.ContentService contentService,
Collection<ExternalSystemContentProvider> externalSystemContentProviders,
Duration contentWaitDuration) |
| Modifier and Type | Method and Description |
|---|---|
org.flowable.content.api.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.
|
protected ExternalSystemContentProvider |
getAdapterProvider(String externalSystemId) |
protected final org.flowable.content.api.ContentService contentService
protected final Map<String,ExternalSystemContentProvider> externalSystemContentProviders
protected final Duration contentWaitDuration
public ExternalSystemContentServiceImpl(org.flowable.content.api.ContentService contentService,
Collection<ExternalSystemContentProvider> externalSystemContentProviders,
Duration contentWaitDuration)
public org.flowable.content.api.ContentItem fetchAndCreateProvisionalContent(String externalSystemId, String businessAccountId, String externalMediaId, Map<String,String> hints)
ExternalSystemContentServicefetchAndCreateProvisionalContent in interface ExternalSystemContentServiceexternalSystemId - 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 itemprotected ExternalSystemContentProvider getAdapterProvider(String externalSystemId)
Copyright © 2019. All rights reserved.