lumis.socialnetworkintegration.action
Class MessageUpdater

Package class diagram package MessageUpdater
java.lang.Object
  extended by lumis.portal.processqueue.AbstractQueueTask
      extended by lumis.socialnetworkintegration.action.AbstractMessageAction
          extended by lumis.socialnetworkintegration.action.MessageUpdater
All Implemented Interfaces:
Serializable, IQueueTask
Direct Known Subclasses:
ContentMessageUpdater

public class MessageUpdater
extends AbstractMessageAction

Updates a message in the targeted social network, if it allows.

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
MessageUpdater(String messageId, String accountId, String messageContent, Date publishDate)
           
 
Method Summary
 void run()
          Low level method that uses ISocialNetworkConnector to update 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

MessageUpdater

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

run

public void run()
         throws PortalException
Low level method that uses ISocialNetworkConnector to update 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.