Interface CreditSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing credit searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCreditSearchRecord(Type creditSearchRecordType) Gets the record corresponding to the given credit search recordType.voidorderCreditResults(CreditSearchOrder creditSearchOrder) Specify an ordering to the search results.voidsearchAmongCredits(IdList creditIds) Execute this search among the given list of credits.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
-
searchAmongCredits
Execute this search among the given list of credits.- Parameters:
creditIds- list of credits- Throws:
NullArgumentException-creditIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCreditResults
Specify an ordering to the search results.- Parameters:
creditSearchOrder- credit search order- Throws:
NullArgumentException-creditSearchOrderisnullUnsupportedException-creditSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCreditSearchRecord
CreditSearchRecord getCreditSearchRecord(Type creditSearchRecordType) throws OperationFailedException Gets the record corresponding to the given credit search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
creditSearchRecordType- a credit search record type- Returns:
- the credit search record
- Throws:
NullArgumentException-creditSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(creditSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-