Interface AssetSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing asset searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssetSearchRecord(Type assetSearchRecordType) Gets the asset search record corresponding to the given asset search recordType.voidorderAssetResults(AssetSearchOrder assetSearchOrder) Specify an ordering to the search results.voidsearchAmongAssets(IdList assetIds) Execute this search among the given list of assets.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
-
searchAmongAssets
Execute this search among the given list of assets.- Parameters:
assetIds- list of assetIds- Throws:
NullArgumentException-assetIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAssetResults
Specify an ordering to the search results.- Parameters:
assetSearchOrder- asset search order- Throws:
NullArgumentException-assetSearchOrderisnullUnsupportedException-assetSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAssetSearchRecord
Gets the asset search record corresponding to the given asset search recordType. This method used to retrieve an object implementing the requested record.- Parameters:
assetSearchRecordType- an asset search record type- Returns:
- the asset search record
- Throws:
NullArgumentException-assetSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assetSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-