Class BwObjectFilter

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

public class BwObjectFilter extends org.bedework.caldav.util.filter.ObjectFilter<org.bedework.caldav.util.filter.ObjectFilter>
A filter that wraps CalDAV object filter.

This allows us to implement the match method so we can post-process annotations and overrides etc. The entity is the object filter we are wrapping.

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
    BwObjectFilter(String name, org.bedework.caldav.util.filter.ObjectFilter of)
    Match on any of the categories.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex
     
    org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex
     
    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, 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

    • BwObjectFilter

      public BwObjectFilter(String name, org.bedework.caldav.util.filter.ObjectFilter of)
      Match on any of the categories.
      Parameters:
      name - - null one will be created
      of -
  • Method Details

    • getPropertyIndex

      public org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex getPropertyIndex()
      Overrides:
      getPropertyIndex in class org.bedework.caldav.util.filter.PropertyFilter
    • getParentPropertyIndex

      public org.bedework.util.calendar.PropertyIndex.PropertyInfoIndex getParentPropertyIndex()
      Overrides:
      getParentPropertyIndex in class org.bedework.caldav.util.filter.PropertyFilter
    • match

      public boolean match(Object o, String userHref) throws org.bedework.webdav.servlet.shared.WebdavException
      Overrides:
      match in class org.bedework.caldav.util.filter.FilterBase
      Throws:
      org.bedework.webdav.servlet.shared.WebdavException
    • toString

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