|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl org.kuali.rice.kcb.service.impl.MessageDeliveryServiceImpl
public class MessageDeliveryServiceImpl
MessageDeliveryService implementation
Field Summary |
---|
Fields inherited from class org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl |
---|
dao |
Constructor Summary | |
---|---|
MessageDeliveryServiceImpl()
|
Method Summary | |
---|---|
void |
deleteMessageDelivery(MessageDelivery messageDelivery)
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[] statuses)
Locks and takes all message deliveries of a given message in the system with any of the specified statuses |
Collection<MessageDelivery> |
lockAndTakeMessageDeliveries(MessageDeliveryStatus[] statuses)
Locks and takes all message deliveries in the system with any of the specified statuses |
void |
saveMessageDelivery(MessageDelivery delivery)
Saves a MessageDelivery |
void |
setMaxProcessAttempts(int maxProcessAttempts)
Sets the max processing attempts |
Methods inherited from class org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl |
---|
setGenericDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageDeliveryServiceImpl()
Method Detail |
---|
public void setMaxProcessAttempts(int maxProcessAttempts)
maxProcessAttempts
- the max delivery attemptspublic void saveMessageDelivery(MessageDelivery delivery)
MessageDeliveryService
saveMessageDelivery
in interface MessageDeliveryService
delivery
- the MessageDelivery to saveMessageDeliveryService.saveMessageDelivery(org.kuali.rice.kcb.bo.MessageDelivery)
public void deleteMessageDelivery(MessageDelivery messageDelivery)
MessageDeliveryService
deleteMessageDelivery
in interface MessageDeliveryService
messageDelivery
- the MessageDelivery to deleteorg.kuali.rice.kcb.service.MessageDeliveryService#deleteMessageDelivery(java.lang.Long)
public Collection<MessageDelivery> getAllMessageDeliveries()
MessageDeliveryService
getAllMessageDeliveries
in interface MessageDeliveryService
org.kuali.rice.kcb.service.MessageDeliveryService#getMessageDeliveries()
public MessageDelivery getMessageDelivery(Long id)
MessageDeliveryService
getMessageDelivery
in interface MessageDeliveryService
MessageDeliveryService.getMessageDelivery(java.lang.Long)
public MessageDelivery getMessageDeliveryByDelivererSystemId(Long id)
MessageDeliveryService
getMessageDeliveryByDelivererSystemId
in interface MessageDeliveryService
id
- the external deliverer system id
MessageDeliveryService.getMessageDeliveryByDelivererSystemId(java.lang.Long)
public Collection<MessageDelivery> getMessageDeliveries(Message message)
MessageDeliveryService
getMessageDeliveries
in interface MessageDeliveryService
message
- the message which generated the message deliveries
MessageDeliveryService.getMessageDeliveries(org.kuali.rice.kcb.bo.Message)
public Collection<MessageDelivery> lockAndTakeMessageDeliveries(MessageDeliveryStatus[] statuses)
MessageDeliveryService
lockAndTakeMessageDeliveries
in interface MessageDeliveryService
statuses
- the statuses of message deliveries to take
public Collection<MessageDelivery> lockAndTakeMessageDeliveries(Long messageId, MessageDeliveryStatus[] statuses)
MessageDeliveryService
lockAndTakeMessageDeliveries
in interface MessageDeliveryService
messageId
- the id of the message whose deliveries to takestatuses
- the statuses of message deliveries to take
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |