interface to the function of the increment and check of the digital archives of the repository

Source: Internet
Author: User

Package Poster1.dao;

Import java.sql.SQLException;
Import java.util.List;

Import Poster_model. TypeInfo;
Import Poster_model. Userinfo;

/**
* Interface to the function of the change of the numbers in the repository
* @author 1
*
*/
Public interface Idaobbs<t> {
/**
* @param t
* @return Add a statistic to the repository
* @throws SQLException
*/
public int AddItem (T t) throws SQLException;
/**
* @param Object
* @return Delete a single statistic from the repository
* @throws SQLException
*/
public int RemoveItem (Object object) throws SQLException;
/**
* @param t
* @return Update one of the methods
* @throws SQLException
*/
public int updateinem (T t) throws SQLException;
/**
* @param Object
* @return from the main key field and convert it into a physical image
* @throws SQLException
*/
Public T Getmodel (Object object) throws SQLException;
/**
* @param t
* @return According to a number of conditions, and converted into a corresponding set
* @throws SQLException
*/
Public list<t> getList (T t) throws SQLException;
}

interface to the function of the increment and check of the digital archives of the repository

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.