📄 baseservice.java
字号:
package com.iplan.portal.framework.base;
import org.apache.log4j.Logger;
import com.iplan.portal.framework.base.hibernate.ICommonDAO;
/**
* <p>
* 系统中所有业务组件的抽象类,所有业务组件都继承于此抽象类。此抽象类主要完成一些通用的属性和方法。
* </p>
* <p>
* http://www.hao-se.cn
* </p>
*
* @author ws
*/
public abstract class BaseService {
protected final Logger logger = Logger.getLogger(getClass().getName());
private AppRelationCore appRelationCore;
private ICommonDAO CommonDAO;
/**
* @param commonDAO
* The commonDAO to set.
*/
public void setCommonDAO(ICommonDAO commonDAO) {
CommonDAO = commonDAO;
}
protected ICommonDAO getCommonDAO() {
return this.CommonDAO;
}
public AppRelationCore getAppRelationCore() {
return appRelationCore;
}
public void setAppRelationCore(AppRelationCore appRelationCore) {
this.appRelationCore = appRelationCore;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -