Examples of newTodo()


Examples of org.prevayler.socketserver.example.server.TodoList.newTodo()

  /**
   * @see org.prevayler.util.TransactionWithQuery#executeAndQuery(Object, Date)
   */
  public Object executeAndQuery(Object prevalentSystem, Date timestamp) throws Exception {
    TodoList todoList = (TodoList) prevalentSystem;
    Todo todo = todoList.newTodo();
    todo.setDesc(desc);

    // Notify interested clients that the list just changed
    // Note that much more complex notification schemes can be devised
    // than this.
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.