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)
WorkflowDocumentProvider
createDocument
in interface WorkflowDocumentProvider
principalId
- 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)
WorkflowDocumentProvider
loadDocument
in interface WorkflowDocumentProvider
principalId
- the principal id under which to perform document actionsdocumentId
- the id of the document to loadWorkflowDocumentProvider.loadDocument(String, String)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.