Interface IntersectionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing intersection searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetIntersectionSearchRecord(Type intersectionSearchRecordType) Gets the intersection search record corresponding to the given intersection search recordType.This method is used to retrieve an object implementing the requested record.voidorderIntersectionResults(IntersectionSearchOrder intersectionSearchOrder) Specify an ordering to the search results.voidsearchAmongIntersections(IdList intersectionIds) Execute this search among the given list of intersections.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
-
searchAmongIntersections
Execute this search among the given list of intersections.- Parameters:
intersectionIds- list of intersections- Throws:
NullArgumentException-intersectionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderIntersectionResults
Specify an ordering to the search results.- Parameters:
intersectionSearchOrder- intersection search order- Throws:
NullArgumentException-intersectionSearchOrderisnullUnsupportedException-intersectionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getIntersectionSearchRecord
IntersectionSearchRecord getIntersectionSearchRecord(Type intersectionSearchRecordType) throws OperationFailedException Gets the intersection search record corresponding to the given intersection search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
intersectionSearchRecordType- a intersection search record type- Returns:
- the intersection search record
- Throws:
NullArgumentException-intersectionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(intersectionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-