Class ClientCollectionInfo

java.lang.Object
org.bedework.calfacade.filter.ClientCollectionInfo
All Implemented Interfaces:
Serializable

public class ClientCollectionInfo extends Object implements Serializable
This class allows us to apply a color to an event in the result set.

If the filter is null then a match on the path is sufficient. Otherwise an event must be passed through the filter to see if it matches.

Author:
Mike Douglass
See Also:
  • Constructor Details

    • ClientCollectionInfo

      public ClientCollectionInfo(String path, String color, int calType, org.bedework.caldav.util.filter.FilterBase filter)
      Create an entry for a path
      Parameters:
      path -
      color -
      calType -
      filter - - null for unfiltered
  • Method Details

    • getPath

      public String getPath()
      Get the path
      Returns:
      String path
    • getColor

      public String getColor()
      Get the calendar color property
      Returns:
      String calendar color
    • getCalType

      public int getCalType()
      Get the type
      Returns:
      int type
    • getFilter

      public org.bedework.caldav.util.filter.FilterBase getFilter()
      Get the filter - null means an unfiltered reference
      Returns:
      Filter to apply
    • toString

      public String toString()
      Overrides:
      toString in class Object