Class EntityAttributeResourcePolicyModelCreate
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.securityui.screen.resourcepolicy.MultipleResourcePolicyModelCreateScreen
io.jmix.securityui.screen.resourcepolicy.EntityAttributeResourcePolicyModelCreate
- All Implemented Interfaces:
FrameOwner
@UiController("sec_EntityAttributeResourcePolicyModel.create")
@UiDescriptor("entity-attribute-resource-policy-model-create.xml")
public class EntityAttributeResourcePolicyModelCreate
extends MultipleResourcePolicyModelCreateScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Fields inherited from class io.jmix.securityui.screen.resourcepolicy.MultipleResourcePolicyModelCreateScreen
CANCEL_ACTION_ID, COMMIT_ACTION_ID
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
onAttributesDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<AttributeResourceModel> event) void
void
void
onPolicyGroupFieldValueChange
(HasValue.ValueChangeEvent<String> stringValueChangeEvent) protected ValidationErrors
Methods inherited from class io.jmix.securityui.screen.resourcepolicy.MultipleResourcePolicyModelCreateScreen
initScreenActions, onMultipleResourcePolicyModelCreateScreenInit
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Constructor Details
-
EntityAttributeResourcePolicyModelCreate
public EntityAttributeResourcePolicyModelCreate()
-
-
Method Details
-
onBeforeShow
-
onPolicyGroupFieldValueChange
@Subscribe("policyGroupField") public void onPolicyGroupFieldValueChange(HasValue.ValueChangeEvent<String> stringValueChangeEvent) -
onEntityFieldValueChange
@Subscribe("entityField") public void onEntityFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onAttributesDcItemPropertyChange
@Subscribe(id="attributesDc", target=DATA_CONTAINER) public void onAttributesDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<AttributeResourceModel> event) -
getResourcePolicies
- Specified by:
getResourcePolicies
in classMultipleResourcePolicyModelCreateScreen
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChanges
in classMultipleResourcePolicyModelCreateScreen
-
validateScreen
- Specified by:
validateScreen
in classMultipleResourcePolicyModelCreateScreen
-