public interface MessageDeliveryService
Modifier and Type | Method and Description |
---|---|
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
|
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 idCollection<MessageDelivery> getAllMessageDeliveries()
Collection<MessageDelivery> getMessageDeliveries(Message message)
message
- the message which generated the message deliveriesCollection<MessageDelivery> lockAndTakeMessageDeliveries(Long messageId, MessageDeliveryStatus[] status)
messageId
- the id of the message whose deliveries to takestatus
- the statuses of message deliveries to takeCollection<MessageDelivery> lockAndTakeMessageDeliveries(MessageDeliveryStatus[] status)
status
- the statuses of message deliveries to takeCopyright © 2005–2016 The Kuali Foundation. All rights reserved.