Interface CredentialSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing credential searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCredentialSearchRecord(Type credentialSearchRecordType) Gets the credential search record corresponding to the given credential search recordType.This method is used to retrieve an object implementing the requested record.voidorderCredentialResults(CredentialSearchOrder credentialSearchOrder) Specify an ordering to the search results.voidsearchAmongCredentials(IdList credentialIds) Execute this search among the given list of credentials.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
-
searchAmongCredentials
Execute this search among the given list of credentials.- Parameters:
credentialIds- list of credentials- Throws:
NullArgumentException-credentialIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCredentialResults
Specify an ordering to the search results.- Parameters:
credentialSearchOrder- credential search order- Throws:
NullArgumentException-credentialSearchOrderisnullUnsupportedException-credentialSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCredentialSearchRecord
CredentialSearchRecord getCredentialSearchRecord(Type credentialSearchRecordType) throws OperationFailedException Gets the credential search record corresponding to the given credential search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
credentialSearchRecordType- a credential search record type- Returns:
- the credential search record
- Throws:
NullArgumentException-credentialSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(credentialSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-