public interface DemographicSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
DemographicQueryInspector |
getDemographicQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
DemographicList |
getDemographics()
Gets the
DemographicList resulting from a search. |
DemographicSearchResultsRecord |
getDemographicSearchResultsRecord(Type demographicSearchRecordType)
Gets the demographic search results record corresponding to the given
demographic search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
DemographicList getDemographics()
DemographicList
resulting from a search.IllegalStateException
- list has already been retrievedmandatory
- This method must be implemented. DemographicQueryInspector getDemographicQueryInspector()
mandatory
- This method must be implemented. DemographicSearchResultsRecord getDemographicSearchResultsRecord(Type demographicSearchRecordType) throws OperationFailedException, PermissionDeniedException
Type.
This method must be
used to retrieve an object implementing the requested record.demographicSearchRecordType
- a demographic search record typeNullArgumentException
-
demographicSearchRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(demographicSearchRecordType)
is
false
mandatory
- This method must be implemented.