first commit
This commit is contained in:
65
hrmsWeb/WEB-INF/classes/wenrgise/help/bean/SearchBean.java
Normal file
65
hrmsWeb/WEB-INF/classes/wenrgise/help/bean/SearchBean.java
Normal file
@@ -0,0 +1,65 @@
|
||||
package WEB-INF.classes.wenrgise.help.bean;
|
||||
|
||||
import wenrgise.common.bean.BaseDetailBean;
|
||||
|
||||
public class SearchBean extends BaseDetailBean {
|
||||
private String chapterId;
|
||||
|
||||
private String chapterName;
|
||||
|
||||
private String partName;
|
||||
|
||||
private String txtModuleName;
|
||||
|
||||
private String txtScreenName;
|
||||
|
||||
private String txtAction;
|
||||
|
||||
public String getChapterId() {
|
||||
return this.chapterId;
|
||||
}
|
||||
|
||||
public void setChapterId(String newChapterId) {
|
||||
this.chapterId = newChapterId;
|
||||
}
|
||||
|
||||
public String getChapterName() {
|
||||
return this.chapterName;
|
||||
}
|
||||
|
||||
public void setChapterName(String newChapterName) {
|
||||
this.chapterName = newChapterName;
|
||||
}
|
||||
|
||||
public String getPartName() {
|
||||
return this.partName;
|
||||
}
|
||||
|
||||
public void setPartName(String newPartName) {
|
||||
this.partName = newPartName;
|
||||
}
|
||||
|
||||
public String getTxtModuleName() {
|
||||
return this.txtModuleName;
|
||||
}
|
||||
|
||||
public void setTxtModuleName(String newTxtModuleName) {
|
||||
this.txtModuleName = newTxtModuleName;
|
||||
}
|
||||
|
||||
public String getTxtScreenName() {
|
||||
return this.txtScreenName;
|
||||
}
|
||||
|
||||
public void setTxtScreenName(String newTxtScreenName) {
|
||||
this.txtScreenName = newTxtScreenName;
|
||||
}
|
||||
|
||||
public String getTxtAction() {
|
||||
return this.txtAction;
|
||||
}
|
||||
|
||||
public void setTxtAction(String newTxtAction) {
|
||||
this.txtAction = newTxtAction;
|
||||
}
|
||||
}
|
@@ -0,0 +1,21 @@
|
||||
package WEB-INF.classes.wenrgise.help.businessdelegate;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import wenrgise.common.exception.EnrgiseSystemException;
|
||||
import wenrgise.ejb.common.utility.ServiceLocator;
|
||||
import wenrgise.ejb.help.facade.HelpFacade;
|
||||
import wenrgise.ejb.help.facade.HelpFacadeHome;
|
||||
|
||||
public class HelpBD {
|
||||
public ArrayList getChapters(String sText, String sModuleId) throws EnrgiseSystemException {
|
||||
try {
|
||||
HelpFacadeHome oHome = (HelpFacadeHome)ServiceLocator.getLocator().getService("HrmHelpFacade");
|
||||
HelpFacade oHelpFacade = oHome.create();
|
||||
return oHelpFacade.getChapterList(sText, sModuleId);
|
||||
} catch (Exception oe) {
|
||||
System.out.println(String.valueOf(String.valueOf(String.valueOf("Debug For Help").concat(String.valueOf(oe.getClass().getName()))).concat(String.valueOf(" "))).concat(String.valueOf(oe.getMessage())));
|
||||
oe.printStackTrace();
|
||||
return new ArrayList();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user