⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 operatorservice.java

📁 一个关于tlms的一个小程序 看看能否帮助到别人
💻 JAVA
字号:
package com.szmx.tlms.admin.service;

import com.szmx.framework.base.service.BaseService;
import com.szmx.framework.base.model.Pagination;
import com.szmx.tlms.admin.model.Employee;
import com.szmx.tlms.admin.model.Operator;
import com.szmx.tlms.TlmsServiceException;

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

/**
 * Created by IntelliJ IDEA.
 * User: tan
 * Date: 2006-7-31
 * Time: 11:06:29
 * To change this template use File | Settings | File Templates.
 */
public interface OperatorService extends BaseService {
    // Operator Service 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 operator   (Map)  [should contains properties]
     *                   empId : String
     *                   status : String
     *                   name : String
     * @return Operator list for search result
     * @throws com.szmx.tlms.TlmsServiceException
     *
     */
    public Pagination searchOperators(final Pagination pagination,
                                      final Operator operator) throws TlmsServiceException;

    /**
     * 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
     * @throws TlmsServiceException
     */
    public Operator getOperator(Long id) throws TlmsServiceException;


    /**
     * This method is for admin to save the Operator based on special Operator object.
     *
     * @param operator (contains context to save, need not id, created & updated info)
     * @throws TlmsServiceException
     */
    public void saveOperator(Operator operator) throws TlmsServiceException;

    /**
     * This method is for admin to update the Operator based on special Operator object.
     *
     * @param operator (contains context to save, need not updated info)
     * @throws TlmsServiceException
     */
    public void updateOperator(Operator operator) throws TlmsServiceException;

    /**
     * This method is for admin to remove the Operators based on checked Operator.
     *
     * @param ids    (the array of selected Operator physic id, string value.)
     * @param userId (logined user physic id, Long value)
     * @throws TlmsServiceException
     */
    public void removeOperators(String[] ids, Long userId) throws TlmsServiceException;
// Operator Service methods declare end: ----------------------------------------

// Department Managerment begin: ----------------------------------------

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

    /**
     * This method is for admin to get all departments
     *
     * @throws TlmsServiceException
     */
    public List getDepartmentList() throws TlmsServiceException;
// Department Managerment end: ----------------------------------------
}

⌨️ 快捷键说明

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