All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.vertxup.erp.domain.tables.daos.RTeamEmployeeDao Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
/*
 * This file is generated by jOOQ.
 */
package cn.vertxup.erp.domain.tables.daos;


import cn.vertxup.erp.domain.tables.RTeamEmployee;
import cn.vertxup.erp.domain.tables.records.RTeamEmployeeRecord;

import io.github.jklingsporn.vertx.jooq.shared.internal.AbstractVertxDAO;

import java.util.Collection;

import org.jooq.Configuration;
import org.jooq.Record2;


import java.util.List;
import io.vertx.core.Future;
import io.github.jklingsporn.vertx.jooq.classic.jdbc.JDBCClassicQueryExecutor;
/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RTeamEmployeeDao extends AbstractVertxDAO, Future>, Future, Future, Future>> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO> {

        /**
     * @param configuration The Configuration used for rendering and query
     * execution.
     *      * @param vertx the vertx instance
     */
        public RTeamEmployeeDao(Configuration configuration, io.vertx.core.Vertx vertx) {
                super(RTeamEmployee.R_TEAM_EMPLOYEE, cn.vertxup.erp.domain.tables.pojos.RTeamEmployee.class, new JDBCClassicQueryExecutor>(configuration,cn.vertxup.erp.domain.tables.pojos.RTeamEmployee.class,vertx));
        }

        @Override
        protected Record2 getId(cn.vertxup.erp.domain.tables.pojos.RTeamEmployee object) {
                return compositeKeyRecord(object.getTeamId(), object.getEmployeeId());
        }

        /**
     * Find records that have EMPLOYEE_ID IN (values)
     * asynchronously
     */
        public Future> findManyByEmployeeId(Collection values) {
                return findManyByCondition(RTeamEmployee.R_TEAM_EMPLOYEE.EMPLOYEE_ID.in(values));
        }

        /**
     * Find records that have EMPLOYEE_ID IN (values)
     * asynchronously limited by the given limit
     */
        public Future> findManyByEmployeeId(Collection values, int limit) {
                return findManyByCondition(RTeamEmployee.R_TEAM_EMPLOYEE.EMPLOYEE_ID.in(values),limit);
        }

        /**
     * Find records that have COMMENT IN (values) asynchronously
     */
        public Future> findManyByComment(Collection values) {
                return findManyByCondition(RTeamEmployee.R_TEAM_EMPLOYEE.COMMENT.in(values));
        }

        /**
     * Find records that have COMMENT IN (values) asynchronously
     * limited by the given limit
     */
        public Future> findManyByComment(Collection values, int limit) {
                return findManyByCondition(RTeamEmployee.R_TEAM_EMPLOYEE.COMMENT.in(values),limit);
        }

        @Override
        public JDBCClassicQueryExecutor> queryExecutor(){
                return (JDBCClassicQueryExecutor>) super.queryExecutor();
        }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy