public abstract class OAuth2MediaPublishingProvider extends Object implements MediaPublishingProvider
Constructor and Description |
---|
OAuth2MediaPublishingProvider(String providerName) |
Modifier and Type | Method and Description |
---|---|
protected com.google.api.client.auth.oauth2.Credential |
getCredential(String account) |
protected OAuth2ServiceProvider |
getOAuth2ServiceProvider() |
boolean |
isAvailable()
Checks if the provider is available
|
boolean |
isMediaAvailable(PublishableMedia media)
Checks it the given
PublishableMedia is acessible |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEmbedCode, getPublishedUrl, getStats, isMediaPublished, unpublish, upload
public OAuth2MediaPublishingProvider(String providerName)
protected OAuth2ServiceProvider getOAuth2ServiceProvider()
protected com.google.api.client.auth.oauth2.Credential getCredential(String account)
public boolean isAvailable()
MediaPublishingProvider
isAvailable
in interface MediaPublishingProvider
public boolean isMediaAvailable(PublishableMedia media)
MediaPublishingProvider
PublishableMedia
is acessibleisMediaAvailable
in interface MediaPublishingProvider
Copyright © 2015 Nuxeo SA. All rights reserved.