first commit
This commit is contained in:
46
hrmsEjb/wenrgise/help/bean/HelpChapterBean.java
Normal file
46
hrmsEjb/wenrgise/help/bean/HelpChapterBean.java
Normal file
@@ -0,0 +1,46 @@
|
||||
package wenrgise.help.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class HelpChapterBean implements Serializable {
|
||||
private String txtHeading = "";
|
||||
|
||||
private ArrayList arylstPart = new ArrayList();
|
||||
|
||||
private String txtChapId = "";
|
||||
|
||||
private String txtKeyword = "";
|
||||
|
||||
public String getTxtHeading() {
|
||||
return this.txtHeading;
|
||||
}
|
||||
|
||||
public void setTxtHeading(String newTxtHeading) {
|
||||
this.txtHeading = newTxtHeading;
|
||||
}
|
||||
|
||||
public ArrayList getArylstPart() {
|
||||
return this.arylstPart;
|
||||
}
|
||||
|
||||
public void setArylstPart(ArrayList newArylstPart) {
|
||||
this.arylstPart = newArylstPart;
|
||||
}
|
||||
|
||||
public String getTxtChapId() {
|
||||
return this.txtChapId;
|
||||
}
|
||||
|
||||
public void setTxtChapId(String newTxtChapId) {
|
||||
this.txtChapId = newTxtChapId;
|
||||
}
|
||||
|
||||
public String getTxtKeyword() {
|
||||
return this.txtKeyword;
|
||||
}
|
||||
|
||||
public void setTxtKeyword(String newTxtKeyword) {
|
||||
this.txtKeyword = newTxtKeyword;
|
||||
}
|
||||
}
|
26
hrmsEjb/wenrgise/help/bean/HelpComponentBean.java
Normal file
26
hrmsEjb/wenrgise/help/bean/HelpComponentBean.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package wenrgise.help.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class HelpComponentBean implements Serializable {
|
||||
private String txtComponentCode = "";
|
||||
|
||||
private ArrayList arylstChapter = new ArrayList();
|
||||
|
||||
public String getTxtComponentCode() {
|
||||
return this.txtComponentCode;
|
||||
}
|
||||
|
||||
public void setTxtComponentCode(String newTxtComponentCode) {
|
||||
this.txtComponentCode = newTxtComponentCode;
|
||||
}
|
||||
|
||||
public ArrayList getArylstChapter() {
|
||||
return this.arylstChapter;
|
||||
}
|
||||
|
||||
public void setArylstChapter(ArrayList newArylstChapter) {
|
||||
this.arylstChapter = newArylstChapter;
|
||||
}
|
||||
}
|
25
hrmsEjb/wenrgise/help/bean/HelpContentBean.java
Normal file
25
hrmsEjb/wenrgise/help/bean/HelpContentBean.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package wenrgise.help.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class HelpContentBean implements Serializable {
|
||||
private String txtSecHeading = "";
|
||||
|
||||
private String txtContents = "";
|
||||
|
||||
public String getTxtSecHeading() {
|
||||
return this.txtSecHeading;
|
||||
}
|
||||
|
||||
public void setTxtSecHeading(String newTxtSecHeading) {
|
||||
this.txtSecHeading = newTxtSecHeading;
|
||||
}
|
||||
|
||||
public String getTxtContents() {
|
||||
return this.txtContents;
|
||||
}
|
||||
|
||||
public void setTxtContents(String newTxtContents) {
|
||||
this.txtContents = newTxtContents;
|
||||
}
|
||||
}
|
26
hrmsEjb/wenrgise/help/bean/HelpPartBean.java
Normal file
26
hrmsEjb/wenrgise/help/bean/HelpPartBean.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package wenrgise.help.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class HelpPartBean implements Serializable {
|
||||
private String txtHeading = "";
|
||||
|
||||
private ArrayList arylstContent = new ArrayList();
|
||||
|
||||
public String getTxtHeading() {
|
||||
return this.txtHeading;
|
||||
}
|
||||
|
||||
public void setTxtHeading(String newTxtHeading) {
|
||||
this.txtHeading = newTxtHeading;
|
||||
}
|
||||
|
||||
public ArrayList getArylstContent() {
|
||||
return this.arylstContent;
|
||||
}
|
||||
|
||||
public void setArylstContent(ArrayList newArylstContent) {
|
||||
this.arylstContent = newArylstContent;
|
||||
}
|
||||
}
|
65
hrmsEjb/wenrgise/help/bean/SearchBean.java
Normal file
65
hrmsEjb/wenrgise/help/bean/SearchBean.java
Normal file
@@ -0,0 +1,65 @@
|
||||
package 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;
|
||||
}
|
||||
}
|
21
hrmsEjb/wenrgise/help/businessdelegate/HelpBD.java
Normal file
21
hrmsEjb/wenrgise/help/businessdelegate/HelpBD.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package 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