public interface DataSupplier extends DataManager
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 @Autowired
.
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 io.jmix.core.Entity> |
newInstance(io.jmix.core.metamodel.model.MetaClass metaClass)
Create a new entity instance
|
commit, commit, commit, commit, commit, create, getCount, getDelegate, getReference, getReference, load, load, load, loadList, loadValue, loadValues, loadValues, reload, reload, reload, reload, remove, remove, secure
static final java.lang.String NAME
AppBeans.get()
or by injection to regular Spring beans.
Only injection to screens works.