Interface EdgeSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface EdgeSearch extends OsidSearch

The search interface for governing edge searches.

  • Method Details

    • searchAmongEdges

      void searchAmongEdges(IdList edgeIds)
      Execute this search among the given list of edges.
      Parameters:
      edgeIds - list of edges
      Throws:
      NullArgumentException - edgeIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderEdgeResults

      void orderEdgeResults(EdgeSearchOrder edgeSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      edgeSearchOrder - edge search order
      Throws:
      NullArgumentException - edgeSearchOrder is null
      UnsupportedException - edgeSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getEdgeSearchRecord

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