Package io.jmix.securitydata.impl
Class SubstitutionUserRemovalHandler
java.lang.Object
io.jmix.securitydata.impl.SubstitutionUserRemovalHandler
@Component("sec_SubstitutionUserRemovalHandler")
public class SubstitutionUserRemovalHandler
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionSubstitutionUserRemovalHandler
(UnconstrainedDataManager dataManager, org.springframework.context.ApplicationEventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fireUserSubstitutionsChanged
(String username) void
onUserRemove
(UserRemovedEvent event)
-
Field Details
-
eventPublisher
protected org.springframework.context.ApplicationEventPublisher eventPublisher
-
-
Constructor Details
-
SubstitutionUserRemovalHandler
public SubstitutionUserRemovalHandler(UnconstrainedDataManager dataManager, org.springframework.context.ApplicationEventPublisher eventPublisher)
-
-
Method Details
-
onUserRemove
@Transactional @TransactionalEventListener(phase=BEFORE_COMMIT, fallbackExecution=true) public void onUserRemove(UserRemovedEvent event) -
fireUserSubstitutionsChanged
-