| Package | Description |
|---|---|
| org.bonitasoft.engine.api | |
| org.bonitasoft.engine.bpm.document.impl | |
| org.bonitasoft.engine.bpm.process.impl |
| 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.
|
Document |
DocumentAPI.attachDocument(long processInstanceId,
String documentName,
String fileName,
String mimeType,
String url)
Attach a document by reference to the specified process instance.
|
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.
|
Document |
DocumentAPI.getDocument(long documentId)
Get the document with the specified identifier.
|
Document |
DocumentAPI.getDocumentAtActivityInstanceCompletion(long activityInstanceId,
String documentName)
Get the version of the named document when the specified activity completed.
|
Document |
DocumentAPI.getDocumentAtProcessInstantiation(long processInstanceId,
String documentName)
Get the version of the named document that was current when the specified process instance is instantiated.
|
Document |
DocumentAPI.getLastDocument(long processInstanceId,
String documentName)
Get the last version of the named document for the specified process instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
DocumentAPI.getLastVersionOfDocuments(long processInstanceId,
int pageIndex,
int numberPerPage,
DocumentCriterion pagingCriterion)
Get the latest version of all documents attached to the specified process instance.
|
SearchResult<Document> |
DocumentAPI.searchDocuments(SearchOptions searchOptions)
Search for documents that match the search options.
|
SearchResult<Document> |
DocumentAPI.searchDocumentsSupervisedBy(long userId,
SearchOptions searchOptions)
Search for documents that match the search options and are supervised by the specified user.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentImpl |
| Modifier and Type | Method and Description |
|---|---|
Document |
DocumentBuilder.done() |
Copyright © 2013 BonitaSoft. All Rights Reserved.