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

com.bixuebihui.jdbc.IBaseListService Maven / Gradle / Ivy

Go to download

a fast small database connection pool and a active record flavor mini framework

There is a newer version: 1.15.3.3
Show newest version
package com.bixuebihui.jdbc;

import java.util.List;
import java.util.Map;
/**
 * 数据表基础操作接口,为与jmesa配合使用
 *
 * @author xingwx
 * @param  表类型
 * @param  主键类型
 * @version $Id: $Id
 */
public interface IBaseListService extends IReaderService, IPrimaryKeyedTable {
    /**
     * 

selectByIds.

* * @param uniquePropertyName a {@link java.lang.String} object. * @param uniquePropertyValues a {@link java.util.List} object. * @return a {@link java.util.Map} object. */ Map selectByIds(String uniquePropertyName, List uniquePropertyValues); /** *

updateByKey.

* * @param info a T object. * @return a boolean. */ boolean updateByKey(T info); /** *

insertDummy.

* * @return a boolean. */ boolean insertDummy(); /** *

deleteByKey.

* * @param key a V object. * @return a boolean. */ boolean deleteByKey(V key); /** *

insertAutoNewKey.

* * @param info a T object. * @return a boolean. */ boolean insertAutoNewKey(T info); /** *

getDbHelper.

* * @return a {@link IDbHelper} object. */ IDbHelper getDbHelper(); /** *

insert.

* * @param o a T object. * @return a boolean. */ boolean insert(T o); /** *

create.

* * @return a T object. */ T create(); /** *

getNextKey.

* * @return a V object. */ V getNextKey(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy