public interface ResourceSearch extends OsidSearch
The search interface for governing resource searches.
Modifier and Type | Method and Description |
---|---|
ResourceSearchRecord |
getResourceSearchRecord(Type resourceSearchRecordType)
Gets the resource search record corresponding to the given resource
search record
Type. |
void |
orderResourceResults(ResourceSearchOrder resourceSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongResources(IdList resourceIds)
Execute this search among the given list of resources.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongResources(IdList resourceIds)
resourceIds
- list of resource Ids
NullArgumentException
- resourceIds
is
null
mandatory
- This method must be implemented. void orderResourceResults(ResourceSearchOrder resourceSearchOrder)
resourceSearchOrder
- resource search orderNullArgumentException
- order
is
null
UnsupportedException
- order
is not of
this servicemandatory
- This method must be implemented. ResourceSearchRecord getResourceSearchRecord(Type resourceSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.resourceSearchRecordType
- a resource search record typeNullArgumentException
- resourceSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordTypeType(resourceSearchRecordType)
is
false
mandatory
- This method must be implemented.