Examples of QTodo


Examples of net.petrikainulainen.spring.datajpa.todo.model.QTodo

* @author Petri Kainulainen
*/
public class TodoPredicates {

    public static Predicate titleOrDescriptionContains(String searchTerm) {
        QTodo todo = QTodo.todo;
        return todo.title.containsIgnoreCase(searchTerm)
                .or(todo.description.containsIgnoreCase(searchTerm));
    }
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.