Interface ResourceRelationshipSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
ResourceRelationshipSearch defines the interface for specifying
relationship search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceRelationshipSearchRecord(Type resourceRelationshipSearchRecordType) Gets the resource relationship search record corresponding to the given relationship search recordType.This method is used to retrieve an object implementing the requested record.voidorderResourceRelationshipResults(ResourceRelationshipSearchOrder resourceRelationshipSearchOrder) Specify an ordering to the search results.voidsearchAmongResourceRelationships(IdList resourceRelationshipIds) Execute this search among the given list of resource 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
-
searchAmongResourceRelationships
Execute this search among the given list of resource relationships.- Parameters:
resourceRelationshipIds- list of resource relationships- Throws:
NullArgumentException-resourceRelationshipIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderResourceRelationshipResults
void orderResourceRelationshipResults(ResourceRelationshipSearchOrder resourceRelationshipSearchOrder) Specify an ordering to the search results.- Parameters:
resourceRelationshipSearchOrder- relationship search order- Throws:
NullArgumentException-resourceRelationshipSearchOrderisnullUnsupportedException-resourceRelationshipSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getResourceRelationshipSearchRecord
ResourceRelationshipSearchRecord getResourceRelationshipSearchRecord(Type resourceRelationshipSearchRecordType) throws OperationFailedException Gets the resource relationship search record corresponding to the given relationship search recordType.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 record
- Throws:
NullArgumentException-resourceRelationshipSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(resourceRelationshipSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-