|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kcb.service.impl.MessagingServiceImpl
public class MessagingServiceImpl
MessagingService implementation
| Nested Class Summary | |
|---|---|
static class |
MessagingServiceImpl.QueueProcessingJobSynchronization
|
| Constructor Summary | |
|---|---|
MessagingServiceImpl()
|
|
| Method Summary | |
|---|---|
Long |
deliver(MessageDTO message)
Delivers a message |
void |
remove(long messageId,
String user,
String cause)
Removes a specific message and all deliveries |
Long |
removeByOriginId(String originId,
String user,
String cause)
Removes a specific message and all deliveries. |
void |
setJobGroup(String jobGroup)
Sets the group of the target job to run to process messages |
void |
setJobName(String jobName)
Sets the name of the target job to run to process messages |
void |
setMessageDeliveryService(MessageDeliveryService messageDeliveryService)
Sets the MessageDeliveryService |
void |
setMessageService(MessageService messageService)
Sets the MessageService |
void |
setRecipientPreferenceService(RecipientPreferenceService prefs)
Sets the RecipientPreferencesService |
void |
setSynchronous(boolean sync)
Sets whether to perform the processing synchronously |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessagingServiceImpl()
| Method Detail |
|---|
public void setJobName(String jobName)
jobName - the name of the target job to run to process messagespublic void setJobGroup(String jobGroup)
jobGroup - Sets the group of the target job to run to process messagespublic void setMessageService(MessageService messageService)
messageService - the MessageServicepublic void setMessageDeliveryService(MessageDeliveryService messageDeliveryService)
messageDeliveryService - the MessageDeliveryServicepublic void setSynchronous(boolean sync)
sync - whether to perform the processing synchronouslypublic void setRecipientPreferenceService(RecipientPreferenceService prefs)
prefs - the RecipientPreferenceService
public Long deliver(MessageDTO message)
throws MessageDeliveryException
MessagingService
deliver in interface MessagingServicemessage - message to deliver
MessageDeliveryExceptionorg.kuali.rice.kcb.service.MessagingService#deliver(org.kuali.rice.kcb.dto.MessageDTO)
public void remove(long messageId,
String user,
String cause)
throws MessageDismissalException
MessagingService
remove in interface MessagingServicemessageId - id of the message to removeuser - the user under which the action was takencause - the cause or action taken to remove the message
MessageDismissalExceptionorg.kuali.rice.kcb.service.MessagingService#remove(long, java.lang.String, java.lang.String)
public Long removeByOriginId(String originId,
String user,
String cause)
throws MessageDismissalException
MessagingService
removeByOriginId in interface MessagingServiceoriginId - origin id of the message to removeuser - the user under which the action was takencause - the cause or action taken to remove the message
MessageDismissalExceptionorg.kuali.rice.kcb.service.MessagingService#removeByOriginId(java.lang.String, java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||