@@ -0,0 +1,765 @@
+package com.defterp.modules.users.queryBuilders;%0A%0Aimport com.defterp.util.QueryWrapper;%0A%0Apublic class UserQueryBuilder %7B%0A%0A    private static final String FIND_ALL = %22SELECT u FROM User u%22;%0A    private static final String FIND_BY_LOGIN = %22SELECT u FROM User u WHERE u.login = :login AND u.password = :password AND u.active = true%22;%0A%0A    private static QueryWrapper query;%0A%0A    public static QueryWrapper getFindAllQuery() %7B%0A        query = new QueryWrapper(FIND_ALL);%0A%0A        return query;%0A    %7D%0A%0A    public static QueryWrapper getFindByLoginQuery(String userName, String password) %7B%0A        query = new QueryWrapper(FIND_BY_LOGIN)%0A                .setParameter(%22login%22, userName)%0A                .setParameter(%22password%22, password);%0A%0A        return query;%0A    %7D%0A%7D%0A

create "UserQueryBuilder" under "modules.users.queryBuilders" package