|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.filters.BusinessModelFilterItemToAdvancedLogicListAdapter
public class BusinessModelFilterItemToAdvancedLogicListAdapter
This class extends the simple logic list base to add BusinessModel specific behavior.
| Field Summary | |
|---|---|
protected FilterBaseModelData |
_baseModel
A wrapper for the native model. |
protected SimpleFilterLogicTreeInterface |
_filterLogicTree
The filter logic tree. |
protected FilterObjectFactoryInterface |
_filterObjectFactory
The filter object factory used by the adapter when converting between the native model and the filter model. |
| Fields inherited from class com.sas.dataselectors.filters.AbstractSimpleLogicListAdapterBase |
|---|
_filterItemList, _filterItemSimpleList |
| Constructor Summary | |
|---|---|
BusinessModelFilterItemToAdvancedLogicListAdapter(FilterBaseModelData baseModel,
com.sas.iquery.metadata.business.FilterItem initialFilter,
int environment)
Constructs a new adapter from the specified model and initial filter item. |
|
BusinessModelFilterItemToAdvancedLogicListAdapter(FilterBaseModelData baseModel,
int environment)
Constructs a new adapter from the specified model and default object factory. |
|
BusinessModelFilterItemToAdvancedLogicListAdapter(FilterObjectFactoryInterface filterObjectFactory,
FilterBaseModelData baseModel,
int environment)
Constructs a new adapter from the specified model and object factory. |
|
| Method Summary | |
|---|---|
boolean |
commitChanges()
Commit changed data to the native model. |
com.sas.iquery.metadata.business.BusinessModel |
getBusinessModel()
Returns the native filter model for the adapter. |
SimpleFilterLogicTreeInterface |
getFilterLogicTree()
Returns the filter logic tree. |
FilterObjectFactoryInterface |
getFilterObjectFactory()
Returns the filter object factory. |
void |
setBusinessModel(com.sas.iquery.metadata.business.BusinessModel businessModel)
Sets the native filter model for the adapter. |
void |
setEnvironment(int environment)
Sets the operating environment to the specified value. |
void |
setFilterObjectFactory(FilterObjectFactoryInterface filterObjectFactory)
Sets the filter object factory. |
| Methods inherited from class com.sas.dataselectors.filters.AbstractSimpleLogicListAdapterBase |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, getFilterItemList, getFilterList, getFilterLogicList, getRootFilterObject, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, setFilterItemList, setFilterList, setFilterList, size, subList, toArray, toArray |
| Methods inherited from class com.sas.dataselectors.filters.DefaultFilterLogicList |
|---|
getFilterListDescription, getFilterListLabel, setFilterListDescription, setFilterListLabel, toString |
| Field Detail |
|---|
protected FilterBaseModelData _baseModel
protected FilterObjectFactoryInterface _filterObjectFactory
protected SimpleFilterLogicTreeInterface _filterLogicTree
| Constructor Detail |
|---|
public BusinessModelFilterItemToAdvancedLogicListAdapter(FilterBaseModelData baseModel,
com.sas.iquery.metadata.business.FilterItem initialFilter,
int environment)
businessModel - the model for the adapterinitialFilter - the initial filter from the native model to work withenvironment - the operating environment (e.g. Swing,JSP)
public BusinessModelFilterItemToAdvancedLogicListAdapter(FilterBaseModelData baseModel,
int environment)
businessModel - the model for the adapterenvironment - the operating environment (e.g. Swing,JSP)
public BusinessModelFilterItemToAdvancedLogicListAdapter(FilterObjectFactoryInterface filterObjectFactory,
FilterBaseModelData baseModel,
int environment)
filterObjectFactory - the factory used during conversionsbusinessModel - the model for the adapterenvironment - the operating environment (e.g. Swing,JSP)| Method Detail |
|---|
public SimpleFilterLogicTreeInterface getFilterLogicTree()
public boolean commitChanges()
commitChanges in interface SimpleLogicListInterfacecommitChanges in class AbstractSimpleLogicListAdapterBasepublic com.sas.iquery.metadata.business.BusinessModel getBusinessModel()
public void setBusinessModel(com.sas.iquery.metadata.business.BusinessModel businessModel)
businessModel - the new model for the adapterpublic FilterObjectFactoryInterface getFilterObjectFactory()
public void setFilterObjectFactory(FilterObjectFactoryInterface filterObjectFactory)
filterObjectFactory - the new filter object factory to usepublic void setEnvironment(int environment)
environment - The environment to set. Valid values are defined in com.sas.util.OperatingEnvironmentInterface.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||