Package | Description |
---|---|
org.bonitasoft.engine.api |
The Bonita BPM project has a clear separation between the API the users should be interacting with and the actual implementation classes.
|
org.bonitasoft.engine.bpm.document | |
org.bonitasoft.engine.bpm.process.impl |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentAPI.addDocument(long processInstanceId,
String documentName,
String description,
DocumentValue documentValue)
Attach a new document to a process instance.
|
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.
|
Document |
DocumentAPI.removeDocument(long documentId)
Remove the document with the specified identifier and returns it.
|
Document |
DocumentAPI.updateDocument(long documentId,
DocumentValue documentValue)
Attach a new document version to a process instance.
|
Modifier and Type | Method and Description |
---|---|
List<Document> |
DocumentAPI.getDocumentList(long processInstanceId,
String name,
int fromIndex,
int numberOfResult)
Get a document list that have the specified name on the process
|
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 | Interface and Description |
---|---|
interface |
ArchivedDocument |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentBuilder.done() |
Copyright © 2016 Bonitasoft S.A.. All rights reserved.