Interface LocationSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing location searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetLocationSearchRecord(Type locationSearchRecordType) Gets the record corresponding to the given location search recordType.voidorderLocationResults(LocationSearchOrder locationSearchOrder) Specify an ordering to the search results.voidsearchAmongLocations(IdList locationIds) Execute this search among the given list of locations.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
-
searchAmongLocations
Execute this search among the given list of locations.- Parameters:
locationIds- list of locations- Throws:
NullArgumentException-locationIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderLocationResults
Specify an ordering to the search results.- Parameters:
locationSearchOrder- location search order- Throws:
NullArgumentException-locationSearchOrderisnullUnsupportedException-locationSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getLocationSearchRecord
LocationSearchRecord getLocationSearchRecord(Type locationSearchRecordType) throws OperationFailedException Gets the record corresponding to the given location search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
locationSearchRecordType- a location search record type- Returns:
- the location search record
- Throws:
NullArgumentException-locationSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(locationSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-