public class LinkedInChannelType extends AbstractOAuth1ChannelType<AlfrescoLinkedIn>
ChannelType.AuthStatus, ChannelType.AuthUrlPair
Constructor and Description |
---|
LinkedInChannelType() |
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
|
int |
getMaximumStatusLength()
If this channel type supports status updates then this operation returns the maximum permitted
length of those status updates.
|
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,
String status)
Send the specified status update to the specified channel
|
getAuthorisationUrls, getConnectionForChannel, getOAuth1Parameters, getOAuthVerifierParamName, internalAcceptAuthorisation, setConnectionFactory
acceptAuthorisationCallback, getChannelService, getEncryptor, getIcon, getIconFileExtension, getNodeService, getSupportedContentTypes, getSupportedMimeTypes, getTitle, isHidden, publish, setChannelService, setEncryptor, setHidden, setNodeService, unpublish
public static final String ID
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 int getMaximumStatusLength()
AbstractChannelType
getMaximumStatusLength
in interface ChannelType
getMaximumStatusLength
in class AbstractChannelType
public void sendStatusUpdate(Channel channel, String status)
ChannelType
sendStatusUpdate
in interface ChannelType
sendStatusUpdate
in class AbstractChannelType
channel
- Channelstatus
- Stringpublic String getNodeUrl(org.alfresco.service.cmr.repository.NodeRef node)
ChannelType
node
.getNodeUrl
in interface ChannelType
getNodeUrl
in class AbstractChannelType
node
- The published content node in the live environment.Copyright © 2005–2017 Alfresco Software. All rights reserved.