| Package | Description |
|---|---|
| org.bonitasoft.engine.api | |
| org.bonitasoft.engine.exception |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessManagementAPI.addCategoriesToProcess(long processId,
List<Long> categoryIds)
Associates the categories to process definition.
|
void |
PlatformCommandAPI.addDependency(String name,
byte[] jar)
Adds a dependency to the tenant scope.
|
void |
CommandAPI.addDependency(String name,
byte[] jar)
Adds a dependency to the tenant scope.
|
ActorMember |
ProcessManagementAPI.addGroupToActor(long actorId,
long groupId)
Associates the group with the actor.
|
ActorMember |
ProcessManagementAPI.addGroupToActor(String actorName,
long groupId,
ProcessDefinition processDefinition)
Associates the group with the actor.
|
void |
ProcessManagementAPI.addProcessDefinitionsToCategory(long categoryId,
List<Long> processIds)
Associates a list of process definitions with the category.
|
void |
ProcessManagementAPI.addProcessDefinitionToCategory(long categoryId,
long processId)
Associates the process definition with the category.
|
ActorMember |
ProcessManagementAPI.addRoleAndGroupToActor(long actorId,
long roleId,
long groupId)
Associates the role and the group with the actor.
|
ActorMember |
ProcessManagementAPI.addRoleAndGroupToActor(String actorName,
ProcessDefinition processDefinition,
long roleId,
long groupId)
Associates the role and the group with the actor.
|
ActorMember |
ProcessManagementAPI.addRoleToActor(long actorId,
long roleId)
Associates the role with the actor.
|
ActorMember |
ProcessManagementAPI.addRoleToActor(String actorName,
ProcessDefinition processDefinition,
long roleId)
Associates the role with the actor.
|
UserMembership |
MembershipAPI.addUserMembership(long userId,
long groupId,
long roleId)
Associates the user with the group and the role.
|
void |
MembershipAPI.addUserMemberships(List<Long> userIds,
long groupId,
long roleId)
Associates the users with the group and the role.
|
ActorMember |
ProcessManagementAPI.addUserToActor(long actorId,
long userId)
Associates the user with the actor.
|
ActorMember |
ProcessManagementAPI.addUserToActor(String actorName,
ProcessDefinition processDefinition,
long userId)
Associates a user with the actor of the process definition.
|
void |
PlatformAPI.createAndInitializePlatform()
Utilitary method that call
PlatformAPI.createPlatform() and PlatformAPI.initializePlatform() |
Category |
ProcessManagementAPI.createCategory(String name,
String description)
Adds the category.
|
Group |
GroupAPI.createGroup(GroupCreator creator)
Creates a group.
|
Group |
GroupAPI.createGroup(String name,
String parentPath)
Creates a group from its name and parent path.
|
void |
PlatformAPI.createPlatform()
Create the platform.
|
ProcessSupervisor |
ProcessManagementAPI.createProcessSupervisorForGroup(long processId,
long groupId)
Adds the group as a supervisor of the process.
|
ProcessSupervisor |
ProcessManagementAPI.createProcessSupervisorForMembership(long processId,
long groupId,
long roleId)
Adds the membership as a supervisor of the process.
|
ProcessSupervisor |
ProcessManagementAPI.createProcessSupervisorForRole(long processId,
long roleId)
Adds the role as a supervisor of the process.
|
ProcessSupervisor |
ProcessManagementAPI.createProcessSupervisorForUser(long processId,
long userId)
Adds the user as a supervisor of the process.
|
ProfileMember |
ProfileAPI.createProfileMember(Long profileId,
Long userId,
Long groupId,
Long roleId)
Creates a profile member.
|
ProfileMember |
ProfileAPI.createProfileMember(ProfileMemberCreator creator)
Creates a profile member.
|
Role |
RoleAPI.createRole(RoleCreator creator)
Create the role.
|
Role |
RoleAPI.createRole(String roleName)
Creates a role.
|
User |
UserAPI.createUser(String userName,
String password)
Creates a user.
|
User |
UserAPI.createUser(String userName,
String password,
String firstName,
String lastName)
Creates a user.
|
User |
UserAPI.createUser(UserCreator creator)
Creates a user.
|
CommandDescriptor |
PlatformCommandAPI.get(String name)
Returns the command descriptor
|
void |
PlatformAPI.initializePlatform()
Initialize the platform.
|
CommandDescriptor |
PlatformCommandAPI.register(String name,
String description,
String implementation)
Adds a command and its descriptor.
|
CommandDescriptor |
CommandAPI.register(String name,
String description,
String implementation)
Create a new command with its provided name, description, implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlreadyExistsException |
Copyright © 2013 BonitaSoft. All Rights Reserved.