?? custaccountdao.java
字號:
package com.yuanchung.sales.dao.service;
import java.util.List;
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import com.yuanchung.sales.exception.ApplicationException;
import com.yuanchung.sales.model.service.CustAccount;
import com.yuanchung.sales.model.service.ServiceOrder;
/**
* A data access object (DAO) providing persistence and search support for
* CustAccount entities. Transaction control of the save(), update() and
* delete() operations can directly support Spring container-managed
* transactions or they can be augmented to handle user-managed Spring
* transactions. Each of these methods provides additional information for how
* to configure it for the desired type of transaction control.
*
* @see com.yuanchung.sales.hibernate.CustAccount
* @author MyEclipse Persistence Tools
*/
public interface CustAccountDAO{
public CustAccount findByLoginName(String loginName)throws ApplicationException;
public void save(CustAccount transientInstance);
public void delete(CustAccount persistentInstance);
public CustAccount findById(java.lang.Integer id);
public List findByExample(CustAccount instance) ;
public List findByProperty(String propertyName, Object value) ;
public List findByName(Object name) ;
public List findByPhone(Object phone) ;
public List findByAddress(Object address) ;
public List findByEmail(Object email) ;
public List findByCompanyName(Object companyName) ;
public List findByCardId(Object cardId);
public List findByFlag(Object flag) ;
public List findAll() ;
public CustAccount merge(CustAccount detachedInstance) ;
public void attachDirty(CustAccount instance) ;
public void attachClean(CustAccount instance) ;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -