providerdao.java

来自「一个关于tlms的一个小程序 看看能否帮助到别人」· Java 代码 · 共 58 行

JAVA
58
字号
package com.szmx.tlms.admin.dao;

import com.szmx.framework.base.dao.BaseDao;
import com.szmx.framework.base.model.Pagination;
import com.szmx.tlms.admin.model.Provider;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2006-7-31
 * Time: 8:31:50
 * To change this template use File | Settings | File Templates.
 */
public interface ProviderDAO extends BaseDao {
// Provider DAO Methods declare Begin: ----------------------------------------

    /**
     * This method is for admin to search Provider based on
     * search criteria with pagination and sort.
     *
     * @param pagination (the pagination object)
     * @param paraMap    (map)[should contains properties]
     *                   bussinessID : Long
     *                   busSpecies : String
     *                   prefixContract : String
     * @return RelationInfo list for search result
     */
    public Pagination searchProviders(Pagination pagination, Map paraMap);

    /**
     * This method is for admin to get the Provider based on special Long id.
     *
     * @param id (the physic id of the Provider : Long)
     * @return Provider object for search result
     */
    public Provider getProvider(Long id);


    /**
     * This method is for admin to save the Provider based on special Provider object.
     *
     * @param provider (Provider object)
     */
    public void saveProvider(Provider provider);

    /**
     * This method is for admin to remove the Provider based on checked Provider.
     *
     * @param id (the id of Provider , Long value.)
     */
    public void removeProvider(Long id);

// Provider DAO Methods declare End: ----------------------------------------

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?