|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.processqueue.AbstractQueueTask lumis.socialnetworkintegration.action.AbstractMessageAction
public abstract class AbstractMessageAction
High level representation of what the Mesasge/Content interactions with the Asynch queues should be.
Nested Class Summary | |
---|---|
protected class |
AbstractMessageAction.AfterRollbackSetErrorStatus
Class that will set the SocialNetworkMessage to SocialNetworkMessageStatus.Error after the rollback has occurred. |
Field Summary | |
---|---|
protected String |
accountId
Id of the account that should publish/update/remove the message |
protected String |
messageContent
Content that should be published/updated/removed |
protected String |
messageId
Id of the message in the current portal. |
protected Date |
publishDate
Publish date/time |
Constructor Summary | |
---|---|
AbstractMessageAction(String messageId,
String accountId,
String messageContent,
Date publishDate)
Default constructor. |
Method Summary | |
---|---|
protected String |
getLatestRemoteId(ITransaction transaction)
Retrieves the latest remote id for a message. |
protected String |
getProcessId()
Returns the process Id in which the task is being performed. |
protected void |
setStatus(ITransaction transaction,
SocialNetworkMessageStatus status)
Updates a process in the queue to a specific status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lumis.portal.processqueue.IQueueTask |
---|
run |
Field Detail |
---|
protected final String messageId
protected final String messageContent
protected final String accountId
protected final Date publishDate
Constructor Detail |
---|
public AbstractMessageAction(String messageId, String accountId, String messageContent, Date publishDate)
messageId
- id of the message to be publishedaccountId
- id of the account that should publish/update/remove the messagemessageContent
- content that should be published/updated/removedpublishDate
- date/time the messaga should be published/updated/removedMethod Detail |
---|
protected String getLatestRemoteId(ITransaction transaction) throws DaoException
transaction
- to occur the retrieval
DaoException
protected String getProcessId()
protected void setStatus(ITransaction transaction, SocialNetworkMessageStatus status) throws DaoException
session
-
DaoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |