Interface PathSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing path searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPathSearchRecord(Type pathSearchRecordType) Gets the path search record corresponding to the given path search recordType.voidorderPathResults(PathSearchOrder pathSearchOrder) Specify an ordering to the search results.voidsearchAmongPaths(IdList pathIds) Execute this search among the given list of paths.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
-
searchAmongPaths
Execute this search among the given list of paths.- Parameters:
pathIds- list of paths- Throws:
NullArgumentException-pathIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPathResults
Specify an ordering to the search results.- Parameters:
pathSearchOrder- path search order- Throws:
NullArgumentException-pathSearchOrderisnullUnsupportedException-pathSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPathSearchRecord
Gets the path search record corresponding to the given path search recordType. This method is used to retrieve an object implementing the requested record .- Parameters:
pathSearchRecordType- a path search record type- Returns:
- the path search record
- Throws:
NullArgumentException-pathSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(pathSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-