first commit
This commit is contained in:
11
hrmsEjb/wenrgise/ejb/help/facade/HelpFacade.java
Normal file
11
hrmsEjb/wenrgise/ejb/help/facade/HelpFacade.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package wenrgise.ejb.help.facade;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.ArrayList;
|
||||
import javax.ejb.EJBObject;
|
||||
import wenrgise.common.exception.EnrgiseApplicationException;
|
||||
import wenrgise.common.exception.EnrgiseSystemException;
|
||||
|
||||
public interface HelpFacade extends EJBObject {
|
||||
ArrayList getChapterList(String paramString1, String paramString2) throws RemoteException, EnrgiseSystemException, EnrgiseApplicationException;
|
||||
}
|
25
hrmsEjb/wenrgise/ejb/help/facade/HelpFacadeBean.java
Normal file
25
hrmsEjb/wenrgise/ejb/help/facade/HelpFacadeBean.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package wenrgise.ejb.help.facade;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import javax.ejb.SessionBean;
|
||||
import javax.ejb.SessionContext;
|
||||
import wenrgise.common.exception.EnrgiseApplicationException;
|
||||
import wenrgise.common.exception.EnrgiseSystemException;
|
||||
import wenrgise.ejb.help.business.SearchBO;
|
||||
|
||||
public class HelpFacadeBean implements SessionBean {
|
||||
public void ejbCreate() {}
|
||||
|
||||
public void ejbActivate() {}
|
||||
|
||||
public void ejbPassivate() {}
|
||||
|
||||
public void ejbRemove() {}
|
||||
|
||||
public void setSessionContext(SessionContext ctx) {}
|
||||
|
||||
public ArrayList getChapterList(String sText, String sModuleId) throws EnrgiseSystemException, EnrgiseApplicationException {
|
||||
SearchBO oSearchBO = new SearchBO();
|
||||
return oSearchBO.getChapterDetails(sText, sModuleId);
|
||||
}
|
||||
}
|
9
hrmsEjb/wenrgise/ejb/help/facade/HelpFacadeHome.java
Normal file
9
hrmsEjb/wenrgise/ejb/help/facade/HelpFacadeHome.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package wenrgise.ejb.help.facade;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import javax.ejb.CreateException;
|
||||
import javax.ejb.EJBHome;
|
||||
|
||||
public interface HelpFacadeHome extends EJBHome {
|
||||
HelpFacade create() throws CreateException, RemoteException;
|
||||
}
|
Reference in New Issue
Block a user