Class DocumentRefreshQueueImpl

java.lang.Object
org.kuali.rice.kew.impl.document.DocumentRefreshQueueImpl
All Implemented Interfaces:
org.kuali.rice.kew.api.document.DocumentRefreshQueue, org.kuali.rice.ksb.api.messaging.AsyncWrappable<org.kuali.rice.kew.api.document.DocumentRefreshQueue>

public class DocumentRefreshQueueImpl extends Object implements org.kuali.rice.kew.api.document.DocumentRefreshQueue, org.kuali.rice.ksb.api.messaging.AsyncWrappable<org.kuali.rice.kew.api.document.DocumentRefreshQueue>
A service which effectively "refreshes" and requeues a document. It first deletes any pending action requests on the documents and then requeues the document for standard routing. Addionally, it adds duplicate notification suppression state to RouteNodeInstanceS for which ActionRequestS will be regenerated.

Intended to be called async and wired that way in server/client spring beans.

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

    • DocumentRefreshQueueImpl

      public DocumentRefreshQueueImpl()
  • Method Details

    • refreshDocument

      public void refreshDocument(String documentId)
      Requeues a document, and sets notification suppression data
      Specified by:
      refreshDocument in interface org.kuali.rice.kew.api.document.DocumentRefreshQueue
      See Also:
      • DocumentRefreshQueue.refreshDocument(java.lang.String)
    • wrap

      public org.kuali.rice.kew.api.document.DocumentRefreshQueue wrap(QName qname, String applicationId)
      Specified by:
      wrap in interface org.kuali.rice.ksb.api.messaging.AsyncWrappable<org.kuali.rice.kew.api.document.DocumentRefreshQueue>
    • getAsyncCapableService

      public org.kuali.rice.ksb.api.messaging.AsyncCapableService getAsyncCapableService()
    • setAsyncCapableService

      public void setAsyncCapableService(org.kuali.rice.ksb.api.messaging.AsyncCapableService asyncCapableService)