public void publish(Collection<EntityChangedEvent> events) { for (EntityChangedEvent event : events) { eventPublisher.publish(event); } }
protected void publishAuthenticationFailed(Credentials credentials, AuthenticationProvider provider, LoginException e) throws LoginException { events.publish(new AuthenticationFailureEvent(credentials, provider, e)); }
@Override public void onAfterDelete(User entity, Connection connection) { events.publish(new UserInvalidationEvent(entity)); } }
protected void publishAppLoggedInEvent() { AppLoggedInEvent event = new AppLoggedInEvent(this); events.publish(event); }
protected void publishPasswordChangedEvent(User user, String newPassword) { events.publish(new UserPasswordChangedEvent(this, user, newPassword)); } }
@Override public void actionPerform(com.haulmont.cuba.gui.components.Component component) { events.publish(new WidgetEditEvent(widgetLayout)); }
protected void publishAfterAuthenticationEvent(Credentials credentials, AuthenticationDetails authenticationDetails) throws LoginException { events.publish(new AfterAuthenticationEvent(credentials, authenticationDetails)); }
protected void publishBeforeLoginEvent(Credentials credentials) throws LoginException { events.publish(new BeforeLoginEvent(credentials)); }
protected void publishDisconnectedEvent(UserSession previousSession) { events.publish(new UserDisconnectedEvent(this, previousSession)); }
protected void publishAppInitializedEvent(App app) { events.publish(new AppInitializedEvent(app)); }
@Override public void actionPerform(com.haulmont.cuba.gui.components.Component component) { events.publish(new WidgetRemovedEvent(layout)); }
@Override public void actionPerform(com.haulmont.cuba.gui.components.Component component) { events.publish(new ExpandChangedEvent(layout)); }
protected void publishUserSessionSubstitutedEvent(UserSession previousSession, UserSession session) { events.publish(new UserSessionSubstitutedEvent(this, previousSession, session)); }
protected void publishAfterLoginEvent(Credentials credentials, AuthenticationDetails authenticationDetails) { events.publish(new AfterLoginEvent(credentials, authenticationDetails)); }
protected void publishPasswordChangedEvent(User user, String newPassword) { events.publish(new UserPasswordChangedEvent(this, user, newPassword)); }
protected void publishLoginFailed(Credentials credentials, LoginProvider provider, LoginException e) throws LoginException { events.publish(new LoginFailureEvent(credentials, provider, e)); }
@Override public void actionPerform(com.haulmont.cuba.gui.components.Component component) { events.publish(new WeightChangedEvent(layout)); }
@Override public void actionPerform(com.haulmont.cuba.gui.components.Component component) { events.publish(new ColspanChangedEvent(layout)); }
@Override public void actionPerform(com.haulmont.cuba.gui.components.Component component) { events.publish(new StyleChangedEvent(layout)); }