Uses of Class
com.orchestranetworks.service.Role
Package
Description
Provides classes and interfaces for implementing specific services and access rules on EBX®.
Provides classes for Directory handling.
Provides classes and interfaces for implementing workflow processes and
invoking them.
-
Uses of Role in com.orchestranetworks.service
Modifier and TypeFieldDescriptionstatic final Role
Profile.ADMINISTRATOR
Built-in 'Administrator' role.static final Role
Profile.EVERYONE
Built-in role, all users have this role.static final Role
Profile.OWNER
The dynamic built-in 'Owner' role.static final Role
Profile.READ_ONLY
Built-in read-only role.Modifier and TypeMethodDescriptionstatic Role
Profile.forBuiltInRole
(String roleName) Returns the built-in role identified by the name specified.static Role
Profile.forSpecificRole
(String roleName) Returns the specific role identified by the name specified. -
Uses of Role in com.orchestranetworks.service.directory
Modifier and TypeMethodDescriptionDirectoryDefault.getAllSpecificRoles()
Returns all the specific roles defined by this directory.DirectoryDefault.RoleEntity.getIncludedRoles()
Never returnsnull
.DirectoryDefault.getRolesForUser
(UserReference userReference) Returns the specific roles of the specified user.DirectoryDefault.UserEntity.getSpecificRoles()
Never returnsnull
.Modifier and TypeMethodDescriptionstatic ProcedureResult
DirectoryDefaultHelper.deleteRole
(Role aRole, String aTrackingInfoOrNull, DirectoryDefault aDirectory) Deletes the role entity corresponding to the specified role.Directory.displayBuiltInRole
(Role aBuiltInRole, Locale aLocale) Returns a label for the specified built-in role.DirectoryHandler.displayBuiltInRole
(Role aBuiltInRole, Locale aLocale) Directory.displaySpecificRole
(Role aSpecificRole, Locale aLocale) Returns a label for this specific role.DirectoryDefault.displaySpecificRole
(Role aSpecificRole, Locale aLocale) DirectoryHandler.displaySpecificRole
(Role aSpecificRole, Locale aLocale) static DirectoryDefault.RoleEntity
DirectoryDefaultHelper.findRole
(Role aRole, DirectoryDefault aDirectory) Returns the role entity corresponding to the specified role if it exists,null
otherwise.DirectoryDefault.getRoleDescription
(Role aRole, Locale aLocale) Returns the specific role description.Directory.getRoleEmail
(Role aRole) Returns the email address of the specified role.DirectoryDefault.getRoleEmail
(Role aRole) Returns the email address of the specified role.DirectoryHandler.getRoleEmail
(Role aRole) If not null, the email address is considered as the mailing list of all the users in this role.Directory.getUsersInRole
(Role aRole) Returns all users that belong to the specified role.DirectoryDefault.getUsersInRole
(Role aRole) DirectoryHandler.getUsersInRole
(Role aRole) boolean
Directory.hasUsersInRole
(Role aRole) Returnstrue
if one or more users have the specified role.boolean
DirectoryDefault.hasUsersInRole
(Role aRole) boolean
DirectoryHandler.hasUsersInRole
(Role aRole) boolean
Directory.isRoleStrictlyIncluded
(Role aRole, Role anotherRole) Returnstrue
whenaRole
is included inanotherRole
.boolean
DirectoryDefault.isRoleStrictlyIncluded
(Role aRole, Role anotherRole) Returns true when aRole is included in anotherRole.boolean
DirectoryHandler.isRoleStrictlyIncluded
(Role aRole, Role anotherRole) Returnstrue
ifaRole
is included inanotherRole
.abstract boolean
Directory.isSpecificRoleDefined
(Role aSpecificRole) Returnstrue
if the specific role exists in this directory.boolean
DirectoryDefault.isSpecificRoleDefined
(Role aRole) boolean
DirectoryHandler.isSpecificRoleDefined
(Role aSpecificRole) abstract boolean
Directory.isUserInRole
(UserReference aUser, Role aRole) Returnstrue
if the user has the specified role.boolean
DirectoryDefault.isUserInRole
(UserReference aUserReference, Role aRole) Returnstrue
if the user has the specified role.boolean
DirectoryHandler.isUserInRole
(UserReference aUser, Role aRole) Returnstrue
if the user has the specified role.static DirectoryDefault.RoleEntity
Returns a new role entity whose key is the specified role.Modifier and TypeMethodDescriptionvoid
DirectoryDefault.RoleEntity.setIncludedRoles
(List<Role> includedRoles) Specifies the roles included in this role.void
DirectoryDefault.UserEntity.setSpecificRoles
(List<Role> specificRoles) Specifies the roles associated with the current user. -
Uses of Role in com.orchestranetworks.workflow
Modifier and TypeMethodDescriptionCreationWorkItemSpec.getOfferedTo()
Deprecated.Since 5.7.0.UserTask.WorkItem.getOfferedTo()
Deprecated.Since 5.7.0.Modifier and TypeMethodDescriptionstatic CreationWorkItemSpec
CreationWorkItemSpec.forAllocationWithPossibleReallocation
(UserReference allocatedTo, Role offeredTo) Allows to create a work item allocated to the specified user with the possibility to reallocate it.static CreationWorkItemSpec
Allows to create a work item offered to the specified role.WorkflowEngine.getWorkItemsOfferedToRole
(Role aRole) Returns all the work items offered to a role.