Interface EndpointSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing endpoint searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetEndpointSearchRecord(Type endpointSearchRecordType) Gets the endpoint search record corresponding to the given endpoint search recordType.voidorderEndpointResults(EndpointSearchOrder endpointSearchOrder) Specify an ordering to the search results.voidsearchAmongEndpoints(IdList endpointIds) Execute this search among the given list of endpoints.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
-
searchAmongEndpoints
Execute this search among the given list of endpoints.- Parameters:
endpointIds- list of endpoints- Throws:
NullArgumentException-endpointIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderEndpointResults
Specify an ordering to the search results.- Parameters:
endpointSearchOrder- endpoint search order- Throws:
NullArgumentException-endpointSearchOrderisnullUnsupportedException-endpointSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getEndpointSearchRecord
EndpointSearchRecord getEndpointSearchRecord(Type endpointSearchRecordType) throws OperationFailedException Gets the endpoint search record corresponding to the given endpoint search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
endpointSearchRecordType- a endpoint search record type- Returns:
- the endpoint search record
- Throws:
NullArgumentException-endpointSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(endpointSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-