Interface RelationshipSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing relationship searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRelationshipSearchRecord(Type relationshipSearchRecordType) Gets the relationship search record corresponding to the given relationship search recordType.This method is used to retrieve an object implementing the requested record.voidorderRelationshipResults(RelationshipSearchOrder relationshipSearchOrder) Specify an ordering to the search results.voidsearchAmongRelationships(IdList relationshipIds) Execute this search among the given list of relationships.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongRelationships
Execute this search among the given list of relationships.- Parameters:
relationshipIds- list of relationships- Throws:
NullArgumentException-relationshipIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRelationshipResults
Specify an ordering to the search results.- Parameters:
relationshipSearchOrder- relationship search order- Throws:
NullArgumentException-relationshipSearchOrderisnullUnsupportedException-relationshipSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRelationshipSearchRecord
RelationshipSearchRecord getRelationshipSearchRecord(Type relationshipSearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the relationship search record corresponding to the given relationship search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
relationshipSearchRecordType- a relationship search record type- Returns:
- the relationship search record
- Throws:
NullArgumentException-relationshipSearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(relationshipSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-