Interface RecurringEventEnablerQuery

All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable

public interface RecurringEventEnablerQuery extends OsidEnablerQuery

This is the query for searching recurring event enablers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR .

  • Method Details

    • matchRuledRecurringEventId

      void matchRuledRecurringEventId(Id recurringEventId, boolean match)
      Matches enablers mapped to the recurring event.
      Parameters:
      recurringEventId - the recurring event Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - recurringEventId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledRecurringEventIdTerms

      void clearRuledRecurringEventIdTerms()
      Clears the recurring event Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledRecurringEventQuery

      boolean supportsRuledRecurringEventQuery()
      Tests if a RecurringEventQuery is available.
      Returns:
      true if a recurring event query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledRecurringEventQuery

      RecurringEventQuery getRuledRecurringEventQuery()
      Gets the query for a recurring event. Multiple retrievals produce a nested OR term.
      Returns:
      the recurring event query
      Throws:
      UnimplementedException - supportsRuledRecurringEventQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledRecurringEventQuery()} is {@code true} .
    • matchAnyRuledRecurringEvent

      void matchAnyRuledRecurringEvent(boolean match)
      Matches enablers mapped to any recurring event.
      Parameters:
      match - true for enablers mapped to any recurring event, false to match enablers mapped to no recurring events
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledRecurringEventTerms

      void clearRuledRecurringEventTerms()
      Clears the recurring event query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchCalendarId

      void matchCalendarId(Id calendarId, boolean match)
      Matches enablers mapped to the calendar.
      Parameters:
      calendarId - the calendar Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - calendarId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearCalendarIdTerms

      void clearCalendarIdTerms()
      Clears the calendar Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsCalendarQuery

      boolean supportsCalendarQuery()
      Tests if a CalendarQuery is available.
      Returns:
      true if a calendar query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getCalendarQuery

      CalendarQuery getCalendarQuery()
      Gets the query for a calendar. Multiple retrievals produce a nested OR term.
      Returns:
      the calendar query
      Throws:
      UnimplementedException - supportsCalendarQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsCalendarQuery()} is {@code true} .
    • clearCalendarTerms

      void clearCalendarTerms()
      Clears the calendar query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getRecurringEventEnablerQueryRecord

      RecurringEventEnablerQueryRecord getRecurringEventEnablerQueryRecord(Type recurringEventEnablerRecordType) throws OperationFailedException
      Gets the recurring event enabler query record corresponding to the given RecurringEventEnabler record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      recurringEventEnablerRecordType - a recurring event enabler record type
      Returns:
      the recurring event enabler query record
      Throws:
      NullArgumentException - recurringEventEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(recurringEventEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.