Interface CyclicTimePeriodSearchSession

All Superinterfaces:
AutoCloseable, Closeable, CyclicTimePeriodQuerySession, OsidSession, OsidSession

public interface CyclicTimePeriodSearchSession extends CyclicTimePeriodQuerySession

This session provides methods for searching CyclicTimePeriods. The search query is constructed using the CyclicTimePeriodQuery. The cyclic time period record Type also specifies the record for the cyclic time period query.

getCyclicTimePeriodsByQuery() is the basic search method and returns a list of CyclicTimePeriods. A more advanced search may be performed with getCyclicTimePeriodsBySearch(). It accepts a CyclicTimePeriodSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getCyclicTimePeriodsBySearch() returns a CyclicTimePeriodSearchResults that can be used to access the resulting CyclicTimePeriodList or be used to perform a search within the result set through CyclicTimePeriodSearch.

Cyclic time periods may have a query record indicated by their respective record types. The query record is accessed via the CyclicTimePeriodQuery.

  • Method Details

    • getCyclicTimePeriodSearch

      CyclicTimePeriodSearch getCyclicTimePeriodSearch()
      Gets a cyclic time period search.
      Returns:
      the cyclic time period search
      Compliance:
      mandatory - This method must be implemented.
    • getCyclicTimePeriodSearchOrder

      CyclicTimePeriodSearchOrder getCyclicTimePeriodSearchOrder()
      Gets a cyclic time period search order. The CyclicTimePeriodSearchOrder is supplied to a CyclicTimePeriodSearch to specify the ordering of results.
      Returns:
      the cyclic time period search order
      Compliance:
      mandatory - This method must be implemented.
    • getCyclicTimePeriodsBySearch

      CyclicTimePeriodSearchResults getCyclicTimePeriodsBySearch(CyclicTimePeriodQuery cyclicTimePeriodQuery, CyclicTimePeriodSearch cyclicTimePeriodSearch) throws OperationFailedException, PermissionDeniedException
      Gets the search results matching the given search query using the given search.
      Parameters:
      cyclicTimePeriodQuery - the cyclic time period query
      cyclicTimePeriodSearch - the cyclic time period search
      Returns:
      the cyclic time period search results
      Throws:
      NullArgumentException - cyclicTimePeriodQuery or cyclicTimePeriodSearch is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      UnsupportedException - cyclicTimePeriodSearch or t imePeriodQuery is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getCyclicTimePeriodQueryFromInspector

      CyclicTimePeriodQuery getCyclicTimePeriodQueryFromInspector(CyclicTimePeriodQueryInspector cyclicTimePeriodQueryInspector)
      Gets a cyclic time period query from an inspector. The inspector is available from a CyclicTimePeriodSearchResults.
      Parameters:
      cyclicTimePeriodQueryInspector - a cyclic time period query inspector
      Returns:
      the cyclic time period query
      Throws:
      NullArgumentException - cyclicTimePeriodQueryInspector is null
      UnsupportedException - cyclicTimePeriodQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.