|
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 oracle.apps.fnd.applcore.flex.runtime.util.common.CustomLOVDefImpl
public class CustomLOVDefImpl
An LOVDef implementation for CustomValueSetDef
.
Nested Class Summary | |
---|---|
static class |
CustomLOVDefImpl.ViewAttributeDef
A view attribute definition. |
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 |
Method Summary | |
---|---|
static void |
buildActiveValuesCriteria(oracle.jbo.server.ViewDefImpl viewDef,
java.lang.String criteriaName,
java.lang.String startDateAttrName,
java.lang.String endDateAttrName,
java.lang.String vDateVarName)
Builds the view criteria for active values. |
static void |
buildEnabledValuesCriteria(oracle.jbo.server.ViewDefImpl viewDef,
java.lang.String criteriaName,
java.lang.String enabledFlagAttrName)
Builds the criteria for enabled values. |
static java.lang.String[] |
createCriteriaAndBindVariables(CustomValueSetDef vsd,
oracle.jbo.server.ViewDefImpl viewDef)
Creates the criteria and bind variables for a custom value set. |
static java.util.List<CustomLOVDefImpl.ViewAttributeDef> |
createViewAttributes(CustomValueSetDef vsd,
java.util.Map<java.lang.String,SegmentLabel.ValueAttribute> valAttrMap)
Creates a list of view attributes for the custom LOV view object. |
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. |
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. |
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. |
static java.lang.Class |
getJavaType(java.lang.String colType)
Gets the Java type for a column type. |
java.lang.String |
getOrderBy()
Gets the order-by statement. |
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. |
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 |
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 oracle.apps.fnd.applcore.flex.runtime.util.common.LOVDefImpl |
---|
addSecurityCriteria, getAttributeName, getAttributeType, getDefObjectType, getEnabledFlagAttrName, getEndDateActiveAttrName, getStartDateActiveAttrName, getSummaryFlagAttrName, getValueSetUsage, getViewDefName, getViewObjValidationDateExpr, getViewObjValueSelectionClauseExpr |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<CustomLOVDefImpl.ViewAttributeDef> createViewAttributes(CustomValueSetDef vsd, java.util.Map<java.lang.String,SegmentLabel.ValueAttribute> valAttrMap)
vsd
- the custom value-set definitionvalAttrMap
- the value attribute definitions; the keys are the
suggested view attribute names for these value
attributes
public static java.lang.String[] createCriteriaAndBindVariables(CustomValueSetDef vsd, oracle.jbo.server.ViewDefImpl viewDef)
vsd
- the custom value set definitionviewDef
- the view definition where the criteria and bind variables
should be created
java.lang.IllegalArgumentException
- if the given custom value set
definition is null or the view definition is null, or
if the given view definition does not have the attributes
required for the view criteriapublic static void buildEnabledValuesCriteria(oracle.jbo.server.ViewDefImpl viewDef, java.lang.String criteriaName, java.lang.String enabledFlagAttrName)
viewDef
- the view definition where this criteria should be definedcriteriaName
- the name of the criteriaenabledFlagAttrName
- the name of the enabled flag attributepublic static void buildActiveValuesCriteria(oracle.jbo.server.ViewDefImpl viewDef, java.lang.String criteriaName, java.lang.String startDateAttrName, java.lang.String endDateAttrName, java.lang.String vDateVarName)
viewDef
- the view object definitioncriteriaName
- the name of the criteriastartDateAttrName
- the attribute name of the start dateendDateAttrName
- the attribute name of the end datevDateVarName
- the name of the validation date bind variablepublic static java.lang.Class getJavaType(java.lang.String colType)
colType
- the column Type
public java.lang.String getViewDefName()
getViewDefName
in interface LOVDef
getViewDefName
in class LOVDefImpl
public java.lang.String getIdOrValueAttributeName()
getIdOrValueAttributeName
in interface LOVDef
getIdOrValueAttributeName
in class LOVDefImpl
public java.lang.String getIdOrValueCriteriaName()
LOVDef
getIdOrValueCriteriaName
in interface LOVDef
getIdOrValueCriteriaName
in class LOVDefImpl
public java.lang.String getIdOrValueVariableName()
LOVDef
getIdOrValueVariableName
in interface LOVDef
getIdOrValueVariableName
in class LOVDefImpl
public java.lang.String getDisplayAttributeName()
getDisplayAttributeName
in interface LOVDef
getDisplayAttributeName
in class LOVDefImpl
public java.lang.Class getDisplayAttributeType()
getDisplayAttributeType
in interface LOVDef
getDisplayAttributeType
in class LOVDefImpl
LOVDef.getDisplayAttributeName()
public java.util.List<java.lang.String> getHintAttributeNames()
getHintAttributeNames
in interface LOVDef
getHintAttributeNames
in class LOVDefImpl
public java.lang.String getOrderBy()
getOrderBy
in interface LOVDef
getOrderBy
in class LOVDefImpl
public java.lang.String getTableAliasForValueAttributes()
LOVDef
getTableAliasForValueAttributes
in interface LOVDef
getTableAliasForValueAttributes
in class LOVDefImpl
public java.lang.String getValueColumnForValidationRules()
LOVDef
getValueColumnForValidationRules
in interface LOVDef
getValueColumnForValidationRules
in class LOVDefImpl
public java.util.List<java.lang.String> getViewCriteriaNames()
getViewCriteriaNames
in interface LOVDef
getViewCriteriaNames
in class LOVDefImpl
public java.util.List<java.lang.String> getXViewCriteriaNames()
LOVDefImpl
getXViewCriteriaNames
in interface LOVDef
getXViewCriteriaNames
in class LOVDefImpl
public java.lang.String getDisplayCriteriaName()
getDisplayCriteriaName
in interface LOVDef
getDisplayCriteriaName
in class LOVDefImpl
public java.util.List<java.lang.String> getBoundParameterNames()
getBoundParameterNames
in interface LOVDef
getBoundParameterNames
in class LOVDefImpl
public java.util.List<java.lang.String> getXBoundParameterNames()
LOVDefImpl
getXBoundParameterNames
in interface LOVDef
getXBoundParameterNames
in class LOVDefImpl
public PortableExpression getBoundParameterValue(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> tokens)
getBoundParameterValue
in interface LOVDef
getBoundParameterValue
in class LOVDefImpl
name
- the name of the bound parametertokens
- the tokens used to construct the parameter value
|
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 |