📄 basefacade.java
字号:
package com.iplan.portal.framework.base;
import org.apache.log4j.Logger;
import com.iplan.portal.framework.base.hibernate.ICommonDAO;
/**
* <p>
* 系统各模块为其它模板提供外观模式的抽象类,所以Facade类都继承于此抽象类,在此抽象类中主要完成一些 通用的配置和方法。
* </p>
* <p>
* http://www.hao-se.cn
* </p>
*
* @author ws
*/
public abstract class BaseFacade {
private AppRelationCore appRelationCore;
protected final Logger logger = Logger.getLogger(getClass().getName());
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 + -