Class DefaultWorkflowDocumentProvider

java.lang.Object
org.kuali.rice.kew.impl.document.DefaultWorkflowDocumentProvider
All Implemented Interfaces:
WorkflowDocumentProvider

public final class DefaultWorkflowDocumentProvider extends Object implements WorkflowDocumentProvider
TODO
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • DefaultWorkflowDocumentProvider

      public DefaultWorkflowDocumentProvider()
  • Method Details

    • createDocument

      public org.kuali.rice.kew.api.WorkflowDocument createDocument(String principalId, String documentTypeName, org.kuali.rice.kew.api.document.DocumentUpdate documentUpdate, org.kuali.rice.kew.api.document.DocumentContentUpdate documentContentUpdate)
      Description copied from interface: WorkflowDocumentProvider
      Creates a new workflow document of the given type with the given initiator.
      Specified by:
      createDocument in interface WorkflowDocumentProvider
      Parameters:
      principalId - the document initiator
      documentTypeName - the document type
      documentUpdate - pre-constructed state with which to initialize the document
      documentContentUpdate - pre-constructed document content with which to initialize the document
      Returns:
      a WorkflowDocument object through which to interact with the new workflow document
    • loadDocument

      public org.kuali.rice.kew.api.WorkflowDocument loadDocument(String principalId, String documentId)
      Description copied from interface: WorkflowDocumentProvider
      Loads an existing workflow document.
      Specified by:
      loadDocument in interface WorkflowDocumentProvider
      Parameters:
      principalId - the principal id under which to perform document actions
      documentId - the id of the document to load
      Returns:
      a WorkflowDocument object through which to interact with the loaded workflow document
      See Also: