com.openindex.openestate.tool.calendar
Class CalendarObject

java.lang.Object
  extended by com.openindex.openestate.tool.calendar.CalendarObject

public class CalendarObject
extends Object

Kalender-Objekt.
$Id: CalendarObject.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
static net.fortuna.ical4j.data.CalendarBuilder BUILDER
           
static int EVENT
           
static int JOURNAL
           
static int TODO
           
 
Constructor Summary
CalendarObject()
          Erzeugt eine Instanz der Klasse 'CalendarObject'
CalendarObject(net.fortuna.ical4j.model.Calendar cal)
           
 
Method Summary
 void add(CalendarEntry entry)
           
static CalendarObject create(CalendarSource src)
           
static CalendarObject createFromICal(InputStream ical)
           
static CalendarObject createFromICal(Reader ical)
           
static CalendarObject createFromXCal(InputStream xcal)
           
static CalendarObject createFromXCal(Reader xcal)
           
static void defaultCalendar(CalendarObject cal)
           
 CalendarEntry[] filterEntries(Date begin, Date end, boolean withRecurrence)
           
 CalendarEntry[] filterEntries(Date begin, Date end, String name, boolean withRecurrence)
           
 net.fortuna.ical4j.model.Calendar getCalendar()
           
 CalendarEntry[] getEntries()
           
 CalendarEntry[] getEntries(String name)
           
 CalendarEventEntry[] getEventEntries()
           
 CalendarEntry getFirstEntry()
           
 CalendarEntry getFirstEntry(String name)
           
 CalendarEventEntry getFirstEventEntry()
           
 CalendarJournalEntry getFirstJournalEntry()
           
 CalendarTodoEntry getFirstTodoEntry()
           
 long getId()
           
 CalendarJournalEntry[] getJournalEntries()
           
 net.fortuna.ical4j.model.PropertyList getProperties()
           
 net.fortuna.ical4j.model.Property getProperty(String name)
           
 CalendarTodoEntry[] getTodoEntries()
           
static CalendarObject load(long id)
           
static CalendarObject load(long id, org.xmldb.api.base.Collection pluginCollection)
           
static net.fortuna.ical4j.model.Calendar newCalendar()
           
 void putProperty(net.fortuna.ical4j.model.Property p)
           
 void remove()
           
 void remove(org.xmldb.api.base.Collection pluginCollection)
           
 void removeProperty(String name)
           
 void save()
           
 void save(org.xmldb.api.base.Collection pluginCollection)
           
 void save(org.xmldb.api.base.Collection pluginCollection, ImmoToolDb db)
           
static CalendarEntry[] search(long[] calendarIds, net.fortuna.ical4j.model.property.Status entryStatus, int entryTypeFlags)
           
 void setCalendar(net.fortuna.ical4j.model.Calendar val)
           
 void setId(long val)
           
static String wrap(String txt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILDER

public static final net.fortuna.ical4j.data.CalendarBuilder BUILDER

EVENT

public static final int EVENT
See Also:
Constant Field Values

TODO

public static final int TODO
See Also:
Constant Field Values

JOURNAL

public static final int JOURNAL
See Also:
Constant Field Values
Constructor Detail

CalendarObject

public CalendarObject()
Erzeugt eine Instanz der Klasse 'CalendarObject'


CalendarObject

public CalendarObject(net.fortuna.ical4j.model.Calendar cal)
Method Detail

add

public void add(CalendarEntry entry)

create

public static CalendarObject create(CalendarSource src)

createFromICal

public static CalendarObject createFromICal(InputStream ical)
                                     throws ImmoToolException
Throws:
ImmoToolException

createFromICal

public static CalendarObject createFromICal(Reader ical)
                                     throws ImmoToolException
Throws:
ImmoToolException

createFromXCal

public static CalendarObject createFromXCal(InputStream xcal)
                                     throws ImmoToolException
Throws:
ImmoToolException

createFromXCal

public static CalendarObject createFromXCal(Reader xcal)
                                     throws ImmoToolException
Throws:
ImmoToolException

defaultCalendar

public static void defaultCalendar(CalendarObject cal)

filterEntries

public CalendarEntry[] filterEntries(Date begin,
                                     Date end,
                                     boolean withRecurrence)

filterEntries

public CalendarEntry[] filterEntries(Date begin,
                                     Date end,
                                     String name,
                                     boolean withRecurrence)

getCalendar

public net.fortuna.ical4j.model.Calendar getCalendar()

getEntries

public CalendarEntry[] getEntries()

getEntries

public CalendarEntry[] getEntries(String name)

getEventEntries

public CalendarEventEntry[] getEventEntries()

getFirstEntry

public CalendarEntry getFirstEntry()

getFirstEntry

public CalendarEntry getFirstEntry(String name)

getFirstEventEntry

public CalendarEventEntry getFirstEventEntry()

getFirstJournalEntry

public CalendarJournalEntry getFirstJournalEntry()

getFirstTodoEntry

public CalendarTodoEntry getFirstTodoEntry()

getProperties

public net.fortuna.ical4j.model.PropertyList getProperties()

getProperty

public net.fortuna.ical4j.model.Property getProperty(String name)

getId

public long getId()

getJournalEntries

public CalendarJournalEntry[] getJournalEntries()

getTodoEntries

public CalendarTodoEntry[] getTodoEntries()

load

public static CalendarObject load(long id)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException

load

public static CalendarObject load(long id,
                                  org.xmldb.api.base.Collection pluginCollection)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException

newCalendar

public static net.fortuna.ical4j.model.Calendar newCalendar()

putProperty

public void putProperty(net.fortuna.ical4j.model.Property p)

remove

public void remove()
            throws ImmoToolDbException
Throws:
ImmoToolDbException

remove

public void remove(org.xmldb.api.base.Collection pluginCollection)
            throws ImmoToolDbException
Throws:
ImmoToolDbException

removeProperty

public void removeProperty(String name)

save

public void save()
          throws ImmoToolDbException
Throws:
ImmoToolDbException

save

public void save(org.xmldb.api.base.Collection pluginCollection)
          throws ImmoToolDbException
Throws:
ImmoToolDbException

save

public void save(org.xmldb.api.base.Collection pluginCollection,
                 ImmoToolDb db)
          throws ImmoToolDbException
Throws:
ImmoToolDbException

search

public static CalendarEntry[] search(long[] calendarIds,
                                     net.fortuna.ical4j.model.property.Status entryStatus,
                                     int entryTypeFlags)
                              throws ImmoToolDbException,
                                     org.xmldb.api.base.XMLDBException,
                                     IOException,
                                     net.fortuna.ical4j.data.ParserException,
                                     TransformerException
Throws:
ImmoToolDbException
org.xmldb.api.base.XMLDBException
IOException
net.fortuna.ical4j.data.ParserException
TransformerException

setCalendar

public void setCalendar(net.fortuna.ical4j.model.Calendar val)

setId

public void setId(long val)

wrap

public static String wrap(String txt)


Copyright © 2012 OpenEstate. All Rights Reserved.