Package models

Examples of models.Tick


        Application application = new DefaultApplication(new File(args[0]), TickJob.class.getClassLoader(), null, Mode.Prod());

        Play.start(application);

        Tick tick = new Tick("Hello from the TickJob");
        tick.save();
       
        Play.stop();
    }
View Full Code Here


import java.util.List;

public class Application extends Controller {

    public static Result index() {
        Tick tick = new Tick("Hello from the Application Controller");
        tick.save();
        List<Tick> ticks = new Model.Finder(Long.class, Tick.class).all();
        return ok(views.html.index.render(ticks));
    }
View Full Code Here

TOP

Related Classes of models.Tick

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.