Interface GraphSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing graph searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetGraphSearchRecord(Type graphSearchRecordType) Gets the graph search record corresponding to the given graph search recordType.voidorderGraphResults(GraphSearchOrder graphSearchOrder) Specify an ordering to the search results.voidsearchAmongGraphs(IdList graphIds) Execute this search among the given list of graphs.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
-
searchAmongGraphs
Execute this search among the given list of graphs.- Parameters:
graphIds- list of graphs- Throws:
NullArgumentException-graphIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderGraphResults
Specify an ordering to the search results.- Parameters:
graphSearchOrder- graph search order- Throws:
NullArgumentException-graphSearchOrderisnullUnsupportedException-graphSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getGraphSearchRecord
Gets the graph search record corresponding to the given graph search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
graphSearchRecordType- a graph search record type- Returns:
- the graph search record
- Throws:
NullArgumentException-graphSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(graphSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-