Class QuickFilterEntity

    • Constructor Detail

      • QuickFilterEntity

        public QuickFilterEntity​(@NotNull
                                 @NotNull String name)
    • Method Detail

      • getName

        @NotNull
        public @NotNull String getName()
        Description copied from interface: QuickFilter
        Get the unique name of this quick filter. The name is also filter's display name.
        Specified by:
        getName in interface NameProvider
        Specified by:
        getName in interface QuickFilter
        Returns:
        quick filter name
      • setName

        public void setName​(@NotNull
                            @NotNull String name)
        Description copied from interface: QuickFilter
        Set quick filter's unique name. The name is also filter's display name
        Specified by:
        setName in interface QuickFilter
        Parameters:
        name - new name of this quick filter
      • getPosition

        public int getPosition()
        Description copied from interface: QuickFilter
        Get the position of this quick filter on the quick filters list. This value indicates the order of displaying filters to users. First quick filter should have position of 1.
        Specified by:
        getPosition in interface QuickFilter
        Returns:
        quick filter position on the list
      • setPosition

        public void setPosition​(int position)
        Description copied from interface: QuickFilter
        Sets the position of this quick filter on the quick filters list. This value indicates the order of displaying filters to users. First quick filter should have position of 1.
        Specified by:
        setPosition in interface QuickFilter
        Parameters:
        position - new quick filter position index
      • getRules

        @NotNull
        public @NotNull List<QuickFilterRule> getRules()
        Description copied from interface: QuickFilter
        Returns a list of rules for this quick filter. Rules define whether a quick filter will or will not match a plan.
        Specified by:
        getRules in interface QuickFilter
        Returns:
        quick filter rules
      • setRules

        public void setRules​(@NotNull
                             @NotNull List<QuickFilterRule> rules)
        Description copied from interface: QuickFilter
        Set the rules for this quick filter. Rules define whether a quick filter will or will not match a plan.
        Specified by:
        setRules in interface QuickFilter
        Parameters:
        rules - quick filter rules