first commit
This commit is contained in:
41
hrmsEjb/wenrgise/ejb/common/facade/SecurityFacadeBean.java
Normal file
41
hrmsEjb/wenrgise/ejb/common/facade/SecurityFacadeBean.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package wenrgise.ejb.common.facade;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import javax.ejb.SessionBean;
|
||||
import javax.ejb.SessionContext;
|
||||
import wenrgise.common.bean.EmpInfoBean;
|
||||
import wenrgise.common.exception.EnrgiseApplicationException;
|
||||
import wenrgise.common.exception.EnrgiseSystemException;
|
||||
import wenrgise.ejb.common.business.SecurityBO;
|
||||
|
||||
public class SecurityFacadeBean implements SessionBean {
|
||||
SessionContext ctx;
|
||||
|
||||
public void ejbCreate() {}
|
||||
|
||||
public void ejbActivate() {}
|
||||
|
||||
public void ejbPassivate() {}
|
||||
|
||||
public void ejbRemove() {}
|
||||
|
||||
public void setSessionContext(SessionContext ctx) {
|
||||
this.ctx = ctx;
|
||||
}
|
||||
|
||||
public HashMap getDisabledFields(String sScreenName, String sHdrDtlFlag, String sSreenMode, String sPageStatus) throws EnrgiseSystemException, EnrgiseApplicationException {
|
||||
SecurityBO oSectBO = new SecurityBO();
|
||||
return oSectBO.getDisabledFields(sScreenName, sHdrDtlFlag, sSreenMode, sPageStatus);
|
||||
}
|
||||
|
||||
public ArrayList addMenuList(EmpInfoBean oEmpInfoBean) throws EnrgiseSystemException, EnrgiseApplicationException {
|
||||
SecurityBO oSectBO = new SecurityBO();
|
||||
return oSectBO.addMenuList(oEmpInfoBean);
|
||||
}
|
||||
|
||||
public HashMap getAccessInfo(EmpInfoBean oEmpInfoBean) throws EnrgiseSystemException, EnrgiseApplicationException {
|
||||
SecurityBO oSectBO = new SecurityBO();
|
||||
return oSectBO.getAccessInfo(oEmpInfoBean);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user