|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ken.postprocessor.kew.NotificationPostProcessor
public class NotificationPostProcessor
This class is the post processor that gets run when workflow state changes occur for the underlying core NotificationDocumentType that all notifications go into KEW as. This class is responsible for changing the state of the associated notification message delivery record after someone FYIs or ACKs their notification in the KEW Action List.
Field Summary | |
---|---|
private static org.apache.log4j.Logger |
LOG
|
(package private) NotificationMessageDeliveryService |
msgDeliverySvc
|
(package private) NotificationService |
notificationService
|
Constructor Summary | |
---|---|
NotificationPostProcessor()
Constructs a NotificationPostProcessor instance. |
Method Summary | |
---|---|
boolean |
afterProcess(AfterProcessEventDTO afterProcessEvent)
The document has just completed processing by the Workflow engine. |
boolean |
beforeProcess(BeforeProcessEventDTO beforeProcessEvent)
The document is about to be processed by the Workflow engine. |
boolean |
doActionTaken(ActionTakenEventDTO event)
Need to intercept ACKNOWLEDGE or FYI actions taken on notification workflow documents and set the local state of the Notification to REMOVED as well. |
boolean |
doDeleteRouteHeader(DeleteEventDTO arg0)
KEW is signaling that the document should be deleted. |
boolean |
doRouteLevelChange(DocumentRouteLevelChangeDTO arg0)
The document has changed route level. |
boolean |
doRouteStatusChange(DocumentRouteStatusChangeDTO arg0)
The document has changed route status. |
String[] |
getDocumentIdsToLock(DocumentLockingEventDTO documentLockingEvent)
Executed prior to document locking in the workflow engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger LOG
NotificationService notificationService
NotificationMessageDeliveryService msgDeliverySvc
Constructor Detail |
---|
public NotificationPostProcessor()
Method Detail |
---|
public boolean doActionTaken(ActionTakenEventDTO event) throws RemoteException
doActionTaken
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doActionTaken(org.kuali.rice.kew.dto.ActionTakenEventDTO)
public boolean doDeleteRouteHeader(DeleteEventDTO arg0) throws RemoteException
PostProcessorRemote
doDeleteRouteHeader
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doDeleteRouteHeader(org.kuali.rice.kew.dto.DeleteEventDTO)
public boolean doRouteLevelChange(DocumentRouteLevelChangeDTO arg0) throws RemoteException
PostProcessorRemote
doRouteLevelChange
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO)
public boolean doRouteStatusChange(DocumentRouteStatusChangeDTO arg0) throws RemoteException
PostProcessorRemote
doRouteStatusChange
in interface PostProcessorRemote
RemoteException
PostProcessorRemote.doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO)
public boolean beforeProcess(BeforeProcessEventDTO beforeProcessEvent) throws Exception
PostProcessorRemote
beforeProcess
in interface PostProcessorRemote
beforeProcessEvent
- - holder for data from the engine's process
Exception
- A general Exception will put the document into Exception routingPostProcessorRemote.beforeProcess(org.kuali.rice.kew.dto.BeforeProcessEventDTO)
public boolean afterProcess(AfterProcessEventDTO afterProcessEvent) throws Exception
PostProcessorRemote
afterProcess
in interface PostProcessorRemote
afterProcessEvent
- - holder for data from the engine's process including whether the engine was successful or not
Exception
- A general Exception will put the document into Exception routingPostProcessorRemote.afterProcess(org.kuali.rice.kew.dto.AfterProcessEventDTO)
public String[] getDocumentIdsToLock(DocumentLockingEventDTO documentLockingEvent) throws Exception
PostProcessorRemote
Note that, by default, the id of the document that is being processed by the engine is always locked. So there is no need to return that document id in the array of document ids to lock.
getDocumentIdsToLock
in interface PostProcessorRemote
Exception
PostProcessorRemote.getDocumentIdsToLock(org.kuali.rice.kew.dto.DocumentLockingEventDTO)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |