public class FlickrChannelType extends AbstractOAuth1ChannelType
ChannelType.AuthStatus, ChannelType.AuthUrlPair| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
| 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.
|
java.lang.String |
getId()
Returns the unique identifier of this channel type
|
protected org.springframework.social.oauth1.OAuth1Parameters |
getOAuth1Parameters(java.lang.String callbackUrl)
Override this method to add additonal parameters onto the URL that the user is redirected to
to authorise access to their account.
|
java.util.Set |
getSupportedMimeTypes()
Returns the set of MIME types supported by channels of this type.
|
void |
publish(org.alfresco.service.cmr.repository.NodeRef nodeToPublish,
java.util.Map channelProperties) |
void |
setContentService(ContentService contentService) |
void |
setFlickrHelper(FlickrPublishingHelper flickrHelper) |
void |
setSupportedMimeTypes(java.util.Set mimeTypes) |
void |
setTaggingService(TaggingService taggingService) |
void |
unpublish(org.alfresco.service.cmr.repository.NodeRef nodeToUnpublish,
java.util.Map channelProperties) |
getAuthorisationUrls, getConnectionForChannel, getOAuthVerifierParamName, internalAcceptAuthorisation, setConnectionFactoryacceptAuthorisationCallback, getChannelService, getEncryptor, getIcon, getIconFileExtension, getMaximumStatusLength, getNodeService, getNodeUrl, getSupportedContentTypes, getTitle, sendStatusUpdate, setChannelService, setEncryptor, setNodeServicepublic static final java.lang.String ID
public void setSupportedMimeTypes(java.util.Set mimeTypes)
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 java.lang.String getId()
ChannelTypepublic java.util.Set getSupportedMimeTypes()
ChannelTypegetSupportedMimeTypes in interface ChannelTypegetSupportedMimeTypes in class AbstractChannelTypepublic void publish(org.alfresco.service.cmr.repository.NodeRef nodeToPublish,
java.util.Map channelProperties)
publish in interface ChannelTypePublishingOperationspublish in class AbstractChannelTypepublic void unpublish(org.alfresco.service.cmr.repository.NodeRef nodeToUnpublish,
java.util.Map channelProperties)
unpublish in interface ChannelTypePublishingOperationsunpublish in class AbstractChannelTypeprotected org.springframework.social.oauth1.OAuth1Parameters getOAuth1Parameters(java.lang.String callbackUrl)
AbstractOAuth1ChannelTypegetOAuth1Parameters in class AbstractOAuth1ChannelTypeOAuth1Parameters.NONECopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.