Package | Description |
---|---|
org.bonitasoft.engine.api |
Main Community Edition package to access Community APIs.
|
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)
Retrieves the profiles of the user.
|
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 specified user is involved in a process instance.
|
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 © 2014 Bonitasoft S.A.. All Rights Reserved.