Class SearchOptions


  • public class SearchOptions
    extends Object
    Author:
    Pavel.Sher Date: 28.09.2007
    • Constructor Detail

      • SearchOptions

        public SearchOptions​(@Nullable
                             String keyword)
    • Method Detail

      • getKeyword

        @Nullable
        public String getKeyword()
      • setKeyword

        public void setKeyword​(@Nullable
                               String keyword)
      • getRole

        @Nullable
        public Role getRole()
      • setRole

        public void setRole​(@Nullable
                            Role role)
        Seach users with specified role. If null then filtering by role is disabled.
        Parameters:
        role -
      • getRoleProject

        @Nullable
        public SProject getRoleProject()
      • setRoleProject

        public void setRoleProject​(@Nullable
                                   SProject roleProject)
        Search users having specified role in the specified project. If null then filtering by project is disabled.
        Parameters:
        roleProject -
      • isProjectsFilterDisabled

        public boolean isProjectsFilterDisabled()
      • setProjectsFilterDisabled

        public void setProjectsFilterDisabled​(boolean projectsFilterDisabled)
        Set to true to disable filtering by role projects
        Parameters:
        projectsFilterDisabled - true to disable filtering by role projects
      • setInvertRolesCondition

        public void setInvertRolesCondition​(boolean invertRolesCondition)
        Set to true to invert role/project condition, i.e. to find users without specified role in specified project.
        Parameters:
        invertRolesCondition - true to invert condition
      • isInvertRolesCondition

        public boolean isInvertRolesCondition()
      • setGroup

        public void setGroup​(SUserGroup group)
        Set to a group where to search for users. Users will be searched in this group and in this group parents.
        Parameters:
        group -
      • isStopOnFirstMatch

        public boolean isStopOnFirstMatch()
      • setStopOnFirstMatch

        public void setStopOnFirstMatch​(boolean stopOnFirstMatch)
        Set to true if search should be stopped on the first match.
        Parameters:
        stopOnFirstMatch -