org.kuali.rice.kew.impl.document
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)
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:
createDocument
in interface WorkflowDocumentProvider
- Parameters:
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 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 actionsdocumentId
- 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-2011 The Kuali Foundation. All Rights Reserved.