|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.publishing.AbstractChannelType
org.alfresco.repo.publishing.AbstractOAuth1ChannelType
org.alfresco.repo.publishing.flickr.FlickrChannelType
public class FlickrChannelType
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.publishing.channels.ChannelType |
---|
ChannelType.AuthStatus |
Field Summary | |
---|---|
static java.lang.String |
ID
|
Constructor Summary | |
---|---|
FlickrChannelType()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.alfresco.repo.publishing.AbstractOAuth1ChannelType |
---|
getAuthorisationUrl, getConnectionForChannel, getOAuthVerifierParamName, internalAcceptAuthorisation, setConnectionFactory |
Methods inherited from class org.alfresco.repo.publishing.AbstractChannelType |
---|
acceptAuthorisationCallback, getChannelService, getEncryptor, getIcon, getIconFileExtension, getMaximumStatusLength, getNodeService, getNodeUrl, getSupportedContentTypes, sendStatusUpdate, setChannelService, setEncryptor, setNodeService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
Constructor Detail |
---|
public FlickrChannelType()
Method Detail |
---|
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()
ChannelType
public boolean canPublishStatusUpdates()
ChannelType
public boolean canUnpublish()
ChannelType
public org.alfresco.service.namespace.QName getChannelNodeType()
ChannelType
public java.lang.String getId()
ChannelType
public java.util.Set getSupportedMimeTypes()
ChannelType
getSupportedMimeTypes
in interface ChannelType
getSupportedMimeTypes
in class AbstractChannelType
public void publish(org.alfresco.service.cmr.repository.NodeRef nodeToPublish, java.util.Map channelProperties)
publish
in interface ChannelTypePublishingOperations
publish
in class AbstractChannelType
public void unpublish(org.alfresco.service.cmr.repository.NodeRef nodeToUnpublish, java.util.Map channelProperties)
unpublish
in interface ChannelTypePublishingOperations
unpublish
in class AbstractChannelType
protected org.springframework.social.oauth1.OAuth1Parameters getOAuth1Parameters(java.lang.String callbackUrl)
AbstractOAuth1ChannelType
getOAuth1Parameters
in class AbstractOAuth1ChannelType
OAuth1Parameters.NONE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |