|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageQueueService
Method Summary | |
---|---|
void |
addMessageToUserQueue(String userId,
MessageTO message)
Add a new MessageTO to a user's queue. |
MessageTO |
deleteMessage(String messageId)
Deletes a MessageTO from underlying persistence. |
List |
getUserQueue(String userId,
String messageStatus)
Get a User's message Queue. |
MessageTO |
setMessageStatus(String messageId,
String status)
Retrieve a MessageTO from underlying persistence. |
Method Detail |
---|
void addMessageToUserQueue(String userId, MessageTO message) throws ICRException
MessageTO
to a user's queue.
userId
- Unique ID of usermessage
- MessageTO
instance to be added
ICRException
- Exception raised from underlying persistence storeList getUserQueue(String userId, String messageStatus) throws ICRException
userId
- Unique ID of usermessageStatus
- Filter messages by status. All messages are returned if null passed.
List
of MessageTO
ICRException
- Exception raised from underlying persistence storeMessageTO setMessageStatus(String messageId, String status) throws ICRException
MessageTO
from underlying persistence.
messageId
- Unique ID of messagestatus
- Status of message
MessageTO
ICRException
- Exception raised from underlying persistence storeMessageTO deleteMessage(String messageId) throws ICRException
MessageTO
from underlying persistence.
messageId
- Unique ID of message
MessageTO
ICRException
- Exception raised from underlying persistence store
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |