Uses of Interface
ch.ivyteam.ivy.security.IRole
Packages that use IRole
Package
Description
-
Uses of IRole in ch.ivyteam.ivy.bpm.engine.client
Methods in ch.ivyteam.ivy.bpm.engine.client with parameters of type IRoleModifier and TypeMethodDescriptionSelects an active task by the activator roleSessionChooser.anonymousWithRole(IRole role) Deprecated, for removal: This API element is subject to removal in a future version.session role will be removed with 13.1. assign the role to a user which needs to be authenticated.Execute the request as the given role -
Uses of IRole in ch.ivyteam.ivy.bpm.engine.client.sub
Methods in ch.ivyteam.ivy.bpm.engine.client.sub with parameters of type IRoleModifier and TypeMethodDescriptionSubSessionChooser.anonymousWithRole(IRole role) Deprecated, for removal: This API element is subject to removal in a future version.session roles will be removed in 13.1. assign roles to a user.Execute the request as the given role -
Uses of IRole in ch.ivyteam.ivy.security
Methods in ch.ivyteam.ivy.security that return IRoleModifier and TypeMethodDescriptionIRole.findChildRole(String roleName) Finds the child role with it's nameISecurityContext.findRole(long roleId) Deprecated, for removal: This API element is subject to removal in a future version.default IRoleDeprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles().find(roleName)
Migration Example:ivy.session().getSecurityContext().findRole("ivy")==>ivy.security.roles().find("ivy")IRole.getParent()Returns the parent roleIPermissionAccess.getPermissionHolder()Gets the permission holder.IUserSubstitute.getSubstitutionRole()Gets the substitution roledefault IRoleISecurityContext.getTopLevelRole()Deprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles().topLevel())Methods in ch.ivyteam.ivy.security that return types with arguments of type IRoleModifier and TypeMethodDescriptionISecurityContext.getActiveRoles()Deprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles().active()IUser.getAllRoles()Get all roles the user owns (directly and indirectly)IRole.getChildRoles()Returns the child rolesIRole.getRoleMembers()Gets all direct role members of this role.IRole.getRoles()Gets the directly owned roles.ISecurityContext.getRoles()Deprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles().all()IUser.getRoles()Get roles the user owns directMethods in ch.ivyteam.ivy.security with parameters of type IRoleModifier and TypeMethodDescriptionvoidAdd a role the user can act asvoidIRole.addRoleMember(IRole role) Adds the given role as role member of this role.booleanTests if the user of this user token currently owns any the given roles.voidISession.assignRole(IRole role) Deprecated, for removal: This API element is subject to removal in a future version.session role will be removed with 13.1. assign the role to a user which needs to be authenticated.IUser.createSubstitute(IUser mySubstitute, IRole forThisRole, String description) Creates a new substitute for a specific role.booleanTest if the user of this user token currently owns a role.booleanChecks whether this or any parent role is equal with the role givenvoidIUser.removeRole(IRole role) Remove a role the user can act asvoidIRole.removeRoleMember(IRole role) Removes the given member role from this role.booleanTests if the user of this user token currently owns the given role.booleanTests if the user of this user token currently owns all the given roles.Method parameters in ch.ivyteam.ivy.security with type arguments of type IRoleModifier and TypeMethodDescriptionbooleanIRoleMatcher.anyRoles(Collection<IRole> roles) Tests if the user of this user token currently owns any of the given roles.booleanIRoleMatcher.roles(Collection<IRole> roles) Tests if the user of this user token currently owns all the given roles. -
Uses of IRole in ch.ivyteam.ivy.security.query
Methods in ch.ivyteam.ivy.security.query with parameters of type IRoleModifier and TypeMethodDescriptionFilters users which has the givenrole.UserQuery.IFilterableColumns.hasRoleAssigned(IRole role) Filters users which has the givenroledirectly assigned. -
Uses of IRole in ch.ivyteam.ivy.security.role
Methods in ch.ivyteam.ivy.security.role that return IRoleModifier and TypeMethodDescriptionCreates a new role.Creates a new role.Finds a role by its nameFinds a role by its idIRoleRepository.topLevel()Methods in ch.ivyteam.ivy.security.role that return types with arguments of type IRoleMethods in ch.ivyteam.ivy.security.role with parameters of type IRole -
Uses of IRole in ch.ivyteam.ivy.workflow
Method parameters in ch.ivyteam.ivy.workflow with type arguments of type IRoleModifier and TypeMethodDescriptionIWorkflowSession.findInvolvedCasesByRole(List<IRole> roles, IPropertyFilter<CaseProperty> filter, List<PropertyOrder<CaseProperty>> order, int startIndex, int count, boolean returnAllCount) Deprecated, for removal: This API element is subject to removal in a future version.useCaseQueryIWorkflowSession.findInvolvedCasesByRoleCategories(List<IRole> roles, IPropertyFilter<CaseProperty> categoryFilter, CaseProperty categoryProperty, OrderDirection categoryPropertyOrder) Deprecated, for removal: This API element is subject to removal in a future version.useCategoryTree.createFor(CaseQuery)insteadIWorkflowSession.findStartedCasesByRole(List<IRole> roles, IPropertyFilter<CaseProperty> filter, List<PropertyOrder<CaseProperty>> order, int startIndex, int count, boolean returnAllCount) Deprecated, for removal: This API element is subject to removal in a future version.useCaseQueryIWorkflowSession.findWorkedOnTasksByRole(List<IRole> roles, IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount) Deprecated, for removal: This API element is subject to removal in a future version.useTaskQuery -
Uses of IRole in ch.ivyteam.ivy.workflow.query
Methods in ch.ivyteam.ivy.workflow.query with parameters of type IRoleModifier and TypeMethodDescriptionCaseQuery.FilterQuery.roleCanWorkOn(IRole role) CaseQuery.IFilterableColumns.roleCanWorkOn(IRole role) Filters all cases where the role can work on at least one task.CaseQuery.FilterQuery.roleIsInvolved(IRole role) CaseQuery.IFilterableColumns.roleIsInvolved(IRole role) Filters all cases the role is involved in.TaskQuery.FilterQuery.roleIsInvolved(IRole role) TaskQuery.IFilterableColumns.roleIsInvolved(IRole role) Filters all tasks the role is involved in. -
Uses of IRole in ch.ivyteam.ivy.workflow.task
Methods in ch.ivyteam.ivy.workflow.task with parameters of type IRole