Class MenuResourcePolicyModelCreate
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.securityui.screen.resourcepolicy.MultipleResourcePolicyModelCreateScreen
io.jmix.securityui.screen.resourcepolicy.MenuResourcePolicyModelCreate
- All Implemented Interfaces:
FrameOwner
@UiController("sec_MenuResourcePolicyModel.create")
@UiDescriptor("menu-resource-policy-model-create.xml")
public class MenuResourcePolicyModelCreate
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
onInit
(Screen.InitEvent event) void
protected void
protected void
protected void
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, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Constructor Details
-
MenuResourcePolicyModelCreate
public MenuResourcePolicyModelCreate()
-
-
Method Details
-
onInit
-
onMenuFieldValueChange
@Subscribe("menuItemField") public void onMenuFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onPolicyGroupFieldValueChange
@Subscribe("policyGroupField") protected void onPolicyGroupFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onScreenAccessFieldValueChange
@Subscribe("screenAccessField") protected void onScreenAccessFieldValueChange(HasValue.ValueChangeEvent<Boolean> event) -
onScreenFieldValueChange
@Subscribe("screenField") protected void onScreenFieldValueChange(HasValue.ValueChangeEvent<String> event) -
validateScreen
- Specified by:
validateScreen
in classMultipleResourcePolicyModelCreateScreen
-
getResourcePolicies
- Specified by:
getResourcePolicies
in classMultipleResourcePolicyModelCreateScreen
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChanges
in classMultipleResourcePolicyModelCreateScreen
-