|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.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 java.lang.String |
accountId
Id of the account that should publish/update/remove the message |
protected java.lang.String |
messageContent
Content that should be published/updated/removed |
protected java.lang.String |
messageId
Id of the message in the current portal. |
protected java.util.Date |
publishDate
Publish date/time |
Constructor Summary | |
---|---|
AbstractMessageAction(java.lang.String messageId,
java.lang.String accountId,
java.lang.String messageContent,
java.util.Date publishDate)
Default constructor. |
Method Summary | |
---|---|
protected java.lang.String |
getLatestRemoteId(ITransaction transaction)
Retrieves the latest remote id for a message. |
protected java.lang.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 java.lang.String messageId
protected final java.lang.String messageContent
protected final java.lang.String accountId
protected final java.util.Date publishDate
Constructor Detail |
---|
public AbstractMessageAction(java.lang.String messageId, java.lang.String accountId, java.lang.String messageContent, java.util.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 java.lang.String getLatestRemoteId(ITransaction transaction) throws DaoException
transaction
- to occur the retrieval
DaoException
protected java.lang.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 |