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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProcessRuntimeAPI.canExecuteTask(long activityInstanceId,
long userId)
Check whether a specified task can be executed by a given user.
|
long |
ProcessRuntimeAPI.getOneAssignedUserTaskInstanceOfProcessDefinition(long processDefinitionId,
long userId)
Get an instance of a task asssigned to a given user for the specified process definition.
|
long |
ProcessRuntimeAPI.getOneAssignedUserTaskInstanceOfProcessInstance(long processInstanceId,
long userId)
Get an instance of a task asssigned to a given user for the specified process instance.
|
List<Profile> |
ProfileAPI.getProfilesForUser(long userId)
Deprecated.
since 6.3
|
User |
UserAPI.getUser(long userId)
Retrieves the user.
|
User |
UserAPI.getUserByUserName(String userName)
Retrieves the user.
|
ContactData |
UserAPI.getUserContactData(long userId,
boolean personal)
Retrieves the contact data (personal or professional) of the user.
|
UserWithContactData |
UserAPI.getUserWithProfessionalDetails(long userId)
Retrieves the professional details of the user.
|
boolean |
ProcessRuntimeAPI.isInvolvedInProcessInstance(long userId,
long processInstanceId)
Check whether a specific user is involved in a given process instance.
User A is involved with a process instance if any of the following is true: user A has started the process instance a task in the process instance is assigned to user A a task in the process instance is pending for user A a task in the process instance has been performed by user A This method also applies to completed instances of process. |
SearchResult<ArchivedDocument> |
DocumentAPI.searchArchivedDocumentsSupervisedBy(long userId,
SearchOptions searchOptions)
Search for archived documents that match the search options and are supervised by the specified user.
|
SearchResult<Document> |
DocumentAPI.searchDocumentsSupervisedBy(long userId,
SearchOptions searchOptions)
Search for documents that match the search options and are supervised by the specified user.
|
ProcessInstance |
ProcessRuntimeAPI.startProcess(long userId,
long processDefinitionId)
Start an instance of the process with the specified process definition id on behalf of a given user.
|
ProcessInstance |
ProcessRuntimeAPI.startProcess(long userId,
long processDefinitionId,
List<Operation> operations,
Map<String,Serializable> context)
Start an instance of the process with the specified process definition id on behalf of a given user, and set the initial values of the data with the
given operations.
|
User |
UserAPI.updateUser(long userId,
UserUpdater updater)
Updates the user according to the updater values.
|
Copyright © 2015 Bonitasoft S.A.. All rights reserved.