|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.util.common.LOVDefImpl
public class LOVDefImpl
A generic implementation of LOVDef.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.LOVDef |
---|
LOVDef.DefObjectType, LOVDef.ParameterBoundValue, LOVDef.PropertyBoundValue, LOVDef.SegmentBoundValue |
Field Summary |
---|
Fields inherited from interface oracle.apps.fnd.applcore.flex.runtime.util.common.LOVDef |
---|
PARAMETER_BOUND_VALUE, PROPERTY_BOUND_VALUE, SEGMENT_BOUND_VALUE |
Constructor Summary | |
---|---|
protected |
LOVDefImpl(ValueSetUsage vsu,
java.lang.String attrName,
java.lang.Class attrType,
LOVDef.DefObjectType objType)
Constructs an LOVDefImpl from a value-set usage and the Java type of the attribute with which the LOV is associated. |
Method Summary | |
---|---|
protected static void |
addSecurityCriteria(oracle.jbo.server.ViewDefImpl viewDef,
java.lang.String criteriaName)
Adds security criteria. |
protected java.lang.String |
getAttributeName()
Gets the name of the attribute which this LOV is associated with. |
protected java.lang.Class |
getAttributeType()
Gets the type of the attribute which this LOV is associated with. |
java.util.List<java.lang.String> |
getBoundParameterNames()
Gets the names of the bound parameters. |
PortableExpression |
getBoundParameterValue(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> tokens)
Gets the value of a bound parameter. |
protected LOVDef.DefObjectType |
getDefObjectType()
Gets the type of the object where this LOV is used. |
java.lang.String |
getDisplayAttributeName()
Gets the name of the view attribute that represents the display of a value. |
java.lang.Class |
getDisplayAttributeType()
Gets the type of the display attribute. |
java.lang.String |
getDisplayCriteriaName()
Gets the name of the display criteria. |
static java.lang.String |
getEnabledFlagAttrName()
Gets the attribute name of ENABLED_FLAG column. |
static java.lang.String |
getEndDateActiveAttrName()
Gets the attribute name of END_DATE_ACTIVE column. |
java.util.List<java.lang.String> |
getHintAttributeNames()
Gets the list of view attributes that serve as hints when searching for a value. |
java.lang.String |
getIdOrValueAttributeName()
Gets the name of the view attribute that represents the ID or value. |
java.lang.String |
getIdOrValueCriteriaName()
Gets the name of the view criteria for locating an ID or a value. |
java.lang.String |
getIdOrValueVariableName()
Gets the name of the bind variable for locating an ID or a value. |
java.lang.String |
getOrderBy()
Gets the order-by statement. |
static java.lang.String |
getStartDateActiveAttrName()
Gets the attribute name of START_DATE_ACTIVE column. |
static java.lang.String |
getSummaryFlagAttrName()
Gets the attribute name of SUMMARY_FLAG column. |
java.lang.String |
getTableAliasForValueAttributes()
Gets the table alias for value attributes. |
java.lang.String |
getValueColumnForValidationRules()
Gets the value column (prefixed with alias if needed) used in validation rules. |
protected ValueSetUsage |
getValueSetUsage()
Gets the value-set usage. |
java.util.List<java.lang.String> |
getViewCriteriaNames()
Gets the names of the view criteria that must be applied. |
java.lang.String |
getViewDefName()
Gets the view definition that defines the LOV |
protected static java.lang.String |
getViewDefName(ValueSetDef vsd)
Gets the name of the list data source view object definition. |
protected PortableExpression |
getViewObjValidationDateExpr()
Gets the expression for getting the validation date in a view accessor defined in a view object. |
protected PortableExpression |
getViewObjValueSelectionClauseExpr(java.lang.String viewAttrName)
Gets the expression for extra validation rules. |
java.util.List<java.lang.String> |
getXBoundParameterNames()
Gets the names of the bound parameters used for translation from values to displays. |
java.util.List<java.lang.String> |
getXViewCriteriaNames()
Gets the names of the view criteria for translation from values to displays. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LOVDefImpl(ValueSetUsage vsu, java.lang.String attrName, java.lang.Class attrType, LOVDef.DefObjectType objType)
Do not use this class with a CustomValueSetUsage
object.
Use CustomLOVDefImpl
instead.
vsu
- the value-set usageattrName
- the name of the attributeattrType
- the Java type of the attributeobjType
- the type of the object where the LOV is usedMethod Detail |
---|
protected java.lang.String getAttributeName()
protected java.lang.Class getAttributeType()
protected LOVDef.DefObjectType getDefObjectType()
protected ValueSetUsage getValueSetUsage()
protected static void addSecurityCriteria(oracle.jbo.server.ViewDefImpl viewDef, java.lang.String criteriaName)
viewDef
- the view definitioncriteriaName
- the name of the security criteriaprotected static java.lang.String getViewDefName(ValueSetDef vsd)
vsd
- the value-set definition
public java.lang.String getViewDefName()
getViewDefName
in interface LOVDef
public java.lang.String getIdOrValueAttributeName()
getIdOrValueAttributeName
in interface LOVDef
public java.lang.String getIdOrValueCriteriaName()
LOVDef
getIdOrValueCriteriaName
in interface LOVDef
public java.lang.String getIdOrValueVariableName()
LOVDef
getIdOrValueVariableName
in interface LOVDef
public java.lang.String getDisplayAttributeName()
getDisplayAttributeName
in interface LOVDef
public java.lang.Class getDisplayAttributeType()
getDisplayAttributeType
in interface LOVDef
LOVDef.getDisplayAttributeName()
public java.util.List<java.lang.String> getHintAttributeNames()
getHintAttributeNames
in interface LOVDef
public java.lang.String getOrderBy()
getOrderBy
in interface LOVDef
public java.lang.String getTableAliasForValueAttributes()
LOVDef
getTableAliasForValueAttributes
in interface LOVDef
public java.lang.String getValueColumnForValidationRules()
LOVDef
getValueColumnForValidationRules
in interface LOVDef
public java.util.List<java.lang.String> getViewCriteriaNames()
getViewCriteriaNames
in interface LOVDef
public java.util.List<java.lang.String> getXViewCriteriaNames()
getXViewCriteriaNames
in interface LOVDef
public java.lang.String getDisplayCriteriaName()
getDisplayCriteriaName
in interface LOVDef
public java.util.List<java.lang.String> getBoundParameterNames()
getBoundParameterNames
in interface LOVDef
public java.util.List<java.lang.String> getXBoundParameterNames()
getXBoundParameterNames
in interface LOVDef
protected final PortableExpression getViewObjValidationDateExpr()
protected final PortableExpression getViewObjValueSelectionClauseExpr(java.lang.String viewAttrName)
viewAttrName
- the view attribute
public PortableExpression getBoundParameterValue(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> tokens)
getBoundParameterValue
in interface LOVDef
name
- the name of the bound parametertokens
- the tokens used to construct the parameter value
public static java.lang.String getStartDateActiveAttrName()
public static java.lang.String getEndDateActiveAttrName()
public static java.lang.String getEnabledFlagAttrName()
public static java.lang.String getSummaryFlagAttrName()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |