Interface NodeSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing node searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetNodeSearchRecord(Type nodeSearchRecordType) Gets the node search record corresponding to the given node search recordType.voidorderNodeResults(NodeSearchOrder nodeSearchOrder) Specify an ordering to the search results.voidsearchAmongNodes(IdList nodeIds) Execute this search among the given list of nodes.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
-
searchAmongNodes
Execute this search among the given list of nodes.- Parameters:
nodeIds- list of nodes- Throws:
NullArgumentException-nodeIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderNodeResults
Specify an ordering to the search results.- Parameters:
nodeSearchOrder- node search order- Throws:
NullArgumentException-nodeSearchOrderisnullUnsupportedException-nodeSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getNodeSearchRecord
Gets the node search record corresponding to the given node search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
nodeSearchRecordType- a node search record type- Returns:
- the node search record
- Throws:
NullArgumentException-nodeSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(nodeSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-