|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.BusinessQueryToFilterItemListAdapter
public class BusinessQueryToFilterItemListAdapter
This adapter constructs a filter item list from a BusinessQuery 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 | |
---|---|
BusinessQueryToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory,
com.sas.iquery.metadata.business.BusinessQuery businessQuery)
Constructs a new adapter using the given factory and model. |
|
BusinessQueryToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory,
com.sas.iquery.metadata.business.BusinessQuery businessQuery,
com.sas.iquery.dataservices.IQDataServices dataService)
Constructs a new adapter with the given factory, native model, and service provider. |
Method Summary | |
---|---|
com.sas.iquery.metadata.business.BusinessQuery |
getBusinessQuery()
Returns the native model in use by this adapter. |
com.sas.iquery.dataservices.IQDataServices |
getDataService()
Return the IQ data service provider in use by this adapter. |
protected com.sas.iquery.dataservices.IQDataServices |
initDataService(com.sas.iquery.metadata.business.BusinessQuery businessQuery)
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 |
setBusinessQuery(com.sas.iquery.metadata.business.BusinessQuery businessQuery)
Sets the native model used by this adapter. |
void |
setDataService(com.sas.iquery.dataservices.IQDataServices dataService)
Sets the IQ data service provider this adapter will use. |
Methods inherited from class com.sas.dataselectors.filters.AbstractFilterItemListBase |
---|
getFilterItemList, getFilterItemListLabel, getFilterItemLookupMap, lookupFilterItem, setFilterItemList, setFilterItemListLabel, setFilterItemLookupMap |
Constructor Detail |
---|
public BusinessQueryToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory, com.sas.iquery.metadata.business.BusinessQuery businessQuery)
filterObjectFactory
- the object factory to convert between the native model and filter modelbusinessQuery
- the model to draw data frompublic BusinessQueryToFilterItemListAdapter(FilterObjectFactoryInterface filterObjectFactory, com.sas.iquery.metadata.business.BusinessQuery businessQuery, com.sas.iquery.dataservices.IQDataServices dataService)
filterObjectFactory
- the object factory to convert between the native model and filter modelbusinessQuery
- 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.BusinessQuery businessQuery)
businessQuery
- the native model
public com.sas.iquery.metadata.business.BusinessQuery getBusinessQuery()
public void setBusinessQuery(com.sas.iquery.metadata.business.BusinessQuery businessQuery)
businessQuery
- 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 providerpublic void refresh()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |