public interface MediaPublishingService
Modifier and Type | Method and Description |
---|---|
String[] |
getAvailableProviders(DocumentModel doc)
Return a list of the available media publishing services for the given document
|
MediaPublishingProvider |
getProvider(String provider)
Return the provider with the given name.
|
String |
publish(DocumentModel doc,
String provider,
String account,
Map<String,String> options)
Schedules an upload
|
void |
unpublish(DocumentModel doc,
String provider)
Unpublish the media
|
String[] getAvailableProviders(DocumentModel doc)
String publish(DocumentModel doc, String provider, String account, Map<String,String> options)
doc
- the Document to uploadprovider
- the id of the media publishing providervoid unpublish(DocumentModel doc, String provider)
MediaPublishingProvider getProvider(String provider)
Copyright © 2018 Nuxeo. All rights reserved.