Class SysiIcalendar

java.lang.Object
org.bedework.caldav.server.SysiIcalendar
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<org.bedework.webdav.servlet.shared.WdEntity>, java.util.Iterator<org.bedework.webdav.servlet.shared.WdEntity>, org.bedework.util.calendar.ScheduleMethods

public abstract class SysiIcalendar
extends java.lang.Object
implements org.bedework.util.calendar.ScheduleMethods, java.util.Iterator<org.bedework.webdav.servlet.shared.WdEntity>, java.lang.Iterable<org.bedework.webdav.servlet.shared.WdEntity>, java.io.Serializable
Class to represent an RFC icalendar object converted to an internal form.
Version:
1.0
Author:
Mike Douglass douglm rpi.edu
See Also:
Serialized Form
  • Field Summary

    Fields inherited from interface org.bedework.util.calendar.ScheduleMethods

    methods, methodTypeAdd, methodTypeCancel, methodTypeCounter, methodTypeDeclineCounter, methodTypeNone, methodTypePollStatus, methodTypePublish, methodTypeRefresh, methodTypeReply, methodTypeRequest, methodTypeUnknown
  • Constructor Summary

    Constructors
    Constructor Description
    SysiIcalendar()  
  • Method Summary

    Modifier and Type Method Description
    abstract java.lang.String getCalscale()  
    abstract java.util.Collection<?> getComponents()  
    abstract org.bedework.util.calendar.IcalDefs.IcalComponentType getComponentType()  
    abstract CalDAVEvent<?> getEvent()  
    abstract java.lang.String getMethod()  
    abstract java.lang.String getMethodName​(int mt)  
    abstract int getMethodType()  
    abstract int getMethodType​(java.lang.String val)  
    abstract Organizer getOrganizer()
    An event or a free-busy request may contain an organizer.
    abstract java.lang.String getProdid()  
    abstract java.util.Collection<net.fortuna.ical4j.model.TimeZone> getTimeZones()  
    abstract java.lang.String getVersion()  
    abstract java.util.Iterator<org.bedework.webdav.servlet.shared.WdEntity> iterator()  
    abstract boolean itipReplyMethodType​(int mt)
    True for itip reply type method
    abstract boolean itipRequestMethodType​(int mt)
    True for itip request type method
    abstract boolean replyMethodType()
    True for itip reply type method
    abstract boolean requestMethodType()
    True for itip request type method
    abstract int size()  
    java.lang.String toString()  
    abstract boolean validItipMethodType()
    True for valid itip method
    abstract boolean validItipMethodType​(int val)
    True for valid itip method

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface java.util.Iterator

    forEachRemaining, hasNext, next, remove
  • Constructor Details

    • SysiIcalendar

      public SysiIcalendar()
  • Method Details

    • getProdid

      public abstract java.lang.String getProdid()
      Returns:
      String
    • getVersion

      public abstract java.lang.String getVersion()
      Returns:
      String
    • getCalscale

      public abstract java.lang.String getCalscale()
      Returns:
      String
    • getMethod

      public abstract java.lang.String getMethod()
      Returns:
      String
    • getTimeZones

      public abstract java.util.Collection<net.fortuna.ical4j.model.TimeZone> getTimeZones()
      Returns:
      Collection
    • getComponents

      public abstract java.util.Collection<?> getComponents()
      Returns:
      Collection
    • getComponentType

      public abstract org.bedework.util.calendar.IcalDefs.IcalComponentType getComponentType()
      Returns:
      ComponentType
    • getMethodType

      public abstract int getMethodType()
      Returns:
      int
    • getMethodType

      public abstract int getMethodType​(java.lang.String val)
      Parameters:
      val - String method name
      Returns:
      int
    • getMethodName

      public abstract java.lang.String getMethodName​(int mt)
      Parameters:
      mt -
      Returns:
      A string value for the method
    • getOrganizer

      public abstract Organizer getOrganizer()
      An event or a free-busy request may contain an organizer. Return it if it is present.
      Returns:
      organizer object if present.
    • getEvent

      public abstract CalDAVEvent<?> getEvent()
      Returns:
      CalDAVEvent
    • iterator

      public abstract java.util.Iterator<org.bedework.webdav.servlet.shared.WdEntity> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<org.bedework.webdav.servlet.shared.WdEntity>
      Returns:
      Iterator
    • size

      public abstract int size()
      Returns:
      int
    • validItipMethodType

      public abstract boolean validItipMethodType()
      True for valid itip method
      Returns:
      boolean
    • requestMethodType

      public abstract boolean requestMethodType()
      True for itip request type method
      Returns:
      boolean
    • replyMethodType

      public abstract boolean replyMethodType()
      True for itip reply type method
      Returns:
      boolean
    • itipRequestMethodType

      public abstract boolean itipRequestMethodType​(int mt)
      True for itip request type method
      Parameters:
      mt - method
      Returns:
      boolean
    • itipReplyMethodType

      public abstract boolean itipReplyMethodType​(int mt)
      True for itip reply type method
      Parameters:
      mt - method
      Returns:
      boolean
    • validItipMethodType

      public abstract boolean validItipMethodType​(int val)
      True for valid itip method
      Parameters:
      val -
      Returns:
      boolean
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object