public final class DefaultWorkflowDocumentProvider extends Object implements WorkflowDocumentProvider
| Constructor and Description |
|---|
DefaultWorkflowDocumentProvider() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public DefaultWorkflowDocumentProvider()
public WorkflowDocument createDocument(String principalId, String documentTypeName, DocumentUpdate documentUpdate, DocumentContentUpdate documentContentUpdate)
WorkflowDocumentProvidercreateDocument in interface WorkflowDocumentProviderprincipalId - the document initiatordocumentTypeName - the document typedocumentUpdate - pre-constructed state with which to initialize the documentdocumentContentUpdate - pre-constructed document content with which to initialize the documentpublic WorkflowDocument loadDocument(String principalId, String documentId)
WorkflowDocumentProviderloadDocument in interface WorkflowDocumentProviderprincipalId - the principal id under which to perform document actionsdocumentId - the id of the document to loadWorkflowDocumentProvider.loadDocument(String, String)Copyright © 2005–2014 The Kuali Foundation. All rights reserved.