oracle.apps.fnd.applcore.filter
Class FilterManager
java.lang.Object
oracle.apps.fnd.applcore.filter.FilterManager
- All Implemented Interfaces:
- FilterConstants
public class FilterManager
- extends java.lang.Object
- implements FilterConstants
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 |
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
FilterManager
public FilterManager()
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 Namevo
- - 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
Copyright © 2012 Oracle. All Rights Reserved.