operatordao.java

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

JAVA
85
字号
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.Operator;

import java.util.Map;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: tan
 * Date: 2006-7-31
 * Time: 8:32:10
 * To change this template use File | Settings | File Templates.
 */
public interface OperatorDAO extends BaseDao {
    // Operator dao Methods declare begin: ----------------------------------------

    /**
     * This method is for admin to search Operator based on
     * search criteria with pagination and sort.
     *
     * @param pagination (the pagination object)
     * @param paraMap    (map)[should contains properties]
     *                   empId : String
     *                   status : String
     *                   name : String
     * @return Employee list for search result
     */
    public Pagination searchOperators(Pagination pagination, Map paraMap);

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

    /**
     * This method is for admin to get the Operator based on special String Operator id.
     *
     * @param providerID (the company Operator id of the Operator : String)
     * @return Operator object for search result
     */
    public Operator getOperator(String providerID);

    /**
     * This method is for admin to save the Operator based on special Operator object.
     *
     * @param operator (Operator object)
     */
    public void saveOperator(Operator operator);

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

// Operator dao Methods declare end: ----------------------------------------

// Department dao Methods declare begin: ----------------------------------------

    /**
     * This method is for admin to get all departments
     *
     * @param pagination (the pagination object)
     * @param paraMap    (map)[empty map to get all department]
     */
    public Pagination searchDepartment(Pagination pagination, Map paraMap);

    /**
     * This method is for admin to get all departments
     *
     * @return (List)
     */
    public List getDepartmentList();
// Department dao Methods declare end: ----------------------------------------


}

⌨️ 快捷键说明

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