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

cn.featherfly.hammer.tpl.mapper.BasedTplHammer Maven / Gradle / Ivy

There is a newer version: 0.7.2
Show newest version

package cn.featherfly.hammer.tpl.mapper;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import cn.featherfly.common.structure.page.Page;
import cn.featherfly.common.structure.page.PaginationResults;
import cn.featherfly.hammer.Hammer;
import cn.featherfly.hammer.dsl.execute.Delete;
import cn.featherfly.hammer.dsl.execute.Update;
import cn.featherfly.hammer.dsl.query.QueryEntity;
import cn.featherfly.hammer.dsl.query.TypeQueryEntity;
import cn.featherfly.hammer.tpl.TplExecuteId;

/**
 * 

* BasedTplHammer *

* * @author zhongj */ public class BasedTplHammer implements Hammer { /** The hammer. */ protected Hammer hammer; /** * Instantiates a new based hammer tpl executor. * * @param hammer the hammer */ public BasedTplHammer(Hammer hammer) { this.hammer = hammer; } /** * {@inheritDoc} */ @Override public BigDecimal numberBigDecimal(String tplExecuteId, Map params) { return hammer.numberBigDecimal(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public Delete delete(String repository) { return hammer.delete(repository); } /** * {@inheritDoc} */ @Override public Delete delete(Class entityType) { return hammer.delete(entityType); } /** * {@inheritDoc} */ @Override public int delete(Serializable id, Class entityType) { return hammer.delete(id, entityType); } /** * {@inheritDoc} */ @Override public int delete(E entity) { return hammer.delete(entity); } /** * {@inheritDoc} */ @Override public int delete(@SuppressWarnings("unchecked") E... entities) { return hammer.delete(entities); } /** * {@inheritDoc} */ @Override public int delete(List entities) { return hammer.delete(entities); } /** * {@inheritDoc} */ @Override public Double numberDouble(String tplExecuteId, Map params) { return hammer.numberDouble(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public E get(E entity) { return hammer.get(entity); } /** * {@inheritDoc} */ @Override public E get(Serializable id, Class type) { return hammer.get(id, type); } /** * {@inheritDoc} */ @Override public Integer numberInt(String tplExecuteId, Map params) { return hammer.numberInt(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public List list(String tplExecuteId, Class entityType, Map params) { return hammer.list(tplExecuteId, entityType, params); } /** * {@inheritDoc} */ @Override public List list(String tplExecuteId, Class entityType, Map params, int offset, int limit) { return hammer.list(tplExecuteId, entityType, params, offset, limit); } /** * {@inheritDoc} */ @Override public List list(String tplExecuteId, Class entityType, Map params, Page page) { return hammer.list(tplExecuteId, entityType, params, page); } /** * {@inheritDoc} */ @Override public List> list(String tplExecuteId, Map params) { return hammer.list(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public List> list(String tplExecuteId, Map params, int offset, int limit) { return hammer.list(tplExecuteId, params, offset, limit); } /** * {@inheritDoc} */ @Override public List> list(String tplExecuteId, Map params, Page page) { return hammer.list(tplExecuteId, params, page); } /** * {@inheritDoc} */ @Override public List list(TplExecuteId tplExecuteId, Class entityType, Map params) { return hammer.list(tplExecuteId, entityType, params); } /** * {@inheritDoc} */ @Override public List list(TplExecuteId tplExecuteId, Class entityType, Map params, int offset, int limit) { return hammer.list(tplExecuteId, entityType, params, offset, limit); } /** * {@inheritDoc} */ @Override public List list(TplExecuteId tplExecuteId, Class entityType, Map params, Page page) { return hammer.list(tplExecuteId, entityType, params, page); } /** * {@inheritDoc} */ @Override public List> list(TplExecuteId tplExecuteId, Map params) { return hammer.list(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public List> list(TplExecuteId tplExecuteId, Map params, int offset, int limit) { return hammer.list(tplExecuteId, params, offset, limit); } /** * {@inheritDoc} */ @Override public List> list(TplExecuteId tplExecuteId, Map params, Page page) { return hammer.list(tplExecuteId, params, page); } /** * {@inheritDoc} */ @Override public Long numberLong(String tplExecuteId, Map params) { return hammer.numberLong(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public int merge(E entity) { return hammer.merge(entity); } /** * {@inheritDoc} */ @Override public int merge(@SuppressWarnings("unchecked") E... entities) { return hammer.merge(entities); } /** * {@inheritDoc} */ @Override public int merge(List entities) { return hammer.merge(entities); } /** * {@inheritDoc} */ @Override public N number(String tplExecuteId, Class numberType, Map params) { return hammer.number(tplExecuteId, numberType, params); } /** * {@inheritDoc} */ @Override public PaginationResults pagination(String tplExecuteId, Class entityType, Map params, int offset, int limit) { return hammer.pagination(tplExecuteId, entityType, params, offset, limit); } /** * {@inheritDoc} */ @Override public PaginationResults pagination(String tplExecuteId, Class entityType, Map params, Page page) { return hammer.pagination(tplExecuteId, entityType, params, page); } /** * {@inheritDoc} */ @Override public PaginationResults> pagination(String tplExecuteId, Map params, int offset, int limit) { return hammer.pagination(tplExecuteId, params, offset, limit); } /** * {@inheritDoc} */ @Override public PaginationResults> pagination(String tplExecuteId, Map params, Page page) { return hammer.pagination(tplExecuteId, params, page); } /** * {@inheritDoc} */ @Override public PaginationResults pagination(TplExecuteId tplExecuteId, Class entityType, Map params, int offset, int limit) { return hammer.pagination(tplExecuteId, entityType, params, offset, limit); } /** * {@inheritDoc} */ @Override public PaginationResults pagination(TplExecuteId tplExecuteId, Class entityType, Map params, Page page) { return hammer.pagination(tplExecuteId, entityType, params, page); } /** * {@inheritDoc} */ @Override public PaginationResults> pagination(TplExecuteId tplExecuteId, Map params, int offset, int limit) { return hammer.pagination(tplExecuteId, params, offset, limit); } /** * {@inheritDoc} */ @Override public PaginationResults> pagination(TplExecuteId tplExecuteId, Map params, Page page) { return hammer.pagination(tplExecuteId, params, page); } /** * {@inheritDoc} */ @Override public TypeQueryEntity query(Class entityType) { return hammer.query(entityType); } /** * {@inheritDoc} */ @Override public QueryEntity query(String repository) { return hammer.query(repository); } /** * {@inheritDoc} */ @Override public int save(E entity) { return hammer.save(entity); } /** * {@inheritDoc} */ @Override public int save(@SuppressWarnings("unchecked") E... entities) { return hammer.save(entities); } /** * {@inheritDoc} */ @Override public int save(List entities) { return hammer.save(entities); } /** * {@inheritDoc} */ @Override public E single(String tplExecuteId, Class entityType, Map params) { return hammer.single(tplExecuteId, entityType, params); } /** * {@inheritDoc} */ @Override public Map single(String tplExecuteId, Map params) { return hammer.single(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public E single(TplExecuteId tplExecuteId, Class entityType, Map params) { return hammer.single(tplExecuteId, entityType, params); } /** * {@inheritDoc} */ @Override public Map single(TplExecuteId tplExecuteId, Map params) { return hammer.single(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public String string(String tplExecuteId, Map params) { return hammer.string(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public Update update(String repository) { return hammer.update(repository); } /** * {@inheritDoc} */ @Override public Update update(Class entityType) { return hammer.update(entityType); } /** * {@inheritDoc} */ @Override public int update(E entity) { return hammer.update(entity); } /** * {@inheritDoc} */ @Override public int update(@SuppressWarnings("unchecked") E... entities) { return hammer.update(entities); } /** * {@inheritDoc} */ @Override public int update(E entity, IgnorePolicy ignorePolicy) { return hammer.update(entity, ignorePolicy); } /** * {@inheritDoc} */ @Override public int update(List entities) { return hammer.update(entities); } /** * {@inheritDoc} */ @Override public int update(List entities, IgnorePolicy ignorePolicy) { return hammer.update(entities, ignorePolicy); } /** * {@inheritDoc} */ @Override public E value(String tplExecuteId, Class valueType, Map params) { return hammer.value(tplExecuteId, valueType, params); } /** * {@inheritDoc} */ @Override public E value(TplExecuteId tplExecuteId, Class valueType, Map params) { return hammer.value(tplExecuteId, valueType, params); } /** * {@inheritDoc} */ @Override public N number(TplExecuteId tplExecuteId, Class numberType, Map params) { return hammer.number(tplExecuteId, numberType, params); } /** * {@inheritDoc} */ @Override public Integer numberInt(TplExecuteId tplExecuteId, Map params) { return hammer.numberInt(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public Long numberLong(TplExecuteId tplExecuteId, Map params) { return hammer.numberLong(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public BigDecimal numberBigDecimal(TplExecuteId tplExecuteId, Map params) { return hammer.numberBigDecimal(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public Double numberDouble(TplExecuteId tplExecuteId, Map params) { return hammer.numberDouble(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public String string(TplExecuteId tplExecuteId, Map params) { return hammer.string(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public int execute(String tplExecuteId, Map params) { return hammer.execute(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public int execute(TplExecuteId tplExecuteId, Map params) { return hammer.execute(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public int intValue(String tplExecuteId, Map params) { return hammer.intValue(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public int intValue(TplExecuteId tplExecuteId, Map params) { return hammer.intValue(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public long longValue(String tplExecuteId, Map params) { return hammer.longValue(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public long longValue(TplExecuteId tplExecuteId, Map params) { return hammer.longValue(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public double doubleValue(String tplExecuteId, Map params) { return hammer.doubleValue(tplExecuteId, params); } /** * {@inheritDoc} */ @Override public double doubleValue(TplExecuteId tplExecuteId, Map params) { return hammer.doubleValue(tplExecuteId, params); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy