Examples of buildDatabaseKey()


Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

                        }
                        break;
                       
                    case PluginsOptionType.USAGE_DESIGNSOURCE:
                        if (plugin.getCsConfig().getPluginConfig().isUsageAsDesignProvider()) {
                            pluginDBs.add(plugin.buildDatabaseKey());
                        }
                        break;
                }
            }
        }
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

            WGAPlugin plugin = (WGAPlugin) plugins.next();
            if (plugin.isActive()) {
                switch (_usage) {
                   
                    case PluginsOptionType.USAGE_ANY:
                        pluginDBs.add(plugin.buildDatabaseKey());
                        break;
                       
                    case PluginsOptionType.USAGE_AUTHSOURCE:
                        if (plugin.getCsConfig().getPluginConfig().isUsageAsAuthSource()) {
                            pluginDBs.add(plugin.buildDatabaseKey());
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

                        pluginDBs.add(plugin.buildDatabaseKey());
                        break;
                       
                    case PluginsOptionType.USAGE_AUTHSOURCE:
                        if (plugin.getCsConfig().getPluginConfig().isUsageAsAuthSource()) {
                            pluginDBs.add(plugin.buildDatabaseKey());
                        }
                        break;
                   
                    case PluginsOptionType.USAGE_CONTENTSTORE:
                        if (plugin.getCsConfig().getPluginConfig().isUsageAsContentStore()) {
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

                        }
                        break;
                   
                    case PluginsOptionType.USAGE_CONTENTSTORE:
                        if (plugin.getCsConfig().getPluginConfig().isUsageAsContentStore()) {
                            pluginDBs.add(plugin.buildDatabaseKey());
                        }
                        break;
                       
                    case PluginsOptionType.USAGE_DESIGNSOURCE:
                        if (plugin.getCsConfig().getPluginConfig().isUsageAsDesignProvider()) {
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

    else if (contextFunction.equals("db") || contextFunction.equals("plugin")) {
       
        if (contextFunction.equals("plugin")) {
            WGAPlugin plugin = context.getwgacore().getPluginSet().getPluginByUniqueName(contextExpression);
            if (plugin != null) {
                contextExpression = plugin.buildDatabaseKey();
            }
            else {
                context.setLastError("Unknown plugin unique name: " + contextExpression);
                return errorReturnContext;
            }
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

            TMLContext con = fetchInitialContext(Context.getCurrentContext());
            WGAPlugin plugin = con.getwgacore().getPluginSet().getPluginByUniqueName((String) arg1);
            if (plugin == null || !plugin.isActive() || !plugin.isValid()) {
                return null;
            }
            WGDatabase db = con.db(plugin.buildDatabaseKey());
            if (db != null) {
                return new Plugin(db);
            }
            else {
                return null;
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

    @CodeCompletion
    public String plugindbkey(String pluginUniqueName) {
       
        WGAPlugin plugin = getwgacore().getPluginSet().getPluginByUniqueName(pluginUniqueName);
        if (plugin != null) {
            return plugin.buildDatabaseKey();
        }
        else {
            return null;
        }
       
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

        List<String> designs = new ArrayList<String>();
        Iterator<WGAPlugin> plugins = _core.getPluginSet().getPlugins().iterator();
        while (plugins.hasNext()) {
            WGAPlugin plugin = (WGAPlugin) plugins.next();
            if (plugin.isActive() && plugin.isValid() && plugin.getCsConfig().getPluginConfig().isUsageAsDesignProvider()) {
                WGDatabase db = _core.getContentdbs().get(plugin.buildDatabaseKey());
                if (db != null) {
                    designs.add(plugin.getInstallationKey());
                }
            }
        }
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

    public PluginDesignProvider createDesignProvider(WGADesign design, WGDatabase db, Map<String, String> options) throws WGADesignConfigurationException {
       
        try {
            WGAPlugin plugin = getPlugin(design);
            PluginDesignProvider designProvider = new PluginDesignProvider(design.createDesignReference(), _core, db, plugin.buildDatabaseKey(), options);
            return designProvider;
        }
        catch (WGADesignConfigurationException e) {
            throw e;
        }
View Full Code Here

Examples of de.innovationgate.wgpublisher.plugins.WGAPlugin.buildDatabaseKey()

        WGAPlugin plugin = _core.getPluginSet().getPluginsByInstallationKey().get(name);
        if (plugin == null || !(plugin.isActive() && plugin.isValid() && plugin.getCsConfig().getPluginConfig().isUsageAsDesignProvider())) {
            return null;
        }
           
        WGDatabase db = _core.getContentdbs().get(plugin.buildDatabaseKey());
        if (db == null) {
            return null;
        }
       
        WGADesign design = new WGADesign();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.