Interface Calendar

All Superinterfaces:
Browsable, Extensible, Federateable, Identifiable, OsidCatalog, OsidObject, Sourceable

public interface Calendar extends OsidCatalog

A calendar defines a collection of events.

  • Method Details

    • getCalendarRecord

      CalendarRecord getCalendarRecord(Type calendarRecordType) throws OperationFailedException
      Gets the record corresponding to the given Calendar record Type .This method is used to retrieve an object implementing the requested record. The calendarRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(calendarRecordType) is true .
      Parameters:
      calendarRecordType - a calendar record type
      Returns:
      the calendar record
      Throws:
      NullArgumentException - calendarRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(calendarRecordType) is false
      Compliance:
      mandatory - This method must be implemented.