@UiController(value="dshbrd_EntityValue.fragment") @UiDescriptor(value="entity-value-fragment.xml") public class EntityValueFragment extends io.jmix.ui.screen.ScreenFragment implements ValueFragment
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.DataManager |
dataManager |
protected io.jmix.ui.component.ComboBox<java.lang.Object> |
entitiesComboBox |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
fetchPlanComboBox |
protected io.jmix.ui.component.ComboBox<io.jmix.core.metamodel.model.MetaClass> |
metaClassComboBox |
protected io.jmix.core.Metadata |
metadata |
VALUE, VALUE_TYPE
Constructor and Description |
---|
EntityValueFragment() |
Modifier and Type | Method and Description |
---|---|
ParameterValue |
getValue() |
void |
init(java.util.Map<java.lang.String,java.lang.Object> params) |
protected void |
loadAllPersistentClasses() |
protected void |
loadEntities(io.jmix.core.metamodel.model.MetaClass metaClass) |
protected void |
loadFetchPlans(io.jmix.core.metamodel.model.MetaClass metaClass) |
protected void |
metaClassValueChanged(io.jmix.core.metamodel.model.MetaClass metaClass) |
void |
onInit(io.jmix.ui.screen.ScreenFragment.InitEvent event) |
void |
selectIfExist(EntityParameterValue value) |
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
@Autowired protected io.jmix.ui.component.ComboBox<io.jmix.core.metamodel.model.MetaClass> metaClassComboBox
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.Object> entitiesComboBox
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> fetchPlanComboBox
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected io.jmix.core.DataManager dataManager
@Subscribe public void onInit(io.jmix.ui.screen.ScreenFragment.InitEvent event)
public void init(java.util.Map<java.lang.String,java.lang.Object> params)
public ParameterValue getValue()
getValue
in interface ValueFragment
protected void loadAllPersistentClasses()
public void selectIfExist(EntityParameterValue value)
protected void metaClassValueChanged(io.jmix.core.metamodel.model.MetaClass metaClass)
protected void loadEntities(io.jmix.core.metamodel.model.MetaClass metaClass)
protected void loadFetchPlans(io.jmix.core.metamodel.model.MetaClass metaClass)