Class MessagePublisher
- java.lang.Object
-
- lumis.portal.processqueue.AbstractQueueTask
-
- lumis.socialnetworkintegration.action.AbstractMessageAction
-
- lumis.socialnetworkintegration.action.MessagePublisher
-
- All Implemented Interfaces:
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: 24878 $ $Date: 2022-03-15 01:44:27 -0300 (Tue, 15 Mar 2022) $
- 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(String messageId, String accountId, String messageContent, 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
-
-