|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterObjectFactoryInterface
The FilterObjectFactoryInterface defines the primary interface between native objects and the filter specific objects the filter model works with. All methods included in this class are in some way involved with converting objects back and forth between the filter model and a native model.
Method Summary | |
---|---|
boolean |
clearFilterCondition(com.sas.iquery.metadata.business.FilterItem filterItem)
Clears the properties of the given filter item. |
boolean |
enforceBooleanPrecedence()
Returns TRUE if boolean precedence rules must be enforced when building logical filter trees. |
FilterConditionInterface |
findMatchingConditionObject(FilterItemInterface filterItem,
java.lang.Object conditionObject,
boolean isNegated)
Returns the FilterConditionInterface instance that represents the specified condition object. |
FilterItemInterface |
findMatchingFilterItem(FilterItemListInterface fili,
java.lang.Object itemObject)
Returns the FilterItemInterface instance from the given list that represents the specified item object. |
java.util.List |
getFilterableItems(boolean includeBaseModels,
java.util.Map filterItemLookup)
|
java.util.Locale |
getLocale()
Returns the locale currently in use. |
int |
getMaxOutputObservations()
Returns the current maximum number of output observations returned when gathering a list of possible values to select from when creating a filter expression. |
com.sas.iquery.metadata.business.CompoundFilter |
newCompoundFilter()
Creates and returns a new CompoundFilter instance from the active BusinessModel. |
com.sas.iquery.metadata.business.step.CompoundStep |
newCompoundStep()
Creates and returns a new CompoundStep instance for use in the OLAP step model. |
com.sas.iquery.metadata.business.FilterItem |
newFilterItem()
Creates and returns a new FilterItem instance from the active BusinessModel. |
com.sas.iquery.metadata.business.step.StepInterface |
newFilterStep(FilterLogicTestNodeInterface testNode)
Creates and returns a new StepInterface instance for use in the OLAP step model. |
FilterLogicTestNodeInterface |
newTestNode(com.sas.iquery.metadata.business.DataItem dataItem,
FilterItemListInterface filterItemList)
Creates and returns a new FilterLogicTestNodeInterface instance based on the properties from the supplied objects. |
FilterLogicTestNodeInterface |
newTestNode(com.sas.iquery.metadata.business.DataItem dataItem,
com.sas.iquery.metadata.business.step.StepInterface filterObject,
FilterItemListInterface filterItemList)
Creates and returns a new FilterLogicTestNodeInterface instance based on the properties from the supplied objects. |
FilterLogicTestNodeInterface |
newTestNode(com.sas.iquery.metadata.business.FilterItem filter,
FilterItemListInterface filterItemList)
Creates and returns a new FilterLogicTestNodeInterface instance based on the data from the given filter object and FilterItemListInterface object. |
FilterLogicTestNodeInterface |
newTestNode(java.lang.String name,
java.lang.String desc,
com.sas.iquery.metadata.expr.FunctionCall call,
FilterItemListInterface filterItemList)
|
FilterLogicTestNodeInterface |
newTestNode(java.lang.String name,
java.lang.String desc,
java.lang.Object item,
java.lang.Object conditionObject,
boolean isNegated,
java.util.List values,
FilterItemListInterface filterItemList)
|
FilterLogicTestNodeInterface |
newTestNode(java.lang.String name,
java.lang.String desc,
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_Between betweenExpr,
FilterItemListInterface filterItemList)
|
FilterLogicTestNodeInterface |
newTestNode(java.lang.String name,
java.lang.String desc,
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_Comparison compExpr,
FilterItemListInterface filterItemList)
|
FilterLogicTestNodeInterface |
newTestNode(java.lang.String name,
java.lang.String desc,
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_In inExpr,
FilterItemListInterface filterItemList)
|
FilterLogicTestNodeInterface |
newTestNode(java.lang.String name,
java.lang.String desc,
com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_TestForNull nullExpr,
FilterItemListInterface filterItemList)
|
void |
removeFilterItem(java.lang.Object filterItem)
Remove the specified filter item from the business model. |
void |
setLocale(java.util.Locale locale)
Sets the locale used when deriving any locale specific labels or text resources. |
void |
setMaxOutputObservations(int max)
Sets the current maximum number of output observations to be returned when gathering a list of possible values to select from when creating a filter expression. |
boolean |
updateCompoundFilter(com.sas.iquery.metadata.business.FilterItem filterItem,
com.sas.iquery.metadata.business.FilterItem left,
com.sas.iquery.metadata.business.FilterItem right,
com.sas.iquery.metadata.expr.ConditionalRelationType relationType,
boolean isNegated)
Updates the given CompoundFilter with the specified properties. |
boolean |
updateCompoundStep(com.sas.iquery.metadata.business.step.CompoundStep filterItem,
com.sas.iquery.metadata.business.step.StepInterface left,
com.sas.iquery.metadata.business.step.StepInterface right,
com.sas.iquery.metadata.expr.ConditionalRelationType relationType,
boolean isNegated)
Updates the given CompoundStep with the specified properties. |
boolean |
updateSimpleFilterFromTestNode(com.sas.iquery.metadata.business.FilterItem filterItem,
FilterLogicTestNodeInterface testNode)
Saves the testNode data to the filter and then makes sure the filter is in the business model. |
boolean |
updateSimpleFilterFromTestNode(java.lang.Object filterItemObject,
FilterLogicTestNodeInterface testNode)
Save the test node data to the filter item. |
Method Detail |
---|
com.sas.iquery.metadata.business.FilterItem newFilterItem()
com.sas.iquery.metadata.business.CompoundFilter newCompoundFilter()
com.sas.iquery.metadata.business.step.StepInterface newFilterStep(FilterLogicTestNodeInterface testNode)
testNode
- the test node used to determine the type of object to return
com.sas.iquery.metadata.business.step.CompoundStep newCompoundStep()
void removeFilterItem(java.lang.Object filterItem)
filterItem
- the filter item to remove from the active BusinessModelboolean clearFilterCondition(com.sas.iquery.metadata.business.FilterItem filterItem)
filterItem
- the filter item to clear
boolean updateSimpleFilterFromTestNode(java.lang.Object filterItemObject, FilterLogicTestNodeInterface testNode)
filterItemObject
- the target filter object to be updatedtestNode
- the source test node to draw the data from
boolean updateSimpleFilterFromTestNode(com.sas.iquery.metadata.business.FilterItem filterItem, FilterLogicTestNodeInterface testNode)
filterItem
- the target filter object to be updatedtestNode
- the source test node to draw the data from
boolean updateCompoundFilter(com.sas.iquery.metadata.business.FilterItem filterItem, com.sas.iquery.metadata.business.FilterItem left, com.sas.iquery.metadata.business.FilterItem right, com.sas.iquery.metadata.expr.ConditionalRelationType relationType, boolean isNegated)
filterItem
- the CompoundFilter to updateleft
- the left child filterright
- the right child filterrelationType
- the logical boolean relationship between the left and right childrenisNegated
- TRUE if the logical value of this implied grouping should be negated when evaluated
boolean updateCompoundStep(com.sas.iquery.metadata.business.step.CompoundStep filterItem, com.sas.iquery.metadata.business.step.StepInterface left, com.sas.iquery.metadata.business.step.StepInterface right, com.sas.iquery.metadata.expr.ConditionalRelationType relationType, boolean isNegated)
filterItem
- the CompoundFilter to updateleft
- the left child filterright
- the right child filterrelationType
- the logical boolean relationship between the left and right childrenisNegated
- TRUE if the logical value of this implied grouping should be negated when evaluated
FilterItemInterface findMatchingFilterItem(FilterItemListInterface fili, java.lang.Object itemObject)
fili
- the list of FilterItemInterface objects to search throughitemObject
- the source item to find a match for
FilterConditionInterface findMatchingConditionObject(FilterItemInterface filterItem, java.lang.Object conditionObject, boolean isNegated)
filterItem
- the FilterItemInterface object to derive the search list fromconditionObject
- the condition object to find a match forisNegated
- status of the condition negation flag necessary for a match
FilterLogicTestNodeInterface newTestNode(com.sas.iquery.metadata.business.FilterItem filter, FilterItemListInterface filterItemList)
filter
- the filter object to create the test node fromfilterItemList
- the list to pull from when matching properties
FilterLogicTestNodeInterface newTestNode(com.sas.iquery.metadata.business.DataItem dataItem, com.sas.iquery.metadata.business.step.StepInterface filterObject, FilterItemListInterface filterItemList)
dataItem
- the DataItem associated with the step used to create this test nodefilterObject
- the specific step to derive most of the new test node's values fromfilterItemList
- the list to pull from when matching properties
FilterLogicTestNodeInterface newTestNode(com.sas.iquery.metadata.business.DataItem dataItem, FilterItemListInterface filterItemList)
dataItem
- the DataItem associated with the step used to create this test nodefilterItemList
- the list to pull from when matching properties
FilterLogicTestNodeInterface newTestNode(java.lang.String name, java.lang.String desc, com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_Comparison compExpr, FilterItemListInterface filterItemList)
FilterLogicTestNodeInterface newTestNode(java.lang.String name, java.lang.String desc, com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_In inExpr, FilterItemListInterface filterItemList)
FilterLogicTestNodeInterface newTestNode(java.lang.String name, java.lang.String desc, com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_Between betweenExpr, FilterItemListInterface filterItemList)
FilterLogicTestNodeInterface newTestNode(java.lang.String name, java.lang.String desc, com.sas.iquery.metadata.expr.relational.SimpleConditionalExpression_TestForNull nullExpr, FilterItemListInterface filterItemList)
FilterLogicTestNodeInterface newTestNode(java.lang.String name, java.lang.String desc, java.lang.Object item, java.lang.Object conditionObject, boolean isNegated, java.util.List values, FilterItemListInterface filterItemList)
FilterLogicTestNodeInterface newTestNode(java.lang.String name, java.lang.String desc, com.sas.iquery.metadata.expr.FunctionCall call, FilterItemListInterface filterItemList)
name
- the name to assign the test nodedesc
- the description to assign the test nodecall
- the FunctionCall object to examinefilterItemList
- the list of filter items to draw from
java.util.List getFilterableItems(boolean includeBaseModels, java.util.Map filterItemLookup)
int getMaxOutputObservations()
void setMaxOutputObservations(int max)
max
- the new maximum number of output observationsGoverning
void setLocale(java.util.Locale locale)
locale
- the new localejava.util.Locale getLocale()
boolean enforceBooleanPrecedence()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |