Interface PeriodSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface PeriodSearch extends OsidSearch

The search interface for governing period searches.

  • Method Details

    • searchAmongPeriods

      void searchAmongPeriods(IdList periodIds)
      Execute this search among the given list of periods.
      Parameters:
      periodIds - list of periods
      Throws:
      NullArgumentException - periodIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderPeriodResults

      void orderPeriodResults(PeriodSearchOrder periodSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      periodSearchOrder - period search order
      Throws:
      NullArgumentException - periodSearchOrder is null
      UnsupportedException - periodSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getPeriodSearchRecord

      PeriodSearchRecord getPeriodSearchRecord(Type periodSearchRecordType) throws OperationFailedException
      Gets the period search record corresponding to the given period search record Type . This method is used to retrieve an object implementing the requested record.
      Parameters:
      periodSearchRecordType - a period search record type
      Returns:
      the period search record
      Throws:
      NullArgumentException - periodSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(periodSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.