org.kuali.kfs.sys.document.workflow
Class PostProcessor

java.lang.Object
  extended by org.kuali.kfs.sys.document.workflow.PostProcessor
All Implemented Interfaces:
org.kuali.rice.kew.postprocessor.PostProcessorRemote

public class PostProcessor
extends Object
implements org.kuali.rice.kew.postprocessor.PostProcessorRemote

This class is the public entry point by which workflow communicates status changes, level changes, and other useful changes. Note that this class delegates all of these activities to the PostProcessorService, which does the actual work. This is done to ensure proper transaction scoping, and to resolve some issues present otherwise. Because of this, its important to understand that a transaction will be started at the PostProcessorService method call, so any work that needs to be done within the same transaction needs to happen inside that service implementation, rather than in here.


Constructor Summary
PostProcessor()
           
 
Method Summary
 boolean afterProcess(org.kuali.rice.kew.dto.AfterProcessEventDTO arg0)
           
 boolean beforeProcess(org.kuali.rice.kew.dto.BeforeProcessEventDTO arg0)
           
 boolean doActionTaken(org.kuali.rice.kew.dto.ActionTakenEventDTO event)
           
 boolean doDeleteRouteHeader(org.kuali.rice.kew.dto.DeleteEventDTO event)
           
 boolean doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO levelChangeEvent)
           
 boolean doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
           
 Long[] getDocumentIdsToLock(org.kuali.rice.kew.dto.DocumentLockingEventDTO arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostProcessor

public PostProcessor()
Method Detail

getDocumentIdsToLock

public Long[] getDocumentIdsToLock(org.kuali.rice.kew.dto.DocumentLockingEventDTO arg0)
                            throws Exception
Specified by:
getDocumentIdsToLock in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
Exception

doRouteStatusChange

public boolean doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
                            throws RemoteException
Specified by:
doRouteStatusChange in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
RemoteException
See Also:
org.kuali.rice.kew.clientapp.PostProcessorRemote#doRouteStatusChange(org.kuali.rice.kew.clientapp.vo.DocumentRouteStatusChangeDTO)

doActionTaken

public boolean doActionTaken(org.kuali.rice.kew.dto.ActionTakenEventDTO event)
                      throws RemoteException
Specified by:
doActionTaken in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
RemoteException
See Also:
org.kuali.rice.kew.clientapp.PostProcessorRemote#doActionTaken(org.kuali.rice.kew.clientapp.vo.ActionTakenEventDTO)

doDeleteRouteHeader

public boolean doDeleteRouteHeader(org.kuali.rice.kew.dto.DeleteEventDTO event)
                            throws RemoteException
Specified by:
doDeleteRouteHeader in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
RemoteException
See Also:
org.kuali.rice.kew.clientapp.PostProcessorRemote#doDeleteRouteHeader(org.kuali.rice.kew.clientapp.vo.DeleteEventDTO)

doRouteLevelChange

public boolean doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO levelChangeEvent)
                           throws RemoteException
Specified by:
doRouteLevelChange in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
RemoteException
See Also:
org.kuali.rice.kew.clientapp.PostProcessorRemote#doRouteLevelChange(org.kuali.rice.kew.clientapp.vo.DocumentRouteLevelChangeDTO)

afterProcess

public boolean afterProcess(org.kuali.rice.kew.dto.AfterProcessEventDTO arg0)
                     throws Exception
Specified by:
afterProcess in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
Exception

beforeProcess

public boolean beforeProcess(org.kuali.rice.kew.dto.BeforeProcessEventDTO arg0)
                      throws Exception
Specified by:
beforeProcess in interface org.kuali.rice.kew.postprocessor.PostProcessorRemote
Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.