Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.0.0)

E18581-01

oracle.adfdt.view.rich.binding.provider.override
Interface HierarchyChildOverride


public interface HierarchyChildOverride

Primitive children often need to be configured so they work in certain contexts. One particular case for this is when a primitive is a child for a component that is bound to a heirarchy binding. An instance for this would be the table. This class allows the primitive model to be configured when dropped within one of these components.


Nested Class Summary
static class HierarchyChildOverride.HierarchyChildDescriptor
          A descriptor suggesting how the primitive be configured.
 
Method Summary
 HierarchyChildOverride.HierarchyChildDescriptor createDescriptor(ADFDesignTimeContext dtContext, oracle.adfdt.model.objects.PageDefinition pageDefinition, ModelProvider hostModelProvider, oracle.binding.meta.VariableDefinition definition, org.w3c.dom.Element element)
          Called when a primitive is dropped within a component that matches the namespace and localName of this class.
 java.lang.String getLocalName()
          Returns the localName for the root binding element, for instance "table".
 java.lang.String getNamespace()
          Returns the namespace for the root binding element.
 

Method Detail

getNamespace

java.lang.String getNamespace()
Returns the namespace for the root binding element.


getLocalName

java.lang.String getLocalName()
Returns the localName for the root binding element, for instance "table".


createDescriptor

HierarchyChildOverride.HierarchyChildDescriptor createDescriptor(ADFDesignTimeContext dtContext,
                                                                 oracle.adfdt.model.objects.PageDefinition pageDefinition,
                                                                 ModelProvider hostModelProvider,
                                                                 oracle.binding.meta.VariableDefinition definition,
                                                                 org.w3c.dom.Element element)
Called when a primitive is dropped within a component that matches the namespace and localName of this class. This is called when the primitive drop is confirmed, so it is acceptable to make any permanent changes required to the base binding at this point. If the definition passed in is not relevant to the base binding, or the component is not configured properly, this method should return null, instructing the primitive to build itself normally. To help fetch the binding, it is common to call JSFExpressionUtils.getBindingIdFromExpression to get the binding id, then look it up through the page definition. Calls to the page definition need to be gaurded by read or write transactions as always.


Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.0.0)

E18581-01

Copyright © 1997, 2011, Oracle. All rights reserved.