Package io.jmix.securityui.screen.role
Class RemoveRoleConsumer<T extends BaseRoleModel>
java.lang.Object
io.jmix.securityui.screen.role.RemoveRoleConsumer<T>
- All Implemented Interfaces:
Consumer<RemoveOperation.BeforeActionPerformedEvent<T>>
public class RemoveRoleConsumer<T extends BaseRoleModel>
extends Object
implements Consumer<RemoveOperation.BeforeActionPerformedEvent<T>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Messagesprotected Notificationsprotected RoleRepository<?> -
Constructor Summary
ConstructorsConstructorDescriptionRemoveRoleConsumer(RoleRepository<?> roleRepository, Notifications notifications, Messages messages) -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Field Details
-
roleRepository
-
notifications
-
messages
-
-
Constructor Details
-
RemoveRoleConsumer
public RemoveRoleConsumer(RoleRepository<?> roleRepository, Notifications notifications, Messages messages)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<T extends BaseRoleModel>
-