org.kuali.rice.kew.impl.document
Class DefaultWorkflowDocumentProvider
java.lang.Object
   org.kuali.rice.kew.impl.document.DefaultWorkflowDocumentProvider
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)
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultWorkflowDocumentProvider
public DefaultWorkflowDocumentProvider()
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:
- createDocumentin 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:
- loadDocumentin 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-2012 The Kuali Foundation. All Rights Reserved.