first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package wenrgise.ejb.common.facade;
import javax.ejb.EJBObject;
public interface CommonFacade extends EJBObject {}

View File

@@ -0,0 +1,16 @@
package wenrgise.ejb.common.facade;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
public class CommonFacadeBean implements SessionBean {
public void ejbCreate() {}
public void ejbActivate() {}
public void ejbPassivate() {}
public void ejbRemove() {}
public void setSessionContext(SessionContext ctx) {}
}

View File

@@ -0,0 +1,9 @@
package wenrgise.ejb.common.facade;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
public interface CommonFacadeHome extends EJBHome {
CommonFacade create() throws CreateException, RemoteException;
}

View File

@@ -0,0 +1,17 @@
package wenrgise.ejb.common.facade;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.HashMap;
import javax.ejb.EJBObject;
import wenrgise.common.bean.EmpInfoBean;
import wenrgise.common.exception.EnrgiseApplicationException;
import wenrgise.common.exception.EnrgiseSystemException;
public interface SecurityFacade extends EJBObject {
HashMap getDisabledFields(String paramString1, String paramString2, String paramString3, String paramString4) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException;
ArrayList addMenuList(EmpInfoBean paramEmpInfoBean) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException;
HashMap getAccessInfo(EmpInfoBean paramEmpInfoBean) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException;
}

View 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);
}
}

View File

@@ -0,0 +1,9 @@
package wenrgise.ejb.common.facade;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
public interface SecurityFacadeHome extends EJBHome {
SecurityFacade create() throws CreateException, RemoteException;
}