public class FlickrChannelType extends AbstractOAuth1ChannelType<Flickr>
ChannelType.AuthStatus, ChannelType.AuthUrlPair| Constructor and Description |
|---|
FlickrChannelType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPublish()
Does this channel type support publishing content?
|
boolean |
canPublishStatusUpdates()
Does this channel type support status updates?
|
boolean |
canUnpublish()
Does this channel type support unpublishing content? That is to say, once content has been published
to a channel of this type, can it later be removed from that channel?
|
org.alfresco.service.namespace.QName |
getChannelNodeType()
Each channel is stored in the repository as a node.
|
String |
getId()
Returns the unique identifier of this channel type
|
protected org.springframework.social.oauth1.OAuth1Parameters |
getOAuth1Parameters(String callbackUrl)
Override this method to add additonal parameters onto the URL that the user is redirected to
to authorise access to their account.
|
Set<String> |
getSupportedMimeTypes()
Returns the set of MIME types supported by channels of this type.
|
void |
publish(org.alfresco.service.cmr.repository.NodeRef nodeToPublish,
Map<org.alfresco.service.namespace.QName,Serializable> channelProperties) |
void |
setContentService(ContentService contentService) |
void |
setFlickrHelper(FlickrPublishingHelper flickrHelper) |
void |
setSupportedMimeTypes(Set<String> mimeTypes) |
void |
setTaggingService(TaggingService taggingService) |
void |
unpublish(org.alfresco.service.cmr.repository.NodeRef nodeToUnpublish,
Map<org.alfresco.service.namespace.QName,Serializable> channelProperties) |
getAuthorisationUrls, getConnectionForChannel, getOAuthVerifierParamName, internalAcceptAuthorisation, setConnectionFactoryacceptAuthorisationCallback, getChannelService, getEncryptor, getIcon, getIconFileExtension, getMaximumStatusLength, getNodeService, getNodeUrl, getSupportedContentTypes, getTitle, sendStatusUpdate, setChannelService, setEncryptor, setNodeServicepublic static final String ID
public void setContentService(ContentService contentService)
public void setTaggingService(TaggingService taggingService)
public void setFlickrHelper(FlickrPublishingHelper flickrHelper)
public boolean canPublish()
ChannelTypepublic boolean canPublishStatusUpdates()
ChannelTypepublic boolean canUnpublish()
ChannelTypepublic org.alfresco.service.namespace.QName getChannelNodeType()
ChannelTypepublic String getId()
ChannelTypepublic Set<String> getSupportedMimeTypes()
ChannelTypegetSupportedMimeTypes in interface ChannelTypegetSupportedMimeTypes in class AbstractChannelTypepublic void publish(org.alfresco.service.cmr.repository.NodeRef nodeToPublish,
Map<org.alfresco.service.namespace.QName,Serializable> channelProperties)
publish in interface ChannelTypePublishingOperationspublish in class AbstractChannelTypepublic void unpublish(org.alfresco.service.cmr.repository.NodeRef nodeToUnpublish,
Map<org.alfresco.service.namespace.QName,Serializable> channelProperties)
unpublish in interface ChannelTypePublishingOperationsunpublish in class AbstractChannelTypeprotected org.springframework.social.oauth1.OAuth1Parameters getOAuth1Parameters(String callbackUrl)
AbstractOAuth1ChannelTypegetOAuth1Parameters in class AbstractOAuth1ChannelType<Flickr>OAuth1Parameters.NONECopyright © 2005–2014 Alfresco Software. All rights reserved.