Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGDesignProvider


      throw new WGAServiceException("You need an administrative login to access this service.");
    }
   
    WGDatabase db = retrieveAndOpenDB(session, dbKey);
    if (db.isSessionOpen()) {
      WGDesignProvider provider = db.getDesignProvider();
      if (provider instanceof FileSystemDesignProvider) {
        return ((FileSystemDesignProvider)provider).getDesignPath();
      } else {
        return null;
      }
View Full Code Here


        if (designDb.getDbReference().startsWith(PluginConfig.PLUGIN_DBKEY_PREFIX)) {
            return new Plugin(designDb);
        }
       
        // Follow to the design provider
        WGDesignProvider provider = designDb.getDesignProvider();
        if (!(provider instanceof PluginDesignProvider)) {
            return null;
        }
       
        PluginDesignProvider pluginProvider = (PluginDesignProvider) provider;
View Full Code Here

    }
   
    public static boolean isCustomized(Context cx, Scriptable thisObj, java.lang.Object[] args, Function funObj) {
       
        Design design = unwrapThisObj(thisObj);
        WGDesignProvider designProvider = design._designContext.getDesignDB().getDesignProvider();
        return (designProvider instanceof OverlayDesignProvider);
       
    }
View Full Code Here

        return newTimestamp;
    }

    public String getDesignDatabaseKey(WGDatabase db) {

        WGDesignProvider prov = db.getDesignProvider();
        if (prov instanceof DBDesignProvider) {
            return ((DBDesignProvider) prov).getDesignDBKey();
        }
        else {
            return db.getDbReference();
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.WGDesignProvider

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.