|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageDeliveryService
The MessageDeliveryService class is responsible various functions regarding the MessageDelivery records that exist within the system.
Method Summary | |
---|---|
void |
deleteMessageDelivery(MessageDelivery delivery)
Deletes a MessageDelivery |
Collection<MessageDelivery> |
getAllMessageDeliveries()
This method will return all MessageDelivery objects in the system |
Collection<MessageDelivery> |
getMessageDeliveries(Message message)
This method will return all MessageDelievery objects generated for the given Message |
MessageDelivery |
getMessageDelivery(Long id)
This method will retrieve a MessageDelivery object from the system, given the id of the actual record. |
MessageDelivery |
getMessageDeliveryByDelivererSystemId(Long id)
This method will retrieve a MessageDelivery object from the system, given the external deliverer system id registered with the MessageDelivery. |
Collection<MessageDelivery> |
lockAndTakeMessageDeliveries(Long messageId,
MessageDeliveryStatus[] status)
Locks and takes all message deliveries of a given message in the system with any of the specified statuses |
Collection<MessageDelivery> |
lockAndTakeMessageDeliveries(MessageDeliveryStatus[] status)
Locks and takes all message deliveries in the system with any of the specified statuses |
void |
saveMessageDelivery(MessageDelivery delivery)
Saves a MessageDelivery |
Method Detail |
---|
void saveMessageDelivery(MessageDelivery delivery)
delivery
- the MessageDelivery to savevoid deleteMessageDelivery(MessageDelivery delivery)
delivery
- the MessageDelivery to deleteMessageDelivery getMessageDelivery(Long id)
id
-
MessageDelivery getMessageDeliveryByDelivererSystemId(Long id)
id
- the external deliverer system id
Collection<MessageDelivery> getAllMessageDeliveries()
Collection<MessageDelivery> getMessageDeliveries(Message message)
message
- the message which generated the message deliveries
Collection<MessageDelivery> lockAndTakeMessageDeliveries(Long messageId, MessageDeliveryStatus[] status)
messageId
- the id of the message whose deliveries to takestatus
- the statuses of message deliveries to take
Collection<MessageDelivery> lockAndTakeMessageDeliveries(MessageDeliveryStatus[] status)
status
- the statuses of message deliveries to take
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |