public interface SubscriptionSearch extends OsidSearch
The search interface for governing subscription searches.
Modifier and Type | Method and Description |
---|---|
SubscriptionSearchRecord |
getSubscriptionSearchRecord(Type subscriptionSearchRecordType)
Gets the subscription search record corresponding to the given
subscription search record
Type. |
void |
orderSubscriptionResults(SubscriptionSearchOrder subscriptionSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongSubscriptions(IdList subscriptionIds)
Execute this search among the given list of subscriptions.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongSubscriptions(IdList subscriptionIds)
subscriptionIds
- list of subscriptionsNullArgumentException
- subscriptionIds
is null
mandatory
- This method must be implemented. void orderSubscriptionResults(SubscriptionSearchOrder subscriptionSearchOrder)
subscriptionSearchOrder
- subscription search orderNullArgumentException
- subscriptionSearchOrder
is null
UnsupportedException
- subscriptionSearchOrder
is not of this servicemandatory
- This method must be implemented. SubscriptionSearchRecord getSubscriptionSearchRecord(Type subscriptionSearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.subscriptionSearchRecordType
- a subscription search record typeNullArgumentException
-
subscriptionSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(subscriptionSearchRecordType)
is
false
mandatory
- This method must be implemented.