public interface RegionBinding extends BindingContainer
Modifier and Type | Field and Description |
---|---|
static int |
EXECUTE_MODEL |
static int |
PREPARE_MODEL |
static int |
REFRESH_UNKNOWN |
static int |
RENDER_MODEL |
static int |
TYPE_EXECUTABLE_REGION |
Modifier and Type | Method and Description |
---|---|
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) |
getAttributeBindings, getControlBinding, getControlBindings, getName, getOperationBinding, getOperationBindings, getStateToken, isTokenValidationEnabled, refresh, release, releaseObsoleteStateFromContext, validate, validateToken
static final int TYPE_EXECUTABLE_REGION
static final int REFRESH_UNKNOWN
static final int EXECUTE_MODEL
static final int PREPARE_MODEL
static final int RENDER_MODEL
java.util.List getRegionBindings()
int getExecutableType()
int value of 0 is reserved for RegionBinding or BindingContainer type.
RegionController getRegionController()
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.
java.lang.Object getActionProcessor()
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.
void refresh(int flag)
boolean isViewable()
void release(int flags)