Class BwCategoryFilter

java.lang.Object
org.bedework.caldav.util.filter.FilterBase
org.bedework.caldav.util.filter.PropertyFilter
org.bedework.caldav.util.filter.ObjectFilter<BwCategory>
org.bedework.calfacade.filter.BwCategoryFilter
All Implemented Interfaces:
Serializable

public class BwCategoryFilter extends org.bedework.caldav.util.filter.ObjectFilter<BwCategory>
A filter that selects events that have a certain category
Version:
1.0
Author:
Mike Douglass
See Also:
  • Field Summary

    Fields inherited from class org.bedework.caldav.util.filter.FilterBase

    cache, children, description, name, not, parent
  • Constructor Summary

    Constructors
    Constructor
    Description
    Match on any of the categories.
    BwCategoryFilter(String name, List<org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex> propertyIndexes)
    Match on any of the categories.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(Object o, String userHref)
     
     

    Methods inherited from class org.bedework.caldav.util.filter.ObjectFilter

    getCaseless, getEntity, getExact, getPrefixMatch, makeFilter, makeFilter, makeFilter, setCaseless, setEntity, setExact, setPrefixMatch

    Methods inherited from class org.bedework.caldav.util.filter.PropertyFilter

    getIntKey, getParentPropertyIndex, getPropertyIndex, getPropertyIndexes, getStrKey, setParentPropertyIndex, setPropertyIndex, toStringSegment

    Methods inherited from class org.bedework.caldav.util.filter.FilterBase

    addAndChild, addChild, addOrChild, getCache, getChildren, getDescription, getName, getNot, getNumChildren, getParent, setCache, setChildren, setDescription, setName, setNot, setParent, stringOper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BwCategoryFilter

      public BwCategoryFilter(String name)
      Match on any of the categories.
      Parameters:
      name - - null one will be created
    • BwCategoryFilter

      public BwCategoryFilter(String name, List<org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex> propertyIndexes)
      Match on any of the categories.
      Parameters:
      name - - null one will be created
      propertyIndexes -
  • Method Details

    • match

      public boolean match(Object o, String userHref)
      Overrides:
      match in class org.bedework.caldav.util.filter.FilterBase
    • toString

      public String toString()
      Overrides:
      toString in class org.bedework.caldav.util.filter.ObjectFilter<BwCategory>