mocks
Class MockPostProcessor

java.lang.Object
  extended by mocks.MockPostProcessor
All Implemented Interfaces:
PostProcessor

public class MockPostProcessor
extends Object
implements PostProcessor


Constructor Summary
MockPostProcessor()
           
MockPostProcessor(boolean processDocReportResult)
           
MockPostProcessor(boolean processDocReportResult, boolean actionTakenResult)
           
MockPostProcessor(boolean processDocReportResult, boolean actionTakenResult, boolean processMethodsDocReportResult)
           
MockPostProcessor(boolean processDocReportResult, boolean actionTakenResult, boolean processMethodsDocReportResult, List<String> documentIdsToLockResult)
           
 
Method Summary
 ProcessDocReport afterActionTaken(ActionType performed, ActionTakenEvent event)
           
 ProcessDocReport afterProcess(AfterProcessEvent event)
           
 ProcessDocReport beforeProcess(BeforeProcessEvent event)
           
 ProcessDocReport doActionTaken(ActionTakenEvent event)
           
 ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
           
 ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
           
 ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
           
 List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent)
           
 void setActionTakenResult(boolean actionTakenResult)
           
 void setDocumentIdsToLockResult(List<String> documentIdsToLockResult)
           
 void setProcessDocReportResult(boolean processDocReportResult)
           
 void setProcessMethodsDocReportResult(boolean processMethodsDocReportResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockPostProcessor

public MockPostProcessor()

MockPostProcessor

public MockPostProcessor(boolean processDocReportResult)

MockPostProcessor

public MockPostProcessor(boolean processDocReportResult,
                         boolean actionTakenResult)

MockPostProcessor

public MockPostProcessor(boolean processDocReportResult,
                         boolean actionTakenResult,
                         boolean processMethodsDocReportResult)

MockPostProcessor

public MockPostProcessor(boolean processDocReportResult,
                         boolean actionTakenResult,
                         boolean processMethodsDocReportResult,
                         List<String> documentIdsToLockResult)
Method Detail

doDeleteRouteHeader

public ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
                                     throws Exception
Specified by:
doDeleteRouteHeader in interface PostProcessor
Throws:
Exception

doRouteLevelChange

public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
                                    throws Exception
Specified by:
doRouteLevelChange in interface PostProcessor
Throws:
Exception

doRouteStatusChange

public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
                                     throws Exception
Specified by:
doRouteStatusChange in interface PostProcessor
Throws:
Exception

doActionTaken

public ProcessDocReport doActionTaken(ActionTakenEvent event)
                               throws Exception
Specified by:
doActionTaken in interface PostProcessor
Throws:
Exception

afterActionTaken

public ProcessDocReport afterActionTaken(ActionType performed,
                                         ActionTakenEvent event)
                                  throws Exception
Specified by:
afterActionTaken in interface PostProcessor
Throws:
Exception

beforeProcess

public ProcessDocReport beforeProcess(BeforeProcessEvent event)
                               throws Exception
Specified by:
beforeProcess in interface PostProcessor
Throws:
Exception

afterProcess

public ProcessDocReport afterProcess(AfterProcessEvent event)
                              throws Exception
Specified by:
afterProcess in interface PostProcessor
Throws:
Exception

getDocumentIdsToLock

public List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent)
                                  throws Exception
Specified by:
getDocumentIdsToLock in interface PostProcessor
Throws:
Exception

setProcessDocReportResult

public void setProcessDocReportResult(boolean processDocReportResult)

setActionTakenResult

public void setActionTakenResult(boolean actionTakenResult)

setProcessMethodsDocReportResult

public void setProcessMethodsDocReportResult(boolean processMethodsDocReportResult)

setDocumentIdsToLockResult

public void setDocumentIdsToLockResult(List<String> documentIdsToLockResult)


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