Interface MapSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing map searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetMapSearchRecord(Type mapSearchRecordType) Gets the map search record corresponding to the given map search recordType.voidorderMapResults(MapSearchOrder mapSearchOrder) Specify an ordering to the search results.voidsearchAmongMaps(IdList mapIds) Execute this search among the given list of maps.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
-
searchAmongMaps
Execute this search among the given list of maps.- Parameters:
mapIds- list of maps- Throws:
NullArgumentException-mapIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderMapResults
Specify an ordering to the search results.- Parameters:
mapSearchOrder- map search order- Throws:
NullArgumentException-mapSearchOrderisnullUnsupportedException-mapSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getMapSearchRecord
Gets the map search record corresponding to the given map search recordType. This method must be used to retrieve an object implementing the requested record interface along with all of its ancestor interfaces.- Parameters:
mapSearchRecordType- a map search record type- Returns:
- the map search record
- Throws:
NullArgumentException-mapSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(mapSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-