Uses of Interface
ch.ivyteam.ivy.security.IRole
-
Packages that use IRole Package Description ch.ivyteam.ivy.security ch.ivyteam.ivy.security.query ch.ivyteam.ivy.workflow ch.ivyteam.ivy.workflow.query -
-
Uses of IRole in ch.ivyteam.ivy.security
Methods in ch.ivyteam.ivy.security that return IRole Modifier and Type Method Description IRole
IRole. findChildRole(String roleName)
Finds the child role with it's nameIRole
ISecurityContext. findRole(long roleId)
Find a role by its identifierIRole
ISecurityContext. findRole(String roleName)
Finds a role by its nameIRole
IRole. getParent()
Returns the parent roleIRole
IPermissionAccess. getPermissionHolder()
Gets the permission holder.IRole
IUserSubstitute. getSubstitutionRole()
Gets the substitution roleIRole
ISecurityContext. 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 void
IUser. addRole(IRole role)
Add a role the user can act asvoid
IRole. addRoleMember(IRole role)
Adds the given role as role member of this role.void
ISession. assignRole(IRole role)
Assigns a role to the session.IUserSubstitute
IUser. createSubstitute(IUser mySubstitute, IRole forThisRole, String description)
Creates a new substitute for a specific role.boolean
IUserToken. hasRole(IRole role, boolean useSessionRoles)
Test if the user of this user token currently owns a role.boolean
IRole. isRole(IRole role)
Checks whether this or any parent role is equal with the role givenvoid
IUser. removeRole(IRole role)
Remove a role the user can act asvoid
IRole. 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.FilterLink
UserQuery.IFilterableColumns. hasRole(IRole role)
Filters users which has the givenrole
.UserQuery.FilterLink
UserQuery.IFilterableColumns. hasRoleAssigned(IRole role)
Filters users which has the givenrole
directly 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.FilterLink
CaseQuery.FilterQuery. roleCanWorkOn(IRole role)
CaseQuery.FilterLink
CaseQuery.IFilterableColumns. roleCanWorkOn(IRole role)
Filters all cases where the role can work on at least one task.CaseQuery.FilterLink
CaseQuery.FilterQuery. roleIsInvolved(IRole role)
CaseQuery.FilterLink
CaseQuery.IFilterableColumns. roleIsInvolved(IRole role)
Filters all cases the role is involved in.TaskQuery.FilterLink
TaskQuery.FilterQuery. roleIsInvolved(IRole role)
TaskQuery.FilterLink
TaskQuery.IFilterableColumns. roleIsInvolved(IRole role)
Filters all tasks the role is involved in.
-