Interface AccountSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing account searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAccountSearchRecord(Type accountSearchRecordType) Gets the account search record corresponding to the given account search recordType.voidorderAccountResults(AccountSearchOrder accountSearchOrder) Specify an ordering to the search results.voidsearchAmongAccounts(IdList accountIds) Execute this search among the given list of accounts.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
-
searchAmongAccounts
Execute this search among the given list of accounts.- Parameters:
accountIds- list of accounts- Throws:
NullArgumentException-accountIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAccountResults
Specify an ordering to the search results.- Parameters:
accountSearchOrder- account search order- Throws:
NullArgumentException-accountSearchOrderisnullUnsupportedException-accountSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAccountSearchRecord
AccountSearchRecord getAccountSearchRecord(Type accountSearchRecordType) throws OperationFailedException Gets the account search record corresponding to the given account search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
accountSearchRecordType- an account search record type- Returns:
- the account search record
- Throws:
NullArgumentException-accountSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(accountSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-