Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGDatabase.onConnect()


                                                               
                // System container initialisations
                if (scContext != null) {
                    scContext.performInitialisation(new Boolean(isEmptyDB));
                    if (isEmptyDB) {
                        db.onConnect(new ValidateDefaultLanguageAction());
                    }
                }
               
                // Registering connection
                this.contentdbs.put(db.getDbReference(), db);
View Full Code Here


      this.log.error("Unable to check if database '" + db.getDbReference() + "' is empty.", e);     
    }            

        // Validate default language definition
        if (!isEmptyDB && db.hasFeature(WGDatabase.FEATURE_FULLCONTENTFEATURES)) {
            db.onConnect(new ValidateDefaultLanguageAction());
        }
       
        // Eventually prepare "external self-personalisation"
        if (db.hasFeature(WGDatabase.FEATURE_FULLCONTENTFEATURES) && domainConfig.getPersonalisation() == null && !db.hasFeature(WGDatabase.FEATURE_SELF_PERSONALIZABLE)) {
            try {
View Full Code Here

        // Do system container initialisations
        if (scContext != null) {
            scContext.performInitialisation(new Boolean(isEmptyDB));
            // Revalidate the default language if the database was empty before initialisation, might have new definitions now
            if (isEmptyDB) {
                db.onConnect(new ValidateDefaultLanguageAction());
            }
        }
       
        // Mark this database as fully connected
        db.setAttribute(DBATTRIB_FULLY_CONNECTED, "true");
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.