Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adfmf.bindings
Interface BindingContainer

All Superinterfaces:
java.util.Map

public interface BindingContainer
extends java.util.Map

The BindingContainer contains the Control Bindings for a reusable unit of View technology. The BindingContainer interface is implemented by the data binding framework provider.


Nested Class Summary

 

Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>

 

Method Summary
 void containerInitialized(BindingContainer container)
          Called when the initialization of the container is complete.
 ControlBinding getControlBinding(java.lang.String name)
          Returns a control binding with the given name.
 java.util.Map getControlBindings()
          Return a list of all control bindings in the container.
 java.util.ResourceBundle getCurrentResourceBundle()
          Get the current resource bundle.
 java.util.List getErrors()
          Get the list of errors raised by the most recent binding operation in this container
 java.lang.String getName()
          Returns the name of the container
 OperationBinding getOperationBinding(java.lang.String name)
          Returns an operation binding with the given name.
 void refresh()
          Refreshes the DataControl by iteratively re-evaluating the executable bindings.
 void release()
          Releases this ControlBinding.
 void setCurrentResourceBundle(java.lang.String id, java.util.Locale locale)
          Set the current resource bundle based on the id and locale

 

Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values

 

Method Detail

getName

java.lang.String getName()
Returns the name of the container

release

void release()
Releases this ControlBinding. This method is called when the view component has finished using this ControlBinding.

refresh

void refresh()
Refreshes the DataControl by iteratively re-evaluating the executable bindings. This method is called by the Controller to initialize and perpare the Bindings. This method can be called anytime. If the bindings have already been evaluated, and no state has changed, they should not re-execute.

getControlBinding

ControlBinding getControlBinding(java.lang.String name)
Returns a control binding with the given name. Returns null if name is not found.
Parameters:
name -
Returns:
ControlBinding that matches the given name

getOperationBinding

OperationBinding getOperationBinding(java.lang.String name)
Returns an operation binding with the given name. Returns null if name is not found. This is a typed accessor that can be used instead of getControlBinding() to get to an action binding in this region.
Parameters:
name -
Returns:
ControlBinding that matches the given name

getControlBindings

java.util.Map getControlBindings()
Return a list of all control bindings in the container.

containerInitialized

void containerInitialized(BindingContainer container)
Called when the initialization of the container is complete. Any initialization operations on a container that require it to be populated with all of its bindings and iterators should be performed here.

getErrors

java.util.List getErrors()
Get the list of errors raised by the most recent binding operation in this container

getCurrentResourceBundle

java.util.ResourceBundle getCurrentResourceBundle()
Get the current resource bundle.

setCurrentResourceBundle

void setCurrentResourceBundle(java.lang.String id,
                              java.util.Locale locale)
Set the current resource bundle based on the id and locale

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.