📄 logsupvendorserviceimpl.java
字号:
/**
* =============================================
* Copyright 2006 szmx
*
* Change Revision
* --------------------------------
* Date Author Remarks
* 2006-4-20 terry.zhang Create com.szmx.tlms.supplychain.service.impl.LogSupVendorServiceImpl
* =============================================
*/
package com.szmx.tlms.supplychain.service.impl;
import com.szmx.framework.base.service.impl.BaseServiceImpl;
import com.szmx.framework.base.model.Pagination;
import com.szmx.tlms.supplychain.service.LogSupVendorService;
import com.szmx.tlms.supplychain.dao.LogSupVendorDAO;
import com.szmx.tlms.supplychain.model.LogSupVendor;
import com.szmx.tlms.TlmsServiceException;
/**
* @author terry.zhang
* @since 2006-4-20
*/
public class LogSupVendorServiceImpl extends BaseServiceImpl implements LogSupVendorService {
private LogSupVendorDAO logSupVendorDAO;
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#setLogSupVendorDAO(com.szmx.tlms.supplychain.dao.LogSupVendorDAO)
*/
public void setLogSupVendorDAO(LogSupVendorDAO logSupVendorDAO) {
this.logSupVendorDAO=logSupVendorDAO;
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#getLogSupVendors(com.szmx.framework.base.model.Pagination, com.szmx.tlms.supplychain.model.LogSupVendor)
*/
public Pagination getLogSupVendors(Pagination pageObj, LogSupVendor logSupVendor) throws TlmsServiceException {
return this.logSupVendorDAO.getLogSupVendors(pageObj,logSupVendor);
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#getLogSupVendor(String)
*/
public LogSupVendor getLogSupVendor(String id) throws TlmsServiceException {
return (LogSupVendor)this.logSupVendorDAO.getObject(LogSupVendor.class,Long.valueOf(id));
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#saveLogSupVendor(com.szmx.tlms.supplychain.model.LogSupVendor)
*/
public void saveLogSupVendor(LogSupVendor logSupVendor) throws TlmsServiceException {
this.logSupVendorDAO.saveObject(logSupVendor);
}
/**
* @see com.szmx.tlms.supplychain.service.LogSupVendorService#removeAllLogSupVendors(String[])
*/
public void removeAllLogSupVendors(String[] id) throws TlmsServiceException {
for(int i=0;i<id.length;i++)this.logSupVendorDAO.removeObject(LogSupVendor.class,Long.valueOf(id[i]));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -