📄 providerservice.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.TlmsServiceException;
import com.szmx.tlms.admin.model.Provider;
/**
* Created by IntelliJ IDEA.
* User: tan
* Date: 2006-7-31
* Time: 9:55:41
* To change this template use File | Settings | File Templates.
*/
public interface ProviderService extends BaseService {
// Provider service 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 provider (Map) [should contains properties]
* bussinessID : Long
* busSpecies : String
* prefixContract : String
* busInstroction : String
* @return Provider list for search result
* @throws com.szmx.tlms.TlmsServiceException
*
*/
public Pagination searchProviders(final Pagination pagination,
final Provider provider) throws TlmsServiceException;
/**
* 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
* @throws TlmsServiceException
*/
public Provider getProvider(Long id) throws TlmsServiceException;
/**
* This method is for admin to save the Provider based on special Provider object.
*
* @param provider (contains context to save, need not id, created & updated info)
* @throws TlmsServiceException
*/
public void saveProvider(Provider provider) throws TlmsServiceException;
/**
* This method is for admin to update the Provider based on special Provider object.
*
* @param provider (contains context to save, need not updated info)
* @throws TlmsServiceException
*/
public void updateProvider(Provider provider) throws TlmsServiceException;
/**
* This method is for admin to remove the Providers based on checked Provider.
*
* @param ids (the array of selected Provider physic id, string value.)
* @param userId (logined user physic id, Long value)
* @throws TlmsServiceException
*/
public void removeProviders(String[] ids, Long userId) throws TlmsServiceException;
// Provider service methods declare end: ----------------------------------------
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -