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

cn.vertxup.graphic.domain.tables.daos.GGraphicDao Maven / Gradle / Ivy

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


import cn.vertxup.graphic.domain.tables.GGraphic;
import cn.vertxup.graphic.domain.tables.records.GGraphicRecord;

import io.github.jklingsporn.vertx.jooq.future.VertxDAO;

import java.time.LocalDateTime;
import java.util.List;

import javax.annotation.Generated;

import org.jooq.Configuration;
import org.jooq.impl.DAOImpl;


import java.util.concurrent.CompletableFuture;
import io.github.jklingsporn.vertx.jooq.future.util.FutureTool;
/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.10.8"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class GGraphicDao extends DAOImpl implements VertxDAO {

    /**
     * Create a new GGraphicDao without any configuration
     */
    public GGraphicDao() {
        super(GGraphic.G_GRAPHIC, cn.vertxup.graphic.domain.tables.pojos.GGraphic.class);
    }

    /**
     * Create a new GGraphicDao with an attached configuration
     */
    public GGraphicDao(Configuration configuration) {
        super(GGraphic.G_GRAPHIC, cn.vertxup.graphic.domain.tables.pojos.GGraphic.class, configuration);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected String getId(cn.vertxup.graphic.domain.tables.pojos.GGraphic object) {
        return object.getKey();
    }

    /**
     * Fetch records that have KEY IN (values)
     */
    public List fetchByKey(String... values) {
        return fetch(GGraphic.G_GRAPHIC.KEY, values);
    }

    /**
     * Fetch a unique record that has KEY = value
     */
    public cn.vertxup.graphic.domain.tables.pojos.GGraphic fetchOneByKey(String value) {
        return fetchOne(GGraphic.G_GRAPHIC.KEY, value);
    }

    /**
     * Fetch records that have NAME IN (values)
     */
    public List fetchByName(String... values) {
        return fetch(GGraphic.G_GRAPHIC.NAME, values);
    }

    /**
     * Fetch records that have CODE IN (values)
     */
    public List fetchByCode(String... values) {
        return fetch(GGraphic.G_GRAPHIC.CODE, values);
    }

    /**
     * Fetch records that have MODE IN (values)
     */
    public List fetchByMode(String... values) {
        return fetch(GGraphic.G_GRAPHIC.MODE, values);
    }

    /**
     * Fetch records that have TYPE IN (values)
     */
    public List fetchByType(String... values) {
        return fetch(GGraphic.G_GRAPHIC.TYPE, values);
    }

    /**
     * Fetch records that have COMMENTS IN (values)
     */
    public List fetchByComments(String... values) {
        return fetch(GGraphic.G_GRAPHIC.COMMENTS, values);
    }

    /**
     * Fetch records that have OWNER_ID IN (values)
     */
    public List fetchByOwnerId(String... values) {
        return fetch(GGraphic.G_GRAPHIC.OWNER_ID, values);
    }

    /**
     * Fetch records that have UI IN (values)
     */
    public List fetchByUi(String... values) {
        return fetch(GGraphic.G_GRAPHIC.UI, values);
    }

    /**
     * Fetch records that have GRAPHIC_ID IN (values)
     */
    public List fetchByGraphicId(String... values) {
        return fetch(GGraphic.G_GRAPHIC.GRAPHIC_ID, values);
    }

    /**
     * Fetch records that have MASTER IN (values)
     */
    public List fetchByMaster(Boolean... values) {
        return fetch(GGraphic.G_GRAPHIC.MASTER, values);
    }

    /**
     * Fetch records that have MODEL_ID IN (values)
     */
    public List fetchByModelId(String... values) {
        return fetch(GGraphic.G_GRAPHIC.MODEL_ID, values);
    }

    /**
     * Fetch records that have MODEL_KEY IN (values)
     */
    public List fetchByModelKey(String... values) {
        return fetch(GGraphic.G_GRAPHIC.MODEL_KEY, values);
    }

    /**
     * Fetch records that have MODEL_CATEGORY IN (values)
     */
    public List fetchByModelCategory(String... values) {
        return fetch(GGraphic.G_GRAPHIC.MODEL_CATEGORY, values);
    }

    /**
     * Fetch records that have SIGMA IN (values)
     */
    public List fetchBySigma(String... values) {
        return fetch(GGraphic.G_GRAPHIC.SIGMA, values);
    }

    /**
     * Fetch records that have LANGUAGE IN (values)
     */
    public List fetchByLanguage(String... values) {
        return fetch(GGraphic.G_GRAPHIC.LANGUAGE, values);
    }

    /**
     * Fetch records that have ACTIVE IN (values)
     */
    public List fetchByActive(Boolean... values) {
        return fetch(GGraphic.G_GRAPHIC.ACTIVE, values);
    }

    /**
     * Fetch records that have METADATA IN (values)
     */
    public List fetchByMetadata(String... values) {
        return fetch(GGraphic.G_GRAPHIC.METADATA, values);
    }

    /**
     * Fetch records that have CREATED_AT IN (values)
     */
    public List fetchByCreatedAt(LocalDateTime... values) {
        return fetch(GGraphic.G_GRAPHIC.CREATED_AT, values);
    }

    /**
     * Fetch records that have CREATED_BY IN (values)
     */
    public List fetchByCreatedBy(String... values) {
        return fetch(GGraphic.G_GRAPHIC.CREATED_BY, values);
    }

    /**
     * Fetch records that have UPDATED_AT IN (values)
     */
    public List fetchByUpdatedAt(LocalDateTime... values) {
        return fetch(GGraphic.G_GRAPHIC.UPDATED_AT, values);
    }

    /**
     * Fetch records that have UPDATED_BY IN (values)
     */
    public List fetchByUpdatedBy(String... values) {
        return fetch(GGraphic.G_GRAPHIC.UPDATED_BY, values);
    }

    /**
     * Fetch records that have KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchByKeyAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.KEY,values);
    }

    /**
     * Fetch a unique record that has KEY = value asynchronously
     */
    public CompletableFuture fetchOneByKeyAsync(String value) {
        return FutureTool.executeBlocking(h->h.complete(fetchOneByKey(value)),vertx());
    }

    /**
     * Fetch records that have NAME IN (values) asynchronously
     */
    public CompletableFuture> fetchByNameAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.NAME,values);
    }

    /**
     * Fetch records that have CODE IN (values) asynchronously
     */
    public CompletableFuture> fetchByCodeAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.CODE,values);
    }

    /**
     * Fetch records that have MODE IN (values) asynchronously
     */
    public CompletableFuture> fetchByModeAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.MODE,values);
    }

    /**
     * Fetch records that have TYPE IN (values) asynchronously
     */
    public CompletableFuture> fetchByTypeAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.TYPE,values);
    }

    /**
     * Fetch records that have COMMENTS IN (values) asynchronously
     */
    public CompletableFuture> fetchByCommentsAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.COMMENTS,values);
    }

    /**
     * Fetch records that have OWNER_ID IN (values) asynchronously
     */
    public CompletableFuture> fetchByOwnerIdAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.OWNER_ID,values);
    }

    /**
     * Fetch records that have UI IN (values) asynchronously
     */
    public CompletableFuture> fetchByUiAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.UI,values);
    }

    /**
     * Fetch records that have GRAPHIC_ID IN (values) asynchronously
     */
    public CompletableFuture> fetchByGraphicIdAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.GRAPHIC_ID,values);
    }

    /**
     * Fetch records that have MASTER IN (values) asynchronously
     */
    public CompletableFuture> fetchByMasterAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.MASTER,values);
    }

    /**
     * Fetch records that have MODEL_ID IN (values) asynchronously
     */
    public CompletableFuture> fetchByModelIdAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.MODEL_ID,values);
    }

    /**
     * Fetch records that have MODEL_KEY IN (values) asynchronously
     */
    public CompletableFuture> fetchByModelKeyAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.MODEL_KEY,values);
    }

    /**
     * Fetch records that have MODEL_CATEGORY IN (values) asynchronously
     */
    public CompletableFuture> fetchByModelCategoryAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.MODEL_CATEGORY,values);
    }

    /**
     * Fetch records that have SIGMA IN (values) asynchronously
     */
    public CompletableFuture> fetchBySigmaAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.SIGMA,values);
    }

    /**
     * Fetch records that have LANGUAGE IN (values) asynchronously
     */
    public CompletableFuture> fetchByLanguageAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.LANGUAGE,values);
    }

    /**
     * Fetch records that have ACTIVE IN (values) asynchronously
     */
    public CompletableFuture> fetchByActiveAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.ACTIVE,values);
    }

    /**
     * Fetch records that have METADATA IN (values) asynchronously
     */
    public CompletableFuture> fetchByMetadataAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.METADATA,values);
    }

    /**
     * Fetch records that have CREATED_AT IN (values) asynchronously
     */
    public CompletableFuture> fetchByCreatedAtAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.CREATED_AT,values);
    }

    /**
     * Fetch records that have CREATED_BY IN (values) asynchronously
     */
    public CompletableFuture> fetchByCreatedByAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.CREATED_BY,values);
    }

    /**
     * Fetch records that have UPDATED_AT IN (values) asynchronously
     */
    public CompletableFuture> fetchByUpdatedAtAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.UPDATED_AT,values);
    }

    /**
     * Fetch records that have UPDATED_BY IN (values) asynchronously
     */
    public CompletableFuture> fetchByUpdatedByAsync(List values) {
        return fetchAsync(GGraphic.G_GRAPHIC.UPDATED_BY,values);
    }

    private io.vertx.core.Vertx vertx;

    @Override
    public void setVertx(io.vertx.core.Vertx vertx) {
        this.vertx = vertx;
    }

    @Override
    public io.vertx.core.Vertx vertx() {
        return this.vertx;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy