|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.dynamic.BaseDynamicComponentFactory
public abstract class BaseDynamicComponentFactory
Field Summary | |
---|---|
protected java.util.Map |
_additionalParameters
|
protected oracle.jbo.AttributeDef |
_attrDef
|
protected java.lang.String |
_bindingNameSuffix
|
protected boolean |
_canEdit
|
protected javax.faces.context.FacesContext |
_context
|
protected boolean |
_isTable
|
protected oracle.adf.model.binding.DCIteratorBinding |
_iterator
|
protected oracle.jbo.common.DefLocaleContext |
_localeContext
|
protected javax.faces.component.UIComponent |
_parent
|
protected java.lang.String |
_parentId
|
Constructor Summary | |
---|---|
BaseDynamicComponentFactory()
|
Method Summary | |
---|---|
protected void |
configureComponent(javax.faces.application.Application application,
java.lang.String bindingName,
org.apache.myfaces.trinidad.component.UIXComponent component)
|
org.apache.myfaces.trinidad.component.UIXComponent |
create()
create UIComponent with necessary binding object |
oracle.adf.model.binding.DCControlBinding |
createControlBinding(java.lang.String bindingName)
create control binding (only for form case) |
protected oracle.adf.model.binding.DCControlBindingDef |
createDefinition()
|
protected javax.el.ValueExpression |
createExpression(java.lang.String property)
create valuebinding based for the property for form case #{bindings.BindingName.property} for table case #{row.AttributeName.property} or table-detail case #{row.accessor.bindings.attributeName.property} |
protected org.apache.myfaces.trinidad.component.UIXComponent |
createFormComponent()
|
protected javax.el.ValueExpression |
createHintExpression(java.lang.String property)
|
protected javax.el.ValueExpression |
createReverseExpression(java.lang.String property)
create reverse valuebinding based for the property for form case #{!bindings.BindingName.property} for table case #{!row.AttributeName.property} or table-detail case #{!row.accessor.bindings.attributeName.property} |
protected org.apache.myfaces.trinidad.component.UIXComponent |
createTableComponent()
|
protected java.lang.String |
getAccessor()
|
oracle.jbo.AttributeDef |
getAttrDef()
|
java.lang.String |
getBindingName()
|
protected java.lang.String |
getBindingNameSuffix()
|
protected java.lang.String |
getBingindStartString()
|
protected java.lang.String |
getComponentType()
|
java.lang.String |
getControlDefType()
for subclass to overwrite |
java.lang.Class<? extends oracle.adf.model.binding.DCDefBase> |
getDefClass()
|
javax.el.ValueExpression |
getELValidationExpression()
create an el that gurantee the binding obj is valid |
javax.el.ValueExpression |
getFormELValidationExpression()
|
java.lang.String |
getId()
|
oracle.adf.model.binding.DCIteratorBinding |
getIterator()
|
oracle.jbo.common.DefLocaleContext |
getLocaleContext()
|
java.lang.String |
getNamespace()
|
javax.el.ValueExpression |
getTableELValidationExpression()
|
protected javax.el.MethodExpression |
getValueChangeListener()
|
void |
initialize(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent,
oracle.adf.model.binding.DCIteratorBinding iterator,
oracle.jbo.AttributeDef attrDef,
boolean isTable,
java.util.Map parameters)
initialize the factory with current iterator and current attribute def |
protected void |
initializeDefinitionMap(java.util.HashMap values)
|
boolean |
isAutoSubmit()
|
boolean |
isDisabled()
|
boolean |
isReadOnly()
|
boolean |
isTable()
|
protected void |
setId(org.apache.myfaces.trinidad.component.UIXComponent component,
oracle.jbo.AttributeDef attrDef)
|
protected void |
setupComponentExpression(javax.faces.component.UIComponent comp,
java.lang.String property,
java.lang.String expressionProperty)
Simple version of setupComponentExpression |
protected void |
setupComponentExpression(javax.faces.component.UIComponent comp,
java.lang.String property,
java.lang.String expressionProperty,
boolean reverse)
create a value expression, then set the component property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.applcore.flex.dynamic.DynamicComponentFactory |
---|
getType |
Field Detail |
---|
protected transient javax.faces.context.FacesContext _context
protected transient javax.faces.component.UIComponent _parent
protected transient oracle.adf.model.binding.DCIteratorBinding _iterator
protected transient oracle.jbo.AttributeDef _attrDef
protected transient oracle.jbo.common.DefLocaleContext _localeContext
protected boolean _isTable
protected java.lang.String _parentId
protected java.lang.String _bindingNameSuffix
protected boolean _canEdit
protected transient java.util.Map _additionalParameters
Constructor Detail |
---|
public BaseDynamicComponentFactory()
Method Detail |
---|
public java.lang.String getNamespace()
public java.lang.String getControlDefType()
public void initialize(javax.faces.context.FacesContext context, javax.faces.component.UIComponent parent, oracle.adf.model.binding.DCIteratorBinding iterator, oracle.jbo.AttributeDef attrDef, boolean isTable, java.util.Map parameters)
initialize
in interface DynamicComponentFactory
context
- parent
- the Dynamic Componentiterator
- current iteratorattrDef
- current attriubte definitionparameters
- addtional parameters as name Value pairs
"accessor" table accessor
"bindingNameSuffix" - additional suffix for binding object name, to avoid name conflict, right now the binding name = iteratorName+attributeDefName
"autoSubmit"
"valueChangeListener"
"readOnly"
"disabled"
"customization"
"discriminatorValue"
"visible"
"debug"public boolean isReadOnly()
public boolean isDisabled()
public boolean isAutoSubmit()
protected oracle.adf.model.binding.DCControlBindingDef createDefinition()
protected void initializeDefinitionMap(java.util.HashMap values)
public java.lang.String getBindingName()
public java.lang.String getId()
protected void setId(org.apache.myfaces.trinidad.component.UIXComponent component, oracle.jbo.AttributeDef attrDef)
protected java.lang.String getBindingNameSuffix()
protected java.lang.String getAccessor()
protected javax.el.MethodExpression getValueChangeListener()
public final oracle.adf.model.binding.DCControlBinding createControlBinding(java.lang.String bindingName)
createControlBinding
in interface DynamicComponentFactory
bindingName
-
public java.lang.Class<? extends oracle.adf.model.binding.DCDefBase> getDefClass()
protected java.lang.String getComponentType()
protected void configureComponent(javax.faces.application.Application application, java.lang.String bindingName, org.apache.myfaces.trinidad.component.UIXComponent component)
protected org.apache.myfaces.trinidad.component.UIXComponent createFormComponent()
protected org.apache.myfaces.trinidad.component.UIXComponent createTableComponent()
public org.apache.myfaces.trinidad.component.UIXComponent create()
DynamicComponentFactory
create
in interface DynamicComponentFactory
protected javax.el.ValueExpression createExpression(java.lang.String property)
property
-
protected javax.el.ValueExpression createHintExpression(java.lang.String property)
protected javax.el.ValueExpression createReverseExpression(java.lang.String property)
property
-
protected void setupComponentExpression(javax.faces.component.UIComponent comp, java.lang.String property, java.lang.String expressionProperty)
comp
- property
- expressionProperty
- protected void setupComponentExpression(javax.faces.component.UIComponent comp, java.lang.String property, java.lang.String expressionProperty, boolean reverse)
comp
- property
- expressionProperty
- reverse
- protected java.lang.String getBingindStartString()
public javax.el.ValueExpression getELValidationExpression()
public javax.el.ValueExpression getTableELValidationExpression()
public javax.el.ValueExpression getFormELValidationExpression()
public boolean isTable()
public oracle.adf.model.binding.DCIteratorBinding getIterator()
public oracle.jbo.AttributeDef getAttrDef()
public oracle.jbo.common.DefLocaleContext getLocaleContext()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |