Interface CalEvent

All Superinterfaces:
Cloneable
All Known Implementing Classes:
SimpleEvent

public interface CalEvent extends Cloneable
a calendar event returned by CalInfo
  • Field Details

  • Method Details

    • clone

      Object clone()
    • getCaption

      int getCaption()
      returns the caption to use for this event.
      Returns:
      the caption's index CalInfo.getCaptions()
    • getFromDate

      Date getFromDate()
      Returns:
      Returns the fromDate.
    • getInterval

      int getInterval()
      Returns:
      Returns the interval.
    • getLocation

      String getLocation()
      Returns:
      Returns the location.
    • getRecEndDate

      Date getRecEndDate()
      Returns:
      Returns the recEndDate.
    • getRecurrenceType

      int getRecurrenceType()
      Returns:
      Returns the recurrenceType.
    • getSubject

      String getSubject()
      Returns:
      Returns the subject.
    • getText

      String getText()
      Returns:
      Returns the text.
    • getUID

      String getUID()
      get the unique identifier for this event
      Returns:
      the unique identifier for this event
    • getUntilDate

      Date getUntilDate()
      Returns:
      Returns the untilDate.
    • isPrivateEvent

      boolean isPrivateEvent()
      Returns:
      Returns the privateDate.
    • isWholeDay

      boolean isWholeDay()
      Returns:
      Returns the wholeDay.
    • onClick

      String onClick()
      Returns:
      javascript-code for onclick event
    • hasReminder

      boolean hasReminder()
      should a reminder be used?
      Returns:
      true or false
    • mayView

      boolean mayView(User user)
      check if the given user may view this event
      Parameters:
      user -
      Returns:
      true or false
    • mayEdit

      boolean mayEdit(User user)
      check if the given user may edit this event
      Parameters:
      user -
      Returns:
      true or false
    • getEventType

      EventType getEventType()
      Returns:
      the EventType of this event
    • getObjects

      List<Persistent> getObjects()
      the objects, this event belongs to
      Returns:
      the objects
    • getObject

      Persistent getObject()
      returns the object this CalEvent was initially fetched for
      Returns:
      the object