|
||||||||||
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.NotificationSenderFormPostProcessor
public class NotificationSenderFormPostProcessor
This class is the post processor that gets run when the general notification message sending form is approved by its reviewers.
Field Summary | |
---|---|
(package private) GenericDao |
businessObjectDao
|
private static org.apache.log4j.Logger |
LOG
|
(package private) NotificationMessageContentService |
messageContentService
|
(package private) NotificationService |
notificationService
|
Constructor Summary | |
---|---|
NotificationSenderFormPostProcessor()
Constructs a NotificationSenderFormPostProcessor instance. |
|
NotificationSenderFormPostProcessor(NotificationService notificationService,
GenericDao businessObjectDao)
Constructs a NotificationSenderFormPostProcessor 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 arg0)
KEW is signaling that the document has had an action taken on it by a user |
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)
When the EDL simple message sending form is submitted, it is routed straight to FINAL and at that time (when RESOLVED), we actually send the notification. |
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
GenericDao businessObjectDao
NotificationMessageContentService messageContentService
Constructor Detail |
---|
public NotificationSenderFormPostProcessor()
public NotificationSenderFormPostProcessor(NotificationService notificationService, GenericDao businessObjectDao)
notificationService
- businessObjectDao
- Method Detail |
---|
public boolean doActionTaken(ActionTakenEventDTO arg0) throws RemoteException
PostProcessorRemote
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
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 |