Skip navigation links

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

E17483-04


oracle.adf.model
Interface RegionBinding

All Superinterfaces:
BindingContainer, java.util.Map
All Known Subinterfaces:
MutableRegionBinding
All Known Implementing Classes:
DCBindingContainer, JUFormBinding, JUPanelBinding, JUShuttleModel

public interface RegionBinding
extends BindingContainer

A map that provides a name-space to locate binding objects through which data is accessed on a view regionController.


Nested Class Summary

 

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

 

Field Summary
static int EXECUTE_MODEL
           
static int PREPARE_MODEL
           
static int REFRESH_UNKNOWN
           
static int RENDER_MODEL
           
static int TYPE_EXECUTABLE_REGION
           

 

Method Summary
 java.lang.Object getActionProcessor()
          Returns an instance of java bean that may implement event-handling for actions defined on this RegionBinding.
 int getExecutableType()
          Returns one of an enumeration of Executable binding types in the framework.
 java.util.List getRegionBindings()
          Return a list of all nested RegionBindings contained by this RegionBinding.
 RegionController getRegionController()
          Returns an instance of RegionController that should handle the lifecycle for this RegionBinding.
 boolean isViewable()
          Consults security to return whether this regionController binding should be visible in the current context or not.
 void refresh(int flag)
          Refresh data for this regionBinding based on the given flag.
 void release(int flags)
           

 

Methods inherited from interface oracle.binding.BindingContainer
getAttributeBindings, getControlBinding, getControlBindings, getName, getOperationBinding, getOperationBindings, getStateToken, isTokenValidationEnabled, refresh, release, releaseObsoleteStateFromContext, validate, validateToken

 

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

 

Field Detail

TYPE_EXECUTABLE_REGION

static final int TYPE_EXECUTABLE_REGION
See Also:
Constant Field Values

REFRESH_UNKNOWN

static final int REFRESH_UNKNOWN
See Also:
Constant Field Values

EXECUTE_MODEL

static final int EXECUTE_MODEL
See Also:
Constant Field Values

PREPARE_MODEL

static final int PREPARE_MODEL
See Also:
Constant Field Values

RENDER_MODEL

static final int RENDER_MODEL
See Also:
Constant Field Values

Method Detail

getRegionBindings

java.util.List getRegionBindings()
Return a list of all nested RegionBindings contained by this RegionBinding.

getExecutableType

int getExecutableType()
Returns one of an enumeration of Executable binding types in the framework.

int value of 0 is reserved for RegionBinding or BindingContainer type.


getRegionController

RegionController getRegionController()
Returns an instance of RegionController that should handle the lifecycle for this RegionBinding.

By default this will return null. For Regions that have an overridden RegionController defined in the Region definition this will return an instance of the RegionController implementation.

This RegionBinding controller is invoked when this RegionBinding needs to refresh or validate it's contained RegionBindings.


getActionProcessor

java.lang.Object getActionProcessor()
Returns an instance of java bean that may implement event-handling for actions defined on this RegionBinding.

A controller should delegate to this event processor for handling action events for those actions that have a corresponding method. Otherwise controller should invoke the ActionBinding directly.


refresh

void refresh(int flag)
Refresh data for this regionBinding based on the given flag.

isViewable

boolean isViewable()
Consults security to return whether this regionController binding should be visible in the current context or not. It is expected that view technologies will consult this flag before processing region's model.

release

void release(int flags)

Skip navigation links

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

E17483-04


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