***  This class is subject to change   ***

com.sas.dataselectors.filters
Class AdvancedBusinessQueryFilterObjectFactory

java.lang.Object
  |
  +--com.sas.dataselectors.filters.BaseFilterObjectFactory
        |
        +--com.sas.dataselectors.filters.BaseAdvancedFilterObjectFactory
              |
              +--com.sas.dataselectors.filters.AdvancedBusinessQueryFilterObjectFactory
All Implemented Interfaces:
FilterObjectFactoryInterface

public class AdvancedBusinessQueryFilterObjectFactory
extends BaseAdvancedFilterObjectFactory

This class extends the base factory class to add run-time specific functionality.


Field Summary
 
Fields inherited from class com.sas.dataselectors.filters.BaseAdvancedFilterObjectFactory
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
CODE_BLOCK, DEFAULT_GOVERNING_LIMIT, 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(BusinessQuery businessQuery)
          Constructs a new factory from the given BusinessQuery object.
AdvancedBusinessQueryFilterObjectFactory(BusinessQuery businessQuery, DataItem dataItem)
          Constructs a new factory from the given BusinessQuery object.
 
Method Summary
protected  List getAlternateConditions()
           
 List getEligibleFilterItems(boolean includeBaseModels)
          Produces a list of objects from the initial model to construct our filter items from.
 FilterQualifierListInterface getQualifiers(List itemList)
          Returns a FilterQualifierListInterface instance that defines the list of all qualifiers that should be available.
 FilterConditionListInterface getRelationalConditions(ExpressionInterface expression, boolean forcedFormatting)
          Returns the condition list appropriate for the given expression assuming it is for relational data.
 
Methods inherited from class com.sas.dataselectors.filters.BaseAdvancedFilterObjectFactory
convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, convertToFilterItem, findMatchingFilterItem, getActualFilterValues, getCharacterQualifiedItem, getConditionFromRB, getConditionFromRB, getConditionFromRB, getConditionFromRB, getConditionFromRB, getConditionList, getDefaultOLAPMeasureConditions, getDefaultOLAPNonMeasureConditions, getFilterableItems, getMembersForOLAPItem, getMembersForOLAPItem, getNumericQualifiedItem, getOLAPConditions, getOLAPTimeBasedConditions, getOLAPTimeBasedFilterAdapter, getQualifiedItem, getRelationalCharacterConditions, getRelationalConditions, getRelationalNumericConditions, getRelationalTimeBasedConditions, getRelationalTimeConditions, newConditionalExpression, newConditionalFunctionExpression, newConditionalFunctionExpression, newFilterExpression, newRelationalFilterExpression, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, setLocale, updateCompoundFilter, updateSimpleFilterFromTestNode
 
Methods inherited from class com.sas.dataselectors.filters.BaseFilterObjectFactory
addFilterItem, clearFilterCondition, convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, convertToFilterableItem, createExpressionFromNative, createFilterItemFromNative, createFilterQualifierFromNative, createFilterQualifierListFromNativeList, createFilterValueFromNative, createFilterValueFromNative, createFilterValueFromNative, createFilterValueFromNative, createFilterValueList, createFilterValueListFromNativeList, createJavaDateFromSASDate, createJavaDateFromSASDateTime, createJavaDateFromSASTime, createStringExpressionList, createStringExpressionList, enforceBooleanPrecedence, findMatchingConditionObject, findMatchingConditionObject, findMatchingConditionObject, findMatchingFilterQualifier, findMatchingFilterValue, getAdjustedFilterItemType, getComparisonOperator, getDataItems, getDataServiceValues, getDateOrNullFromNative, getEnvironment, getExpressionListFromTestNodeValues, getFilterItemSASFormatText, getFilterStep, getItemType, getLevelProperties, getLevelProperties, getLevelProperties, getLocale, getMaxOutputObservations, getMemberListFromTestNodeQualifiers, getMetadataInterface, getMetadataInterface, getOLAPMeasureConditionList, getOLAPMemberConditionList, getRelationalConditions, getRelationalConditions, getRelativeTimeFilterDescription, getServerProperties, getStringExpressionListFromTestNodeValues, initDataService, isOLAP, isTimeDimension, newCompoundConditionalExpression, newCompoundFilter, newCompoundStep, newConstantExpression, newCoumpoundFilter, newFilterDataValue, newFilterDataValue, newFilterItem, newFilterStep, newFilterValue, newStringExpression, newStringExpression, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, newTestNode, removeFilterItem, setEnvironment, setFilterItemProperties, setMaxOutputObservations, updateCompoundConditionalFilter, updateCompoundStep, updateSimpleFilter, updateSimpleFilterFromTestNode, updateSimpleFilterFromTestNode, wrapValueListDates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
Constructor Detail

AdvancedBusinessQueryFilterObjectFactory

public AdvancedBusinessQueryFilterObjectFactory(BusinessQuery businessQuery)
Constructs a new factory from the given BusinessQuery object.
Parameters:
businessQuery - the query this factory will deal with

AdvancedBusinessQueryFilterObjectFactory

public AdvancedBusinessQueryFilterObjectFactory(BusinessQuery businessQuery,
                                                DataItem dataItem)
Constructs a new factory from the given BusinessQuery object. The specified DataItem will be used, if given, to determine the properties of some of the objects created by the factory.
Parameters:
businessQuery - the query this factory will deal with
dataItem - the OLAP DataItem to focus on
Method Detail

getEligibleFilterItems

public List getEligibleFilterItems(boolean includeBaseModels)
Produces a list of objects from the initial model to construct our filter items from.
Overrides:
getEligibleFilterItems in class BaseAdvancedFilterObjectFactory
Parameters:
includeBaseModels - is not used here
Returns:
the list of objects eligible to make filter items from
See Also:
BaseAdvancedFilterObjectFactory.getEligibleFilterItems(boolean)

getQualifiers

public FilterQualifierListInterface getQualifiers(List itemList)
Returns a FilterQualifierListInterface instance that defines the list of all qualifiers that should be available. The list is derived from the BusinessQuery and from the items in the list (although currently, the list is ignored).
Overrides:
getQualifiers in class BaseAdvancedFilterObjectFactory
Parameters:
itemList - a list of FilterItems for which the returned qualifiers should be valid
Returns:
a FilterQualifierListInterface instance defining the available qualifiers

getRelationalConditions

public FilterConditionListInterface getRelationalConditions(ExpressionInterface expression,
                                                            boolean forcedFormatting)
Returns the condition list appropriate for the given expression assuming it is for relational data.
Overrides:
getRelationalConditions in class BaseAdvancedFilterObjectFactory
Parameters:
expression - the expression to examine
forcedFormatting - flag to specify if forced formatting should be considered while constructing the condition list
Returns:
the condition list appropriate for the given expression

getAlternateConditions

protected List getAlternateConditions()
Overrides:
getAlternateConditions in class BaseFilterObjectFactory

***  This class is subject to change   ***




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 01:55:46