Interface RelationshipSearchOrder

All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable

public interface RelationshipSearchOrder extends OsidRelationshipSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderBySource

      void orderBySource(SearchOrderStyle style)
      Specifies a preference for ordering the result set by the source peer.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByDestination

      void orderByDestination(SearchOrderStyle style)
      Specifies a preference for ordering the result set by the destination peer.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • getRelationshipSearchOrderRecord

      RelationshipSearchOrderRecord getRelationshipSearchOrderRecord(Type relationshipRecordType) throws OperationFailedException, PermissionDeniedException
      Gets the relationship search order record corresponding to the given relationship record Type . Multiple retrievals return the same underlying object.
      Parameters:
      relationshipRecordType - a relationship record type
      Returns:
      the relationship search order record
      Throws:
      NullArgumentException - relationshipRecordType is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      UnsupportedException - hasRecordType(relationshipRecordType) is false
      Compliance:
      mandatory - This method must be implemented.