Uses of Interface
ch.ivyteam.ivy.security.IRole
-
-
Uses of IRole in ch.ivyteam.ivy.bpm.engine.client
Methods in ch.ivyteam.ivy.bpm.engine.client with parameters of type IRole Modifier and Type Method Description Optional<ITask>TaskSelector. activator(IRole role)Selects an active task by the activator roleRequestBuilderSessionChooser. anonymousWithRole(IRole role)Execute the request as anonymous session but with the given role assignedRequestBuilderSessionChooser. role(IRole role)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 IRole Modifier and Type Method Description SubRequestBuilderSubSessionChooser. anonymousWithRole(IRole role)Execute the request as anonymous session but with the given role assignedSubRequestBuilderSubSessionChooser. role(IRole role)Execute the request as the given role -
Uses of IRole in ch.ivyteam.ivy.security
Methods in ch.ivyteam.ivy.security that return IRole Modifier and Type Method Description IRoleIRole. findChildRole(String roleName)Finds the child role with it's nameIRoleISecurityContext. findRole(long roleId)Find a role by its identifierIRoleISecurityContext. findRole(String roleName)Finds a role by its nameIRoleIRole. getParent()Returns the parent roleIRoleIPermissionAccess. getPermissionHolder()Gets the permission holder.IRoleIUserSubstitute. getSubstitutionRole()Gets the substitution roleIRoleISecurityContext. getTopLevelRole()Returns the top level roleMethods in ch.ivyteam.ivy.security that return types with arguments of type IRole Modifier and Type Method Description List<IRole>ISecurityContext. getActiveRoles()List<IRole>IUser. getAllRoles()Get all roles the user owns (directly and indirectly)List<IRole>IRole. getChildRoles()Returns the child rolesList<IRole>IRole. getRoleMembers()Gets all direct role members of this role.List<IRole>IRole. getRoles()Gets the directly owned roles.List<IRole>ISecurityContext. getRoles()List<IRole>IUser. getRoles()Get roles the user owns directMethods in ch.ivyteam.ivy.security with parameters of type IRole Modifier and Type Method Description voidIUser. addRole(IRole role)Add a role the user can act asvoidIRole. addRoleMember(IRole role)Adds the given role as role member of this role.voidISession. assignRole(IRole role)Assigns a role to the session.IUserSubstituteIUser. createSubstitute(IUser mySubstitute, IRole forThisRole, String description)Creates a new substitute for a specific role.booleanIUserToken. hasRole(IRole role, boolean useSessionRoles)Test if the user of this user token currently owns a role.booleanIRole. isRole(IRole role)Checks 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. -
Uses of IRole in ch.ivyteam.ivy.security.query
Methods in ch.ivyteam.ivy.security.query with parameters of type IRole Modifier and Type Method Description UserQuery.FilterLinkUserQuery.IFilterableColumns. hasRole(IRole role)Filters users which has the givenrole.UserQuery.FilterLinkUserQuery.IFilterableColumns. hasRoleAssigned(IRole role)Filters users which has the givenroledirectly assigned. -
Uses of IRole in ch.ivyteam.ivy.workflow
Method parameters in ch.ivyteam.ivy.workflow with type arguments of type IRole Modifier and Type Method Description IQueryResult<ICase>IWorkflowSession. findInvolvedCasesByRole(List<IRole> roles, IPropertyFilter<CaseProperty> filter, List<PropertyOrder<CaseProperty>> order, int startIndex, int count, boolean returnAllCount)Finds cases in which the session user is involved.List<IGroup<ICase>>IWorkflowSession. findInvolvedCasesByRoleCategories(List<IRole> roles, IPropertyFilter<CaseProperty> categoryFilter, CaseProperty categoryProperty, OrderDirection categoryPropertyOrder)Deprecated.useCategoryTree.createFor(CaseQuery)insteadIQueryResult<ICase>IWorkflowSession. findStartedCasesByRole(List<IRole> roles, IPropertyFilter<CaseProperty> filter, List<PropertyOrder<CaseProperty>> order, int startIndex, int count, boolean returnAllCount)Gets all cases somebody has started who needs a role to start the case which the current session user also owns.IQueryResult<ITask>IWorkflowSession. findWorkedOnTasksByRole(List<IRole> roles, IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount)Returns all tasks the session user has worked on or could have worked on as member of the given roles. -
Uses of IRole in ch.ivyteam.ivy.workflow.query
Methods in ch.ivyteam.ivy.workflow.query with parameters of type IRole Modifier and Type Method Description CaseQuery.FilterLinkCaseQuery.FilterQuery. roleCanWorkOn(IRole role)CaseQuery.FilterLinkCaseQuery.IFilterableColumns. roleCanWorkOn(IRole role)Filters all cases where the role can work on at least one task.CaseQuery.FilterLinkCaseQuery.FilterQuery. roleIsInvolved(IRole role)CaseQuery.FilterLinkCaseQuery.IFilterableColumns. roleIsInvolved(IRole role)Filters all cases the role is involved in.TaskQuery.FilterLinkTaskQuery.FilterQuery. roleIsInvolved(IRole role)TaskQuery.FilterLinkTaskQuery.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 Modifier and Type Method Description booleanIActivator. isRole(IRole role)Whether the activator is set and is the given role.
-