public interface ActivitySearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
ActivityList |
getActivities()
Gets the activity list resulting from a search.
|
ActivityQueryInspector |
getActivityQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
ActivitySearchResultsRecord |
getActivitySearchResultsRecord(Type activitySearchRecordType)
Gets the activity search results record corresponding to the given
activity search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
ActivityList getActivities()
IllegalStateException
- the activity list has already
been retrievedmandatory
- This method must be implemented. ActivityQueryInspector getActivityQueryInspector()
mandatory
- This method must be implemented. ActivitySearchResultsRecord getActivitySearchResultsRecord(Type activitySearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.activitySearchRecordType
- a activity search record typeNullArgumentException
- activitySearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(activitySearchRecordType)
is
false
mandatory
- This method must be implemented.