Class RoleSelectionSpecification


  • public class RoleSelectionSpecification
    extends Object
    Author:
    semancik
    • Constructor Detail

      • RoleSelectionSpecification

        public RoleSelectionSpecification()
    • 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()
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object