Class EntityResourcePolicyModelCreate
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.securityui.screen.resourcepolicy.MultipleResourcePolicyModelCreateScreen
io.jmix.securityui.screen.resourcepolicy.EntityResourcePolicyModelCreate
- All Implemented Interfaces:
FrameOwner
@UiController("sec_EntityResourcePolicyModel.create")
@UiDescriptor("entity-resource-policy-model-create.xml")
public class EntityResourcePolicyModelCreate
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
void
onAllActionsCheckBoxValueChange
(HasValue.ValueChangeEvent<Boolean> booleanValueChangeEvent) void
void
onInit
(Screen.InitEvent event) 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
-
EntityResourcePolicyModelCreate
public EntityResourcePolicyModelCreate()
-
-
Method Details
-
onInit
-
onPolicyGroupFieldValueChange
@Subscribe("policyGroupField") public void onPolicyGroupFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onEntityFieldValueChange
@Subscribe("entityField") public void onEntityFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onActionsCheckBoxGroupValueChange
@Subscribe("actionsCheckBoxGroup") public void onActionsCheckBoxGroupValueChange(HasValue.ValueChangeEvent<Collection<EntityPolicyAction>> event) -
onAllActionsCheckBoxValueChange
@Subscribe("allCheckBox") public void onAllActionsCheckBoxValueChange(HasValue.ValueChangeEvent<Boolean> booleanValueChangeEvent) -
validateScreen
- Specified by:
validateScreen
in classMultipleResourcePolicyModelCreateScreen
-
getResourcePolicies
- Specified by:
getResourcePolicies
in classMultipleResourcePolicyModelCreateScreen
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChanges
in classMultipleResourcePolicyModelCreateScreen
-