|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.WorkflowDocumentFactory
public final class WorkflowDocumentFactory
TODO ..
Constructor Summary | |
---|---|
WorkflowDocumentFactory()
|
Method Summary | |
---|---|
static WorkflowDocument |
createDocument(String principalId,
String documentTypeName)
TODO |
static WorkflowDocument |
createDocument(String principalId,
String documentTypeName,
DocumentUpdate documentUpdate,
DocumentContentUpdate documentContentUpdate)
TODO |
static WorkflowDocument |
createDocument(String principalId,
String documentTypeName,
String title)
TODO |
static WorkflowDocument |
loadDocument(String principalId,
String documentId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowDocumentFactory()
Method Detail |
---|
public static WorkflowDocument createDocument(String principalId, String documentTypeName)
principalId
- TODOdocumentTypeName
- TODO
IllegalArgumentException
- if principalId is null or blank
IllegalArgumentException
- if documentTypeName is null or blank
IllegalDocumentTypeException
- if the document type does not allow for creation of a document,
this can occur when the given document type is used only as a parent and has no route path configured
InvalidActionTakenException
- if the caller is not allowed to execute this actionpublic static WorkflowDocument createDocument(String principalId, String documentTypeName, String title)
principalId
- TODOdocumentTypeName
- TODOtitle
- TODO
IllegalArgumentException
- if principalId is null or blank
IllegalArgumentException
- if documentTypeName is null or blank
IllegalDocumentTypeException
- if documentTypeName does not represent a valid document typepublic static WorkflowDocument createDocument(String principalId, String documentTypeName, DocumentUpdate documentUpdate, DocumentContentUpdate documentContentUpdate)
principalId
- TODOdocumentTypeName
- TODOdocumentUpdate
- TODOdocumentContentUpdate
- TODO
IllegalArgumentException
- if principalId is null or blank
IllegalArgumentException
- if documentTypeName is null or blank
IllegalDocumentTypeException
- if documentTypeName does not represent a valid document typepublic static WorkflowDocument loadDocument(String principalId, String documentId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |