mocks
Class MockDocumentRequeuerImpl

java.lang.Object
  extended by org.kuali.rice.kew.actionrequest.service.impl.DocumentRequeuerImpl
      extended by mocks.MockDocumentRequeuerImpl
All Implemented Interfaces:
DocumentRequeuerService

public class MockDocumentRequeuerImpl
extends DocumentRequeuerImpl

a DocumentRequeuerImpl extension that keeps track of the ids for docs that were requeued

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private static Lock lock
           
private static Set<String> requeuedDocumentIds
           
 
Constructor Summary
MockDocumentRequeuerImpl()
           
 
Method Summary
static void clearRequeuedDocumentIds()
           
static Set<String> getRequeuedDocumentIds()
           
 void requeueDocument(String documentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requeuedDocumentIds

private static final Set<String> requeuedDocumentIds

lock

private static Lock lock
Constructor Detail

MockDocumentRequeuerImpl

public MockDocumentRequeuerImpl()
Method Detail

getRequeuedDocumentIds

public static Set<String> getRequeuedDocumentIds()

clearRequeuedDocumentIds

public static void clearRequeuedDocumentIds()

requeueDocument

public void requeueDocument(String documentId)
Specified by:
requeueDocument in interface DocumentRequeuerService
Overrides:
requeueDocument in class DocumentRequeuerImpl
See Also:
org.kuali.rice.kew.actionrequest.service.impl.DocumentRequeuerImpl#requeueDocument(java.lang.Long)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.