|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.filters.AdvancedBusinessQueryFilterObjectFactory
public class AdvancedBusinessQueryFilterObjectFactory
This class extends the base factory class to add run-time specific functionality.
Field Summary | |
---|---|
protected com.sas.iquery.metadata.business.DataItem |
_dataItem
The OLAP DataItem this factory should focus on when constructing filter model objects. |
Fields inherited from class com.sas.dataselectors.filters.BaseAdvancedFilterObjectFactory |
---|
_businessQuery, ALT_CONTAINS, ALT_LIKE, ALT_NOT_CONTAINS, ALT_NOT_LIKE, CONTAINS, DOES_NOT_CONTAIN, IS_BETWEEN_TIME, IS_IN_LIST_OR_EQUAL_TO, IS_NOT_IN_LIST_OR_EQUAL_TO, LAST_N_PERIODS, LIKE, MONTH_TO_DATE, NEXT_N_PERIODS, OLAP_EQUAL_TO, OLAP_IS_NOT_EQUAL_TO, OLAP_RELATIVE_TIME, olapTimeBasedFilterAdapter, RB_KEY, RB_KEY2, YEAR_TO_DATE |
Fields inherited from class com.sas.dataselectors.filters.BaseFilterObjectFactory |
---|
_baseModel, _businessModel, _dataService, _scope, CODE_BLOCK, DEFAULT_GOVERNING_LIMIT, DEFAULT_SCOPE, environment, IS_AFTER, IS_AFTER_OR_EQUAL, IS_BEFORE, IS_BEFORE_OR_EQUAL, IS_BETWEEN, IS_EQUALS, IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL, IS_IN_LIST, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL, IS_NOT_BETWEEN, IS_NOT_EQUALS, IS_NOT_IN_LIST, IS_NOT_NULL, IS_NULL |
Constructor Summary | |
---|---|
AdvancedBusinessQueryFilterObjectFactory(com.sas.iquery.metadata.business.BusinessQuery businessQuery,
FilterBaseModelData baseModel)
Constructs a new factory from the given BusinessQuery object. |
|
AdvancedBusinessQueryFilterObjectFactory(com.sas.iquery.metadata.business.BusinessQuery businessQuery,
FilterBaseModelData baseModel,
com.sas.iquery.metadata.business.DataItem dataItem)
Constructs a new factory from the given BusinessQuery object. |
Method Summary | |
---|---|
protected java.util.List |
getAlternateConditions()
|
java.util.List |
getEligibleFilterItems(boolean includeBaseModels)
Produces a list of objects from the initial model to construct our filter items from. |
FilterQualifierListInterface |
getQualifiers(java.util.List itemList)
Returns a FilterQualifierListInterface instance that defines the list of all qualifiers that should be available. |
FilterConditionListInterface |
getRelationalConditions(com.sas.iquery.metadata.expr.ExpressionInterface expression,
boolean forcedFormatting)
Returns the condition list appropriate for the given expression assuming it is for relational data. |
Field Detail |
---|
protected com.sas.iquery.metadata.business.DataItem _dataItem
Constructor Detail |
---|
public AdvancedBusinessQueryFilterObjectFactory(com.sas.iquery.metadata.business.BusinessQuery businessQuery, FilterBaseModelData baseModel)
businessQuery
- the query this factory will deal withpublic AdvancedBusinessQueryFilterObjectFactory(com.sas.iquery.metadata.business.BusinessQuery businessQuery, FilterBaseModelData baseModel, com.sas.iquery.metadata.business.DataItem dataItem)
businessQuery
- the query this factory will deal withdataItem
- the OLAP DataItem to focus onMethod Detail |
---|
public java.util.List getEligibleFilterItems(boolean includeBaseModels)
getEligibleFilterItems
in class BaseAdvancedFilterObjectFactory
includeBaseModels
- is not used here
BaseAdvancedFilterObjectFactory.getEligibleFilterItems(boolean)
public FilterQualifierListInterface getQualifiers(java.util.List itemList)
getQualifiers
in class BaseAdvancedFilterObjectFactory
itemList
- a list of FilterItems for which the returned qualifiers should be valid
public FilterConditionListInterface getRelationalConditions(com.sas.iquery.metadata.expr.ExpressionInterface expression, boolean forcedFormatting)
getRelationalConditions
in class BaseAdvancedFilterObjectFactory
expression
- the expression to examineforcedFormatting
- flag to specify if forced formatting should be considered while constructing the condition list
protected java.util.List getAlternateConditions()
getAlternateConditions
in class BaseFilterObjectFactory
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |