org.kuali.rice.kew.impl.document
Class DefaultWorkflowDocumentProvider

java.lang.Object
  extended by 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 Summary
DefaultWorkflowDocumentProvider()
           
 
Method Summary
 WorkflowDocument createDocument(String principalId, String documentTypeName, DocumentUpdate documentUpdate, DocumentContentUpdate documentContentUpdate)
          Creates a new workflow document of the given type with the given initiator.
 WorkflowDocument loadDocument(String principalId, String documentId)
          Loads an existing workflow document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWorkflowDocumentProvider

public DefaultWorkflowDocumentProvider()
Method Detail

createDocument

public WorkflowDocument createDocument(String principalId,
                                       String documentTypeName,
                                       DocumentUpdate documentUpdate,
                                       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 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:
WorkflowDocumentProvider.loadDocument(String, String)


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