Class ScreenResourcePolicyModelCreate
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.securityui.screen.resourcepolicy.MultipleResourcePolicyModelCreateScreen
io.jmix.securityui.screen.resourcepolicy.ScreenResourcePolicyModelCreate
- All Implemented Interfaces:
FrameOwner
@UiController("sec_ScreenResourcePolicyModel.create")
@UiDescriptor("screen-resource-policy-model-create.xml")
public class ScreenResourcePolicyModelCreate
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) protected void
onMenuAccessFieldValueChange
(HasValue.ValueChangeEvent<Boolean> booleanValueChangeEvent) protected void
protected void
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
-
ScreenResourcePolicyModelCreate
public ScreenResourcePolicyModelCreate()
-
-
Method Details
-
onInit
-
onPolicyGroupFieldValueChange
@Subscribe("policyGroupField") protected void onPolicyGroupFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onMenuItemFieldValueChange
@Subscribe("menuItemField") protected void onMenuItemFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onMenuAccessFieldValueChange
@Subscribe("menuAccessField") protected void onMenuAccessFieldValueChange(HasValue.ValueChangeEvent<Boolean> booleanValueChangeEvent) -
onScreenFieldValueChange
@Subscribe("screenField") public 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
-