Examples of requestSelectContentForName()


Examples of de.innovationgate.wgpublisher.lang.LanguageBehaviour.requestSelectContentForName()

        // Try to find a document named "home" in the relevant languages
        db = core.openContentDB(db, request, false);
        if (db.isSessionOpen()) {
           
            LanguageBehaviour langBehaviour = LanguageBehaviourTools.retrieve(db);
            WGContent content = langBehaviour.requestSelectContentForName(db, request, "home", false);
            if (content != null && content.mayBePublished(false, WGContent.DISPLAYTYPE_NONE)) {
                return dispatcher.getPublisherURL(request) + "/" + db.getDbReference().toLowerCase() + "/home";
            }
        }
    return null;
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.