768 lines
16 KiB
Java
768 lines
16 KiB
Java
package wenrgise.common.webtier.form;
|
|
|
|
import java.util.ArrayList;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import org.apache.struts.action.ActionErrors;
|
|
import org.apache.struts.action.ActionForm;
|
|
import org.apache.struts.action.ActionMapping;
|
|
|
|
public class BaseForm extends ActionForm {
|
|
private long totalHeaderRecord = 0L;
|
|
|
|
private long totalDetailRecord = 0L;
|
|
|
|
private ArrayList detailList = null;
|
|
|
|
private String headerPrimaryKey = null;
|
|
|
|
private long pageRequested = 0L;
|
|
|
|
private String userPageRequested = null;
|
|
|
|
private String[] detailId = null;
|
|
|
|
private String[] status = null;
|
|
|
|
private String screenName = null;
|
|
|
|
private boolean headerDataChanged = false;
|
|
|
|
private boolean detailDataChanged = false;
|
|
|
|
private int detailStartPage = 0;
|
|
|
|
private String screenMode = "Q";
|
|
|
|
private String forwardedPage = null;
|
|
|
|
private boolean[] checked = null;
|
|
|
|
private long positionRequested = 0L;
|
|
|
|
private String userPositionRequested = null;
|
|
|
|
private long totalCount = 0L;
|
|
|
|
private String newPositionRequested = null;
|
|
|
|
private String[] itemChecked = null;
|
|
|
|
private String newPageRequested = null;
|
|
|
|
private String lovKey;
|
|
|
|
private String txtSearchFields;
|
|
|
|
private String txtDisplayFields;
|
|
|
|
private String txtIndex;
|
|
|
|
private int thisPageDetailCount = 0;
|
|
|
|
private boolean queried = true;
|
|
|
|
String butQuery;
|
|
|
|
String butInsert;
|
|
|
|
String disabbutInsert;
|
|
|
|
String butExecute;
|
|
|
|
String disabbutExecute;
|
|
|
|
String butSave;
|
|
|
|
String disabbutSave;
|
|
|
|
String butDelete;
|
|
|
|
String disabbutDelete;
|
|
|
|
String butRefresh;
|
|
|
|
String disabbutRefresh;
|
|
|
|
String butHelp;
|
|
|
|
String disabbutHelp;
|
|
|
|
String butPrint;
|
|
|
|
String disabbutPrint;
|
|
|
|
String butNextHeader;
|
|
|
|
String disabbutNextHeader;
|
|
|
|
String butPrevHeader;
|
|
|
|
String disabbutPrevHeader;
|
|
|
|
String butGetDetail;
|
|
|
|
String disabbutGetDetail;
|
|
|
|
String butJumpHeader;
|
|
|
|
String disabbutJumpHeader;
|
|
|
|
String butJumpDetail;
|
|
|
|
String disabbutJumpDetail;
|
|
|
|
private String butExit;
|
|
|
|
private String disabbutExit;
|
|
|
|
private String disabheaderStatus;
|
|
|
|
private String disabbutQuery;
|
|
|
|
private String butNextDetail;
|
|
|
|
String butPrevDetail;
|
|
|
|
private String disabbutPrevDetail;
|
|
|
|
private String disabbutNextDetail;
|
|
|
|
private String disabnewPageRequested;
|
|
|
|
private String disabnewPositionRequested;
|
|
|
|
private String butAddRow;
|
|
|
|
private String butDelRow;
|
|
|
|
private String disabbutAddRow;
|
|
|
|
private String disabbutDelRow;
|
|
|
|
private long totalPageCount;
|
|
|
|
private String headerStatus;
|
|
|
|
private String buttonClicked;
|
|
|
|
private String buttonName;
|
|
|
|
protected String firstLoad;
|
|
|
|
private String confirmKey;
|
|
|
|
private String buttonKeys;
|
|
|
|
private String workListId;
|
|
|
|
private String hidWorkListId;
|
|
|
|
public void reset(ActionMapping mapping, HttpServletRequest request) {
|
|
super.reset(mapping, request);
|
|
}
|
|
|
|
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
|
|
return super.validate(mapping, request);
|
|
}
|
|
|
|
public long getTotalDetailRecord() {
|
|
return this.totalDetailRecord;
|
|
}
|
|
|
|
public void setTotalDetailRecord(long newTotalDetailRecord) {
|
|
this.totalDetailRecord = newTotalDetailRecord;
|
|
}
|
|
|
|
public long getTotalHeaderRecord() {
|
|
return this.totalHeaderRecord;
|
|
}
|
|
|
|
public void setTotalHeaderRecord(long newTotalHeaderRecord) {
|
|
this.totalHeaderRecord = newTotalHeaderRecord;
|
|
}
|
|
|
|
public ArrayList getDetailList() {
|
|
return this.detailList;
|
|
}
|
|
|
|
public void setDetailList(ArrayList newDetailList) {
|
|
this.detailList = newDetailList;
|
|
}
|
|
|
|
public String getHeaderPrimaryKey() {
|
|
return this.headerPrimaryKey;
|
|
}
|
|
|
|
public void setHeaderPrimaryKey(String newHeaderPrimaryKey) {
|
|
this.headerPrimaryKey = newHeaderPrimaryKey;
|
|
}
|
|
|
|
public long getPageRequested() {
|
|
return this.pageRequested;
|
|
}
|
|
|
|
public void setPageRequested(long newPageRequested) {
|
|
this.pageRequested = newPageRequested;
|
|
}
|
|
|
|
public String[] getStatus() {
|
|
return this.status;
|
|
}
|
|
|
|
public void setStatus(String[] newStatus) {
|
|
this.status = newStatus;
|
|
}
|
|
|
|
public String[] getDetailId() {
|
|
return this.detailId;
|
|
}
|
|
|
|
public void setDetailId(String[] newDetailId) {
|
|
this.detailId = newDetailId;
|
|
}
|
|
|
|
public String getScreenName() {
|
|
return this.screenName;
|
|
}
|
|
|
|
public void setScreenName(String newScreenName) {
|
|
this.screenName = newScreenName;
|
|
}
|
|
|
|
public boolean isHeaderDataChanged() {
|
|
return this.headerDataChanged;
|
|
}
|
|
|
|
public void setHeaderDataChanged(boolean newHeaderDataChanged) {
|
|
this.headerDataChanged = newHeaderDataChanged;
|
|
}
|
|
|
|
public boolean isDetailDataChanged() {
|
|
return this.detailDataChanged;
|
|
}
|
|
|
|
public void setDetailDataChanged(boolean newDetailDataChanged) {
|
|
this.detailDataChanged = newDetailDataChanged;
|
|
}
|
|
|
|
public int getDetailStartPage() {
|
|
return this.detailStartPage;
|
|
}
|
|
|
|
public void setDetailStartPage(int newDetailStartPage) {
|
|
this.detailStartPage = newDetailStartPage;
|
|
}
|
|
|
|
public String getScreenMode() {
|
|
return this.screenMode;
|
|
}
|
|
|
|
public void setScreenMode(String newScreenMode) {
|
|
this.screenMode = newScreenMode;
|
|
}
|
|
|
|
public String getForwardedPage() {
|
|
return this.forwardedPage;
|
|
}
|
|
|
|
public void setForwardedPage(String newForwardedPage) {
|
|
this.forwardedPage = newForwardedPage;
|
|
}
|
|
|
|
public boolean[] getChecked() {
|
|
return this.checked;
|
|
}
|
|
|
|
public void setChecked(boolean[] newChecked) {
|
|
this.checked = newChecked;
|
|
}
|
|
|
|
public long getPositionRequested() {
|
|
return this.positionRequested;
|
|
}
|
|
|
|
public void setPositionRequested(long newPositionRequested) {
|
|
this.positionRequested = newPositionRequested;
|
|
}
|
|
|
|
public long getTotalCount() {
|
|
return this.totalCount;
|
|
}
|
|
|
|
public void setTotalCount(long newTotalCount) {
|
|
this.totalCount = newTotalCount;
|
|
}
|
|
|
|
public String getNewPositionRequested() {
|
|
return this.newPositionRequested;
|
|
}
|
|
|
|
public void setNewPositionRequested(String newNewPositionRequested) {
|
|
this.newPositionRequested = newNewPositionRequested;
|
|
}
|
|
|
|
public String[] getItemChecked() {
|
|
return this.itemChecked;
|
|
}
|
|
|
|
public void setItemChecked(String[] newItemChecked) {
|
|
this.itemChecked = newItemChecked;
|
|
}
|
|
|
|
public String getLovKey() {
|
|
return this.lovKey;
|
|
}
|
|
|
|
public void setLovKey(String newLovKey) {
|
|
this.lovKey = newLovKey;
|
|
}
|
|
|
|
public String getTxtIndex() {
|
|
return this.txtIndex;
|
|
}
|
|
|
|
public void setTxtIndex(String newTxtIndex) {
|
|
this.txtIndex = newTxtIndex;
|
|
}
|
|
|
|
public String getNewPageRequested() {
|
|
return this.newPageRequested;
|
|
}
|
|
|
|
public void setNewPageRequested(String newNewPageRequested) {
|
|
this.newPageRequested = newNewPageRequested;
|
|
}
|
|
|
|
public String getUserPageRequested() {
|
|
return this.userPageRequested;
|
|
}
|
|
|
|
public void setUserPageRequested(String newUserPageRequested) {
|
|
this.userPageRequested = newUserPageRequested;
|
|
}
|
|
|
|
public String getUserPositionRequested() {
|
|
return this.userPositionRequested;
|
|
}
|
|
|
|
public void setUserPositionRequested(String newUserPositionRequested) {
|
|
this.userPositionRequested = newUserPositionRequested;
|
|
}
|
|
|
|
public int getThisPageDetailCount() {
|
|
return this.thisPageDetailCount;
|
|
}
|
|
|
|
public void setThisPageDetailCount(int newThisPageDetailCount) {
|
|
this.thisPageDetailCount = newThisPageDetailCount;
|
|
}
|
|
|
|
public String getTxtDisplayFields() {
|
|
return this.txtDisplayFields;
|
|
}
|
|
|
|
public void setTxtDisplayFields(String newTxtDisplayFields) {
|
|
this.txtDisplayFields = newTxtDisplayFields;
|
|
}
|
|
|
|
public String getTxtSearchFields() {
|
|
return this.txtSearchFields;
|
|
}
|
|
|
|
public void setTxtSearchFields(String newTxtSearchFields) {
|
|
this.txtSearchFields = newTxtSearchFields;
|
|
}
|
|
|
|
public long getTotalPageCount() {
|
|
return this.totalPageCount;
|
|
}
|
|
|
|
public void setTotalPageCount(long newTotalPageCount) {
|
|
this.totalPageCount = newTotalPageCount;
|
|
}
|
|
|
|
public String getHeaderStatus() {
|
|
return this.headerStatus;
|
|
}
|
|
|
|
public void setHeaderStatus(String newHeaderStatus) {
|
|
this.headerStatus = newHeaderStatus;
|
|
}
|
|
|
|
public String getButQuery() {
|
|
return this.butQuery;
|
|
}
|
|
|
|
public void setButQuery(String newButQuery) {
|
|
this.butQuery = newButQuery;
|
|
}
|
|
|
|
public String getButInsert() {
|
|
return this.butInsert;
|
|
}
|
|
|
|
public void setButInsert(String newButInsert) {
|
|
this.butInsert = newButInsert;
|
|
}
|
|
|
|
public String getDisabbutInsert() {
|
|
return this.disabbutInsert;
|
|
}
|
|
|
|
public void setDisabbutInsert(String newDisabbutInsert) {
|
|
this.disabbutInsert = newDisabbutInsert;
|
|
}
|
|
|
|
public String getButExecute() {
|
|
return this.butExecute;
|
|
}
|
|
|
|
public void setButExecute(String newButExecute) {
|
|
this.butExecute = newButExecute;
|
|
}
|
|
|
|
public String getDisabbutExecute() {
|
|
return this.disabbutExecute;
|
|
}
|
|
|
|
public void setDisabbutExecute(String newDisabbutExecute) {
|
|
this.disabbutExecute = newDisabbutExecute;
|
|
}
|
|
|
|
public String getButSave() {
|
|
return this.butSave;
|
|
}
|
|
|
|
public void setButSave(String newButSave) {
|
|
this.butSave = newButSave;
|
|
}
|
|
|
|
public String getDisabbutSave() {
|
|
return this.disabbutSave;
|
|
}
|
|
|
|
public void setDisabbutSave(String newDisabbutSave) {
|
|
this.disabbutSave = newDisabbutSave;
|
|
}
|
|
|
|
public String getButDelete() {
|
|
return this.butDelete;
|
|
}
|
|
|
|
public void setButDelete(String newButDelete) {
|
|
this.butDelete = newButDelete;
|
|
}
|
|
|
|
public String getDisabbutDelete() {
|
|
return this.disabbutDelete;
|
|
}
|
|
|
|
public void setDisabbutDelete(String newDisabbutDelete) {
|
|
this.disabbutDelete = newDisabbutDelete;
|
|
}
|
|
|
|
public String getButRefresh() {
|
|
return this.butRefresh;
|
|
}
|
|
|
|
public void setButRefresh(String newButRefresh) {
|
|
this.butRefresh = newButRefresh;
|
|
}
|
|
|
|
public String getDisabbutRefresh() {
|
|
return this.disabbutRefresh;
|
|
}
|
|
|
|
public void setDisabbutRefresh(String newDisabbutRefresh) {
|
|
this.disabbutRefresh = newDisabbutRefresh;
|
|
}
|
|
|
|
public String getButHelp() {
|
|
return this.butHelp;
|
|
}
|
|
|
|
public void setButHelp(String newButHelp) {
|
|
this.butHelp = newButHelp;
|
|
}
|
|
|
|
public String getDisabbutHelp() {
|
|
return this.disabbutHelp;
|
|
}
|
|
|
|
public void setDisabbutHelp(String newDisabbutHelp) {
|
|
this.disabbutHelp = newDisabbutHelp;
|
|
}
|
|
|
|
public String getButPrint() {
|
|
return this.butPrint;
|
|
}
|
|
|
|
public void setButPrint(String newButPrint) {
|
|
this.butPrint = newButPrint;
|
|
}
|
|
|
|
public String getDisabbutPrint() {
|
|
return this.disabbutPrint;
|
|
}
|
|
|
|
public void setDisabbutPrint(String newDisabbutPrint) {
|
|
this.disabbutPrint = newDisabbutPrint;
|
|
}
|
|
|
|
public String getButNextHeader() {
|
|
return this.butNextHeader;
|
|
}
|
|
|
|
public void setButNextHeader(String newButNextHeader) {
|
|
this.butNextHeader = newButNextHeader;
|
|
}
|
|
|
|
public String getDisabbutNextHeader() {
|
|
return this.disabbutNextHeader;
|
|
}
|
|
|
|
public void setDisabbutNextHeader(String newDisabbutNextHeader) {
|
|
this.disabbutNextHeader = newDisabbutNextHeader;
|
|
}
|
|
|
|
public String getButPrevHeader() {
|
|
return this.butPrevHeader;
|
|
}
|
|
|
|
public void setButPrevHeader(String newButPrevHeader) {
|
|
this.butPrevHeader = newButPrevHeader;
|
|
}
|
|
|
|
public String getDisabbutPrevHeader() {
|
|
return this.disabbutPrevHeader;
|
|
}
|
|
|
|
public void setDisabbutPrevHeader(String newDisabbutPrevHeader) {
|
|
this.disabbutPrevHeader = newDisabbutPrevHeader;
|
|
}
|
|
|
|
public String getButGetDetail() {
|
|
return this.butGetDetail;
|
|
}
|
|
|
|
public void setButGetDetail(String newButGetDetail) {
|
|
this.butGetDetail = newButGetDetail;
|
|
}
|
|
|
|
public String getDisabbutGetDetail() {
|
|
return this.disabbutGetDetail;
|
|
}
|
|
|
|
public void setDisabbutGetDetail(String newDisabbutGetDetail) {
|
|
this.disabbutGetDetail = newDisabbutGetDetail;
|
|
}
|
|
|
|
public String getButJumpHeader() {
|
|
return this.butJumpHeader;
|
|
}
|
|
|
|
public void setButJumpHeader(String newButJumpHeader) {
|
|
this.butJumpHeader = newButJumpHeader;
|
|
}
|
|
|
|
public String getDisabbutJumpHeader() {
|
|
return this.disabbutJumpHeader;
|
|
}
|
|
|
|
public void setDisabbutJumpHeader(String newDisabbutJumpHeader) {
|
|
this.disabbutJumpHeader = newDisabbutJumpHeader;
|
|
}
|
|
|
|
public String getButJumpDetail() {
|
|
return this.butJumpDetail;
|
|
}
|
|
|
|
public void setButJumpDetail(String newButJumpDetail) {
|
|
this.butJumpDetail = newButJumpDetail;
|
|
}
|
|
|
|
public String getDisabbutJumpDetail() {
|
|
return this.disabbutJumpDetail;
|
|
}
|
|
|
|
public void setDisabbutJumpDetail(String newDisabbutJumpDetail) {
|
|
this.disabbutJumpDetail = newDisabbutJumpDetail;
|
|
}
|
|
|
|
public String getButExit() {
|
|
return this.butExit;
|
|
}
|
|
|
|
public void setButExit(String newButExit) {
|
|
this.butExit = newButExit;
|
|
}
|
|
|
|
public String getDisabbutExit() {
|
|
return this.disabbutExit;
|
|
}
|
|
|
|
public void setDisabbutExit(String newDisabbutExit) {
|
|
this.disabbutExit = newDisabbutExit;
|
|
}
|
|
|
|
public String getDisabheaderStatus() {
|
|
return this.disabheaderStatus;
|
|
}
|
|
|
|
public void setDisabheaderStatus(String newDisabheaderStatus) {
|
|
this.disabheaderStatus = newDisabheaderStatus;
|
|
}
|
|
|
|
public String getDisabbutQuery() {
|
|
return this.disabbutQuery;
|
|
}
|
|
|
|
public void setDisabbutQuery(String newDisabbutQuery) {
|
|
this.disabbutQuery = newDisabbutQuery;
|
|
}
|
|
|
|
public String getButNextDetail() {
|
|
return this.butNextDetail;
|
|
}
|
|
|
|
public void setButNextDetail(String newButNextDetail) {
|
|
this.butNextDetail = newButNextDetail;
|
|
}
|
|
|
|
public String getButPrevDetail() {
|
|
return this.butPrevDetail;
|
|
}
|
|
|
|
public void setButPrevDetail(String newButPrevDetail) {
|
|
this.butPrevDetail = newButPrevDetail;
|
|
}
|
|
|
|
public String getDisabbutPrevDetail() {
|
|
return this.disabbutPrevDetail;
|
|
}
|
|
|
|
public void setDisabbutPrevDetail(String newDisabbutPrevDetail) {
|
|
this.disabbutPrevDetail = newDisabbutPrevDetail;
|
|
}
|
|
|
|
public String getDisabbutNextDetail() {
|
|
return this.disabbutNextDetail;
|
|
}
|
|
|
|
public void setDisabbutNextDetail(String newDisabbutNextDetail) {
|
|
this.disabbutNextDetail = newDisabbutNextDetail;
|
|
}
|
|
|
|
public String getDisabnewPageRequested() {
|
|
return this.disabnewPageRequested;
|
|
}
|
|
|
|
public void setDisabnewPageRequested(String newDisabnewPageRequested) {
|
|
this.disabnewPageRequested = newDisabnewPageRequested;
|
|
}
|
|
|
|
public String getDisabnewPositionRequested() {
|
|
return this.disabnewPositionRequested;
|
|
}
|
|
|
|
public void setDisabnewPositionRequested(String newDisabnewPositionRequested) {
|
|
this.disabnewPositionRequested = newDisabnewPositionRequested;
|
|
}
|
|
|
|
public String getButAddRow() {
|
|
return this.butAddRow;
|
|
}
|
|
|
|
public void setButAddRow(String newButAddRow) {
|
|
this.butAddRow = newButAddRow;
|
|
}
|
|
|
|
public String getButDelRow() {
|
|
return this.butDelRow;
|
|
}
|
|
|
|
public void setButDelRow(String newButDelRow) {
|
|
this.butDelRow = newButDelRow;
|
|
}
|
|
|
|
public String getDisabbutAddRow() {
|
|
return this.disabbutAddRow;
|
|
}
|
|
|
|
public void setDisabbutAddRow(String newDisabbutAddRow) {
|
|
this.disabbutAddRow = newDisabbutAddRow;
|
|
}
|
|
|
|
public String getDisabbutDelRow() {
|
|
return this.disabbutDelRow;
|
|
}
|
|
|
|
public void setDisabbutDelRow(String newDisabbutDelRow) {
|
|
this.disabbutDelRow = newDisabbutDelRow;
|
|
}
|
|
|
|
public String getButtonClicked() {
|
|
return this.buttonClicked;
|
|
}
|
|
|
|
public void setButtonClicked(String newButtonClicked) {
|
|
this.buttonClicked = newButtonClicked;
|
|
}
|
|
|
|
public String getButtonName() {
|
|
return this.buttonName;
|
|
}
|
|
|
|
public void setButtonName(String newButtonName) {
|
|
this.buttonName = newButtonName;
|
|
}
|
|
|
|
public boolean isQueried() {
|
|
return this.queried;
|
|
}
|
|
|
|
public void setQueried(boolean newQueried) {
|
|
this.queried = newQueried;
|
|
}
|
|
|
|
public String getFirstLoad() {
|
|
return this.firstLoad;
|
|
}
|
|
|
|
public void setFirstLoad(String newFirstLoad) {
|
|
this.firstLoad = newFirstLoad;
|
|
}
|
|
|
|
public String getConfirmKey() {
|
|
return this.confirmKey;
|
|
}
|
|
|
|
public void setConfirmKey(String newConfirmKey) {
|
|
this.confirmKey = newConfirmKey;
|
|
}
|
|
|
|
public String getButtonKeys() {
|
|
return this.buttonKeys;
|
|
}
|
|
|
|
public void setButtonKeys(String newButtonKeys) {
|
|
this.buttonKeys = newButtonKeys;
|
|
}
|
|
|
|
public String getWorkListId() {
|
|
return this.hidWorkListId;
|
|
}
|
|
|
|
public void setWorkListId(String newWorkListId) {
|
|
this.workListId = newWorkListId;
|
|
}
|
|
|
|
public String getHidWorkListId() {
|
|
return this.hidWorkListId;
|
|
}
|
|
|
|
public void setHidWorkListId(String newHidWorkListId) {
|
|
this.hidWorkListId = newHidWorkListId;
|
|
}
|
|
}
|