|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.InformationMapToFilterItemListAdapter
public class InformationMapToFilterItemListAdapter
This adapter constructs a filter item list from an InformationMap object. The list of filter items is then used throughout the filter model as the primary factor in a filter.
Field Summary |
---|
Fields inherited from class com.sas.dataselectors.filters.AbstractFilterItemListBase |
---|
_filterItemLookup |
Constructor Summary | |
---|---|
InformationMapToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory,
com.sas.iquery.metadata.business.InformationMap map)
Constructs a new adapter using the given factory and model. |
|
InformationMapToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory,
com.sas.iquery.metadata.business.InformationMap map,
com.sas.iquery.dataservices.IQDataServices dataService)
Constructs a new adapter with the given factory, native model, and service provider. |
Method Summary | |
---|---|
com.sas.iquery.dataservices.IQDataServices |
getDataService()
Return the IQ data service provider in use by this adapter. |
com.sas.iquery.metadata.business.InformationMap |
getInformationMap()
Returns the native model in use by this adapter. |
protected com.sas.iquery.dataservices.IQDataServices |
initDataService(com.sas.iquery.metadata.business.InformationMap map)
Constructs and returns a new IQ Data Services object from the given model. |
void |
refresh()
Refresh the list of filters items from the native model. |
void |
setDataService(com.sas.iquery.dataservices.IQDataServices dataService)
Sets the IQ data service provider this adapter will use. |
void |
setInformationMap(com.sas.iquery.metadata.business.InformationMap map)
Sets the native model used by this adapter. |
Methods inherited from class com.sas.dataselectors.filters.AbstractFilterItemListBase |
---|
getFilterItemList, getFilterItemListLabel, getFilterItemLookupMap, lookupFilterItem, setFilterItemList, setFilterItemListLabel, setFilterItemLookupMap |
Constructor Detail |
---|
public InformationMapToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory, com.sas.iquery.metadata.business.InformationMap map)
filterObjectFactory
- the object factory to convert between the native model and filter modelmap
- the model to draw data frompublic InformationMapToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory, com.sas.iquery.metadata.business.InformationMap map, com.sas.iquery.dataservices.IQDataServices dataService)
filterObjectFactory
- the object factory to convert between the native model and filter modelmap
- the model to draw data fromdataService
- the IQ service provider used to gather additional data needed by the filter modelMethod Detail |
---|
protected com.sas.iquery.dataservices.IQDataServices initDataService(com.sas.iquery.metadata.business.InformationMap map)
map
- the native model
public void refresh()
public com.sas.iquery.metadata.business.InformationMap getInformationMap()
public void setInformationMap(com.sas.iquery.metadata.business.InformationMap map)
map
- the native model this adapter should usepublic com.sas.iquery.dataservices.IQDataServices getDataService()
public void setDataService(com.sas.iquery.dataservices.IQDataServices dataService)
dataService
- the IQ data service provider
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |