Package | Description |
---|---|
org.bonitasoft.engine.api |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentAPI.attachDocument(long processInstanceId,
String documentName,
String fileName,
String mimeType,
byte[] documentContent)
Attach the given document to the specified process instance.
The content is stored to enable later retrieval. |
Document |
DocumentAPI.attachDocument(long processInstanceId,
String documentName,
String fileName,
String mimeType,
String url)
Attach a document by reference to the specified process instance.
The document itself does not contain content but is a reference to external content specified by its URL. |
Document |
DocumentAPI.attachNewDocumentVersion(long processInstanceId,
String documentName,
String contentFileName,
String contentMimeType,
byte[] documentContent)
Attach a new document version to the specified process instance.
|
Document |
DocumentAPI.attachNewDocumentVersion(long processInstanceId,
String documentName,
String fileName,
String mimeType,
String url)
Attach a new version of a document by reference to the specified process instance.
|
Copyright © 2013 BonitaSoft. All Rights Reserved.