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

io.vertx.tp.optic.business.ExCompanyEpic Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.tp.optic.business;

import cn.vertxup.erp.domain.tables.daos.ECompanyDao;
import io.vertx.core.Future;
import io.vertx.core.json.JsonObject;
import io.vertx.up.unity.Ux;

/*
 * Get user information from database
 * Company Information
 */
public class ExCompanyEpic implements ExCompany {
    @Override
    public Future fetchAsync(final String id) {
        return Ux.Jooq.on(ECompanyDao.class)
            .fetchByIdAsync(id)
            .compose(Ux::futureJ);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy