Interface VaultSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing vault searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetVaultSearchRecord(Type vaultSearchRecordType) Gets the vault search record corresponding to the given vault search recordType.voidorderVaultResults(VaultSearchOrder vaultSearchOrder) Specify an ordering to the search results.voidsearchAmongVaults(IdList vaultIds) Execute this search among the given list of vaults.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
-
searchAmongVaults
Execute this search among the given list of vaults.- Parameters:
vaultIds- list of vaults- Throws:
NullArgumentException-vaultIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderVaultResults
Specify an ordering to the search results.- Parameters:
vaultSearchOrder- vault search order- Throws:
NullArgumentException-vaultSearchOrderisnullUnsupportedException-vaultSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getVaultSearchRecord
Gets the vault search record corresponding to the given vault search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
vaultSearchRecordType- a vault search record type- Returns:
- the vault search record
- Throws:
NullArgumentException-vaultSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(vaultSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-