Interface ResourceRelationshipSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface ResourceRelationshipSearchResults extends OsidSearchResults

This interface provides a means to capture results of a search.

  • Method Details

    • getResourceRelationships

      ResourceRelationshipList getResourceRelationships()
      Gets the resource relationship list resulting from the search.
      Returns:
      the resource relationship list
      Throws:
      IllegalStateException - list already retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getResourceRelationshipQueryInspector

      ResourceRelationshipQueryInspector getResourceRelationshipQueryInspector()
      Gets the inspector for the query to examine the terms used in the search.
      Returns:
      the resource relationship query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getResourceRelationshipSearchResultsRecord

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