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, setConnectionFactory
acceptAuthorisationCallback, getChannelService, getEncryptor, getIcon, getIconFileExtension, getMaximumStatusLength, getNodeService, getNodeUrl, getSupportedContentTypes, getTitle, isHidden, sendStatusUpdate, setChannelService, setEncryptor, setHidden, setNodeService
public static final String ID
public void setContentService(ContentService contentService)
public void setTaggingService(TaggingService taggingService)
public void setFlickrHelper(FlickrPublishingHelper flickrHelper)
public boolean canPublish()
ChannelType
public boolean canPublishStatusUpdates()
ChannelType
public boolean canUnpublish()
ChannelType
public org.alfresco.service.namespace.QName getChannelNodeType()
ChannelType
public String getId()
ChannelType
public Set<String> getSupportedMimeTypes()
ChannelType
getSupportedMimeTypes
in interface ChannelType
getSupportedMimeTypes
in class AbstractChannelType
public void publish(org.alfresco.service.cmr.repository.NodeRef nodeToPublish, Map<org.alfresco.service.namespace.QName,Serializable> channelProperties)
publish
in interface ChannelTypePublishingOperations
publish
in class AbstractChannelType
public void unpublish(org.alfresco.service.cmr.repository.NodeRef nodeToUnpublish, Map<org.alfresco.service.namespace.QName,Serializable> channelProperties)
unpublish
in interface ChannelTypePublishingOperations
unpublish
in class AbstractChannelType
protected org.springframework.social.oauth1.OAuth1Parameters getOAuth1Parameters(String callbackUrl)
AbstractOAuth1ChannelType
getOAuth1Parameters
in class AbstractOAuth1ChannelType<Flickr>
callbackUrl
- StringOAuth1Parameters.NONE
Copyright © 2005–2017 Alfresco Software. All rights reserved.