public class TwitterChannelType extends AbstractOAuth1ChannelType
ChannelType.AuthStatus, ChannelType.AuthUrlPair| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
| Constructor and Description |
|---|
TwitterChannelType() |
| 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
|
int |
getMaximumStatusLength()
If this channel type supports status updates then this operation returns the maximum permitted
length of those status updates.
|
java.lang.String |
getNodeUrl(org.alfresco.service.cmr.repository.NodeRef node)
Returns the URL for a piece of content represented by the supplied
node. |
void |
sendStatusUpdate(Channel channel,
java.lang.String status)
Send the specified status update to the specified channel
|
getAuthorisationUrls, getConnectionForChannel, getOAuth1Parameters, getOAuthVerifierParamName, internalAcceptAuthorisation, setConnectionFactoryacceptAuthorisationCallback, getChannelService, getEncryptor, getIcon, getIconFileExtension, getNodeService, getSupportedContentTypes, getSupportedMimeTypes, getTitle, publish, setChannelService, setEncryptor, setNodeService, unpublishpublic static final java.lang.String ID
public boolean canPublish()
ChannelTypepublic boolean canPublishStatusUpdates()
ChannelTypepublic boolean canUnpublish()
ChannelTypepublic org.alfresco.service.namespace.QName getChannelNodeType()
ChannelTypepublic java.lang.String getId()
ChannelTypepublic int getMaximumStatusLength()
AbstractChannelTypegetMaximumStatusLength in interface ChannelTypegetMaximumStatusLength in class AbstractChannelTypepublic void sendStatusUpdate(Channel channel, java.lang.String status)
ChannelTypesendStatusUpdate in interface ChannelTypesendStatusUpdate in class AbstractChannelTypepublic java.lang.String getNodeUrl(org.alfresco.service.cmr.repository.NodeRef node)
ChannelTypenode.getNodeUrl in interface ChannelTypegetNodeUrl in class AbstractChannelTypenode - The published content node in the live environment.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.