Package com.atlassian.labs.speakeasy.event

Examples of com.atlassian.labs.speakeasy.event.ExtensionEnabledGloballyEvent


                disallowAllPluginAccess(plugin.getKey());
            }
        }

        // TODO: send notification email?
        eventPublisher.publish(new ExtensionEnabledGloballyEvent(enabledPlugin.getKey())
                .setUserName(user)
                .setUserEmail(userManager.getUserProfile(user).getEmail()));
        return affectedPluginKeys;
    }
View Full Code Here


    public void disableGlobally(UserExtension repo, String user)
    {
        String pluginKey = repo.getKey();
        data.removeGlobalExtension(pluginKey);
        descriptorGeneratorManager.refreshGeneratedDescriptorsForPlugin(pluginKey);
        eventPublisher.publish(new ExtensionEnabledGloballyEvent(pluginKey).setUserName(user)
                .setUserEmail(userManager.getUserProfile(user).getEmail()));
    }
View Full Code Here

TOP

Related Classes of com.atlassian.labs.speakeasy.event.ExtensionEnabledGloballyEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.