Interface SubscriptionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing subscription searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetSubscriptionSearchRecord(Type subscriptionSearchRecordType) Gets the subscription search record corresponding to the given subscription search recordType.This method is used to retrieve an object implementing the requested record.voidorderSubscriptionResults(SubscriptionSearchOrder subscriptionSearchOrder) Specify an ordering to the search results.voidsearchAmongSubscriptions(IdList subscriptionIds) Execute this search among the given list of subscriptions.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
-
searchAmongSubscriptions
Execute this search among the given list of subscriptions.- Parameters:
subscriptionIds- list of subscriptions- Throws:
NullArgumentException-subscriptionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderSubscriptionResults
Specify an ordering to the search results.- Parameters:
subscriptionSearchOrder- subscription search order- Throws:
NullArgumentException-subscriptionSearchOrderisnullUnsupportedException-subscriptionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getSubscriptionSearchRecord
SubscriptionSearchRecord getSubscriptionSearchRecord(Type subscriptionSearchRecordType) throws OperationFailedException Gets the subscription search record corresponding to the given subscription search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
subscriptionSearchRecordType- a subscription search record type- Returns:
- the subscription search record
- Throws:
NullArgumentException-subscriptionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(subscriptionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-