Interface Calendar

All Superinterfaces:
AmetysObject, ExplorerNode, TraversableAmetysObject
All Known Subinterfaces:
ModifiableCalendar
All Known Implementing Classes:
JCRCalendar

Calendar Interface
  • Method Details

    • getColor

      Get the color of the calendar
      Returns:
      the color of the calendar
    • getVisibility

      Get the calendar visibility
      Returns:
      the calendar visibility
    • getWorkflowName

      Get the name of the workflow of the calendar
      Returns:
      the name of the workflow of the calendar
    • getTemplateDescription

      Get the template description of the calendar
      Returns:
      the template description of the calendar
    • getEvents

      Map<CalendarEvent,List<Date>> getEvents(Date startDate, Date endDate)
      Get the events and its occurrences of the calendar between two dates
      Parameters:
      startDate - Begin date
      endDate - End date
      Returns:
      the map of events and its occurrences
    • getIcsUrlToken

      Get the token used by the ICS public URL
      Returns:
      The token, or null if no token exists for the calendar