lumis.socialnetworkintegration.action
Class MessagePublisher

Package class diagram package MessagePublisher
java.lang.Object
  extended by lumis.portal.processqueue.AbstractQueueTask
      extended by lumis.socialnetworkintegration.action.AbstractMessageAction
          extended by 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
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
MessagePublisher(String messageId, String accountId, String messageContent, Date publishDate)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagePublisher

public MessagePublisher(String messageId,
                        String accountId,
                        String messageContent,
                        Date publishDate)
Method Detail

run

public void run()
         throws PortalException
Low level method that uses ISocialNetworkConnector to publish a message to the social network.

Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.