mocks
Class MockDocumentRefreshQueueImpl

java.lang.Object
  extended by org.kuali.rice.kew.impl.document.DocumentRefreshQueueImpl
      extended by mocks.MockDocumentRefreshQueueImpl
All Implemented Interfaces:
DocumentRefreshQueue

public class MockDocumentRefreshQueueImpl
extends DocumentRefreshQueueImpl

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

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

Constructor Summary
MockDocumentRefreshQueueImpl()
           
 
Method Summary
static void clearRequeuedDocumentIds()
           
static Set<String> getRequeuedDocumentIds()
           
 void refreshDocument(String documentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockDocumentRefreshQueueImpl

public MockDocumentRefreshQueueImpl()
Method Detail

getRequeuedDocumentIds

public static Set<String> getRequeuedDocumentIds()

clearRequeuedDocumentIds

public static void clearRequeuedDocumentIds()

refreshDocument

public void refreshDocument(String documentId)
Specified by:
refreshDocument in interface DocumentRefreshQueue
Overrides:
refreshDocument in class DocumentRefreshQueueImpl
See Also:
org.kuali.rice.kew.impl.document.DocumentRefreshQueueImpl#requeueDocument(java.lang.Long)


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