Package com.evolveum.midpoint.model.api
Class RoleSelectionSpecification
- java.lang.Object
-
- com.evolveum.midpoint.model.api.RoleSelectionSpecification
-
public class RoleSelectionSpecification extends Object
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description RoleSelectionSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRoleType(DisplayableValue<String> roleType)
void
addRoleTypes(Collection<? extends DisplayableValue<String>> roleTypes)
boolean
equals(Object obj)
ObjectFilter
getFilter()
Returns "additional filter" that should be used to search for assignible roles.List<? extends DisplayableValue<String>>
getRoleTypes()
Returns null if there is no information about role types that can or cannot be assigned.int
hashCode()
void
setFilter(ObjectFilter filter)
void
setNoRoleTypes()
String
toString()
-
-
-
Method Detail
-
getRoleTypes
public List<? extends DisplayableValue<String>> getRoleTypes()
Returns null if there is no information about role types that can or cannot be assigned. Returns empty list list if the user is not authorized to assign anything.
-
setNoRoleTypes
public void setNoRoleTypes()
-
addRoleType
public void addRoleType(DisplayableValue<String> roleType)
-
addRoleTypes
public void addRoleTypes(Collection<? extends DisplayableValue<String>> roleTypes)
-
getFilter
public ObjectFilter getFilter()
Returns "additional filter" that should be used to search for assignible roles. This filter should be AND-ed with any application level filter. It can return null. The null filter means "ALL" (AllFilter). If this returns NoneFilter then no roles can be assigned to the user.
-
setFilter
public void setFilter(ObjectFilter filter)
-
-