Package models.LifeCycle

Examples of models.LifeCycle.Child.save()


    public void testInheritedBatchDelete() {
        Child lc0 = new Child();
        lc0.foo = "bar";
        lc0.bar = "order";
        lc0.fee = "123";
        lc0.save();
       
        Child lc1 = new Child();
        lc1.foo = "foo";
        lc1.bar = "order";
        lc1.fee = "123";
View Full Code Here


       
        Child lc1 = new Child();
        lc1.foo = "foo";
        lc1.bar = "order";
        lc1.fee = "123";
        lc1.save();
       
        Child.q("bar", "order").delete();
       
        // onBatchDelete is static method so
        // parent hook will not get called
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.