public interface DataSupplier extends DataManager, DataService
The standard implementation simply delegates to DataManager
. A screen can define its implementation of
the DataSupplier in dataSupplier
attribute of the window
element.
DataSupplier implementation can be injected to the screen controller by defining a field of DataSupplier
type annotated with @Inject
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Do not try to obtain DataSupplier through
AppBeans.get() or by injection to regular Spring beans. |
Modifier and Type | Method and Description |
---|---|
<A extends Entity> |
newInstance(MetaClass metaClass)
Create a new entity instance
|
commit, commit, commit, commit, getCount, load, load, loadList, loadValue, loadValues, loadValues, reload, reload, reload, reload, remove, secure
commit, getCount, load, loadList, loadValues
static final java.lang.String NAME
AppBeans.get()
or by injection to regular Spring beans.
Only injection to screens works.