All Packages Class Hierarchy This Package Previous Next Index
DataBean
implementation is
responsible for providing get
and set
accessor methods for each of the unique attributes that it supports.
Capabilities
object which identifies
the attributes that aren't supported by this DataBean
.
public abstract void load()
This method should be called prior to handing the DataBean
off to the UI Framework. On return from this method the bean
should be in a state where it is ready to return data on any of
its accessor methods.
public abstract void verifyChanges()
This method is called just prior to save
to give
the receiver an opportunity to verify that its data is consistent
with any changes made to other DataBean
s associated
with a given panel. If an inconsistency is discovered the
DataBean
should throw an exception. This will
prevent the changes from being committed.
public abstract void save()
public abstract Capabilities getCapabilities()
Capabilities
object which identifies
the attributes that aren't supported by this DataBean
.
There are many reasons why a DataBean
might not support
a given attribute. For example:
The Capabilities
object may provide a list
of instructions, or HandlerTask
s, which the
UI framework is to perform. Typically these involve disabling
or removing certain UI components from a panel.
Capabilities
object which reflects this object's capabilities
All Packages Class Hierarchy This Package Previous Next Index