|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.BusinessModelToFilterableListModelAdapter
public class BusinessModelToFilterableListModelAdapter
The BusinessModelToFilterableListModelAdapter constructs the list of filterable items for the given BusinessModel interface as a data source.
Field Summary |
---|
Fields inherited from class com.sas.dataselectors.filters.AbstractFilterableListModel |
---|
_dataSource, _filterableItems, _initialFilter, _initialized, _locale, environment |
Constructor Summary | |
---|---|
BusinessModelToFilterableListModelAdapter()
Constructs a new adapter using the default properties. |
|
BusinessModelToFilterableListModelAdapter(com.sas.iquery.metadata.business.BusinessModel dataSource)
Constructs a new adapter from the specified native model. |
|
BusinessModelToFilterableListModelAdapter(com.sas.iquery.metadata.business.BusinessModel dataSource,
java.lang.Object initialFilter)
Constructs a new adapter from the specified native model and initial filter. |
Method Summary | |
---|---|
protected FilterableItemInterface |
createFilterableItem(java.lang.Object filterable)
Creates an instance of FilterableItemInterface for the given object from the native filter model. |
protected java.util.List |
getFilterableObjects()
Returns the list of native filter model objects that should be used for filterable items in the filter model. |
Methods inherited from class com.sas.dataselectors.filters.AbstractFilterableListModel |
---|
cancel, clearAll, clearFilter, commitChanges, createFilterableItemList, getEnvironment, getFilterableItem, getFilterableItems, getInitialFilter, getLocale, getModel, setEnvironment, setInitialFilter, setLocale, setModel |
Constructor Detail |
---|
public BusinessModelToFilterableListModelAdapter()
public BusinessModelToFilterableListModelAdapter(com.sas.iquery.metadata.business.BusinessModel dataSource)
dataSource
- the native modelpublic BusinessModelToFilterableListModelAdapter(com.sas.iquery.metadata.business.BusinessModel dataSource, java.lang.Object initialFilter)
dataSource
- the native modelinitialFilter
- the initial filterMethod Detail |
---|
protected java.util.List getFilterableObjects()
getFilterableObjects
in class AbstractFilterableListModel
AbstractFilterableListModel.getFilterableObjects()
protected FilterableItemInterface createFilterableItem(java.lang.Object filterable)
createFilterableItem
in class AbstractFilterableListModel
filterable
- the native model object to process
AbstractFilterableListModel.createFilterableItem(Object)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |