%3 ::nx::Object ::nx::Object ::xo::ical::VCALITEM ::xo::ical::VCALITEM add_recurrence as_ical edit_recurrence get ical_body parse RRULE start_end tag ::xo::ical::VCALITEM->::nx::Object ::xo::ical::VEVENT ::xo::ical::VEVENT finish ::xo::ical::VEVENT->::xo::ical::VCALITEM ::xo::ical::VTODO ::xo::ical::VTODO ::xo::ical::VTODO->::xo::ical::VCALITEM

Class ::xo::ical::VCALITEM

::xo::ical::VCALITEM[i] create ... \
           [ -creation_date creation_date ] \
           [ -description description ] \
           [ -dtstamp dtstamp ] \
           [ -dtstart dtstart ] \
           [ -geo geo ] \
           [ -is_day_item (default "false") ] \
           [ -last-modified last-modified ] \
           [ -last_modified last_modified ] \
           [ -location location ] \
           [ -priority priority ] \
           [ -status status ] \
           [ -summary summary ] \
           [ -uid uid ] \
           [ -url url ]

VCALITEM is the superclass of a VTODO and a VEVENT, intended as an abstract class.
Defined in packages/xotcl-core/tcl/ical-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::xo::ical::VEVENT[i], ::xo::ical::VTODO[i]

Methods (to be applied on instances)

  • add_recurrence (scripted, public)

     <instance of xo::ical::VCALITEM[i]> add_recurrence \
        [ -cal_item_id cal_item_id ]

    Call calendar::item::add_recurrence with the options calculated by "parse RRULE"

    Switches:
    -cal_item_id
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 calendar::item::add_recurrence calendar::item::add_recurrence (public) xo::ical::VCALITEM instproc add_recurrence xo::ical::VCALITEM instproc add_recurrence xo::ical::VCALITEM instproc add_recurrence->calendar::item::add_recurrence

    Testcases:
    No testcase defined.
  • as_ical (scripted, public)

     <instance of xo::ical::VCALITEM[i]> as_ical

    Output a VCALITEM (VTODO or VEVENT) "object" in ical notation.

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • edit_recurrence (scripted, public)

     <instance of xo::ical::VCALITEM[i]> edit_recurrence \
        [ -cal_item_id cal_item_id ] [ -recurrence_id recurrence_id ]

    We might or might not have a recurrence on the old entry. In case we have one, the old one might have started earlier, so we try to terminate it.

    Switches:
    -cal_item_id
    (optional)
    -recurrence_id
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 calendar::item::add_recurrence calendar::item::add_recurrence (public) xo::ical::VCALITEM instproc edit_recurrence xo::ical::VCALITEM instproc edit_recurrence xo::ical::VCALITEM instproc edit_recurrence->calendar::item::add_recurrence

    Testcases:
    No testcase defined.
  • get (scripted, public)

     <instance of xo::ical::VCALITEM[i]> get property [ default ]

    Return a certain property of an ical items. In case, the item has no such property, return the default value.

    Parameters:
    property
    default (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • ical_body (scripted, public)

     <instance of xo::ical::VCALITEM[i]> ical_body

    The method ical_body returns the ical-formatted content of the variables. All variables of VEVENTs and VTODOs are listed below, since the names are distinct, and no methods are used. So far there is no handling for the repetition fields (which might occur more than once). An option would be to handle these as lists. All date/time stamps are provided either by the ANSI date (from postgres) or by a date which can be processed via clock scan

    Partial Call Graph (max 5 caller/called nodes):
    %3 xo::db::tcl_date xo::db::tcl_date (public) xo::ical::VCALITEM instproc ical_body xo::ical::VCALITEM instproc ical_body xo::ical::VCALITEM instproc ical_body->xo::db::tcl_date

    Testcases:
    No testcase defined.
  • parse RRULE (scripted, public)

     <instance of xo::ical::VCALITEM[i]> parse RRULE recurrule

    parse recurrence rule provided in cal syntax. This method assumes that the instance variable dtstart is already set, before this method is called.

    Parameters:
    recurrule

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.