42 lines
1.4 KiB
Java
42 lines
1.4 KiB
Java
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);
|
|
}
|
|
}
|