Package com.psddev.cms.db

Examples of com.psddev.cms.db.History.save()


                first();

        if (page.isFormPost()) {
            try {
                history.setName(page.param(String.class, "name"));
                history.save();

                page.writeStart("script", "type", "text/javascript");
                    page.write("window.location = window.location;");
                page.writeEnd();
View Full Code Here


        History history = Content.Static.publish(object, getSite(), getUser());

        if (history != null &&
                param(boolean.class, "editAnyway")) {
            history.setLockIgnored(true);
            history.save();
        }

        return history;
    }
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.