Class MessagePublisher
- java.lang.Object
-
- lumis.portal.processqueue.AbstractQueueTask
-
- lumis.socialnetworkintegration.action.AbstractMessageAction
-
- lumis.socialnetworkintegration.action.MessagePublisher
-
- All Implemented Interfaces:
java.io.Serializable
,IQueueTask
- Direct Known Subclasses:
ContentMessagePublisher
public class MessagePublisher extends AbstractMessageAction
Action to publish a message to a social network.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.socialnetworkintegration.action.AbstractMessageAction
AbstractMessageAction.AfterRollbackSetErrorStatus
-
-
Field Summary
-
Fields inherited from class lumis.socialnetworkintegration.action.AbstractMessageAction
accountId, messageContent, messageId, publishDate
-
-
Constructor Summary
Constructors Constructor Description MessagePublisher(java.lang.String messageId, java.lang.String accountId, java.lang.String messageContent, java.util.Date publishDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Low level method that uses ISocialNetworkConnector to publish a message to the social network.-
Methods inherited from class lumis.socialnetworkintegration.action.AbstractMessageAction
getLatestRemoteId, getProcessId, setStatus
-
-
-
-
Method Detail
-
run
public void run() throws PortalException
Low level method that uses ISocialNetworkConnector to publish a message to the social network.- Throws:
PortalException
-
-