Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.bindings
Interface BindingContainer

All Superinterfaces:
Map
All Known Implementing Classes:
BindingContainerImpl

public interface BindingContainer
extends 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 oracle.adfnmc.java.util.Map
Map.Entry
 
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.
 Map getControlBindings()
          Return a list of all control bindings in the container.
 ResourceBundle getCurrentResourceBundle()
           
 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, Locale locale)
           
 
Methods inherited from interface oracle.adfnmc.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

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 it's bindings and iterators should be performed here.


getErrors

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


getCurrentResourceBundle

ResourceBundle getCurrentResourceBundle()

setCurrentResourceBundle

void setCurrentResourceBundle(java.lang.String id,
                              Locale locale)

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.