Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.filter
Class FilterManager

java.lang.Object
  extended by oracle.apps.fnd.applcore.filter.FilterManager
All Implemented Interfaces:
FilterConstants

public class FilterManager
extends java.lang.Object
implements FilterConstants


Nested Class Summary
static class FilterManager.Conjunction
           
static class FilterManager.Operators
           
static class FilterManager.ValueDataType
           
 
Field Summary
static java.lang.String CUSTOM_OPER_DESC
           
static java.lang.String CUSTOM_OPER_EXPRESSION
           
static java.lang.String CUSTOM_OPER_MAXCARDINALITY
           
static java.lang.String CUSTOM_OPER_MINCARDINALITY
           
static java.lang.String CUSTOM_OPER_NAME
           
static java.lang.String FILTER_CRITERIA
           
 
Fields inherited from interface oracle.apps.fnd.applcore.filter.FilterConstants
FLTR_CO_DESC, FLTR_CO_MAX_CARDINALITY, FLTR_CO_MIN_CARDINALITY, FLTR_CO_NAME, FLTR_CO_TRANSIENT_EXPRESSION, JAXB_CONTEXT_PATH
 
Constructor Summary
FilterManager()
           
 
Method Summary
static boolean checkIfAttributeNameExistsinViewObject(oracle.jbo.ViewObject vo, java.lang.String attributeName)
           
static java.lang.String cleanupTransientExpression(java.lang.String expression)
          Deprecated. 
static OAViewObjectImpl createNullFilter(OAViewObjectImpl viewObject, java.lang.Long sin, java.lang.Long dsn)
           
static java.lang.String findStructureCodeForSin(long sin, java.lang.String fullVOName, oracle.jbo.ViewObject vo)
          This method is primarily used to find the StructureInstanceCode, given then Structure Instance Number for the KFF Polymorphic VO.
static oracle.jbo.ViewObject processFilter(java.lang.Object discriminatorValue, java.lang.String fullVOName, oracle.jbo.ViewObject viewObject, FndFilterTypeImpl fc)
           
static java.util.ArrayList<oracle.jbo.ViewCriteriaItemValue> processNumberValue(java.util.List<java.lang.String> values, oracle.jbo.ViewCriteriaItem vcitem)
           
static java.lang.Number processSingleNumberValue(java.util.List<java.lang.Object> values)
           
static java.lang.String processSingleStrValue(java.util.List<java.lang.String> values)
           
static java.util.ArrayList<oracle.jbo.ViewCriteriaItemValue> processStringValues(java.util.List<java.lang.String> values, oracle.jbo.ViewCriteriaItem vcitem)
           
static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForCO(oracle.jbo.ViewObject stvo, oracle.jbo.ViewCriteria vc, oracle.jbo.ViewCriteriaItem vcitem, FilterCriteriaItemType fcitem)
           
static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForDate(java.lang.String structureCode, oracle.jbo.ViewCriteriaItem vcitem, FilterCriteriaItemType fcitem)
           
static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForNumber(java.lang.String structureCode, oracle.jbo.ViewCriteriaItem vcitem, FilterCriteriaItemType fcitem)
           
static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForString(java.lang.String structureCode, oracle.jbo.ViewCriteriaItem vcitem, FilterCriteriaItemType fcitem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_CRITERIA

public static final java.lang.String FILTER_CRITERIA
See Also:
Constant Field Values

CUSTOM_OPER_NAME

public static final java.lang.String CUSTOM_OPER_NAME
See Also:
Constant Field Values

CUSTOM_OPER_DESC

public static final java.lang.String CUSTOM_OPER_DESC
See Also:
Constant Field Values

CUSTOM_OPER_EXPRESSION

public static final java.lang.String CUSTOM_OPER_EXPRESSION
See Also:
Constant Field Values

CUSTOM_OPER_MINCARDINALITY

public static final java.lang.String CUSTOM_OPER_MINCARDINALITY
See Also:
Constant Field Values

CUSTOM_OPER_MAXCARDINALITY

public static final java.lang.String CUSTOM_OPER_MAXCARDINALITY
See Also:
Constant Field Values
Constructor Detail

FilterManager

public FilterManager()
Method Detail

findStructureCodeForSin

public static java.lang.String findStructureCodeForSin(long sin,
                                                       java.lang.String fullVOName,
                                                       oracle.jbo.ViewObject vo)
                                                throws oracle.jbo.JboException
This method is primarily used to find the StructureInstanceCode, given then Structure Instance Number for the KFF Polymorphic VO. The Structure Instance Code is used as the discriminator for the KFF Polymorphic VO, since the Filter xML holds only the Structure Insntance Number, we have to call this API

Parameters:
sin - - Structure Insntance Number (long)
fullVOName - - Fully qualified KFF View Object Name
vo - - KFF View Object
Returns:
(String) Structure Insntance Code
Throws:
oracle.jbo.JboException

checkIfAttributeNameExistsinViewObject

public static boolean checkIfAttributeNameExistsinViewObject(oracle.jbo.ViewObject vo,
                                                             java.lang.String attributeName)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

processStringValues

public static java.util.ArrayList<oracle.jbo.ViewCriteriaItemValue> processStringValues(java.util.List<java.lang.String> values,
                                                                                        oracle.jbo.ViewCriteriaItem vcitem)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

processSingleStrValue

public static java.lang.String processSingleStrValue(java.util.List<java.lang.String> values)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

processSingleNumberValue

public static java.lang.Number processSingleNumberValue(java.util.List<java.lang.Object> values)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

processNumberValue

public static java.util.ArrayList<oracle.jbo.ViewCriteriaItemValue> processNumberValue(java.util.List<java.lang.String> values,
                                                                                       oracle.jbo.ViewCriteriaItem vcitem)
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

cleanupTransientExpression

@Deprecated
public static java.lang.String cleanupTransientExpression(java.lang.String expression)
Deprecated. 


processViewCriteriaItemForCO

public static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForCO(oracle.jbo.ViewObject stvo,
                                                                       oracle.jbo.ViewCriteria vc,
                                                                       oracle.jbo.ViewCriteriaItem vcitem,
                                                                       FilterCriteriaItemType fcitem)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

processViewCriteriaItemForDate

public static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForDate(java.lang.String structureCode,
                                                                         oracle.jbo.ViewCriteriaItem vcitem,
                                                                         FilterCriteriaItemType fcitem)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

processViewCriteriaItemForString

public static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForString(java.lang.String structureCode,
                                                                           oracle.jbo.ViewCriteriaItem vcitem,
                                                                           FilterCriteriaItemType fcitem)
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

processViewCriteriaItemForNumber

public static oracle.jbo.ViewCriteriaItem processViewCriteriaItemForNumber(java.lang.String structureCode,
                                                                           oracle.jbo.ViewCriteriaItem vcitem,
                                                                           FilterCriteriaItemType fcitem)
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

createNullFilter

public static OAViewObjectImpl createNullFilter(OAViewObjectImpl viewObject,
                                                java.lang.Long sin,
                                                java.lang.Long dsn)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

processFilter

public static oracle.jbo.ViewObject processFilter(java.lang.Object discriminatorValue,
                                                  java.lang.String fullVOName,
                                                  oracle.jbo.ViewObject viewObject,
                                                  FndFilterTypeImpl fc)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.