public abstract class IReportObject extends AJAXMESGObject
dataisexists, errMesg, KEY_ACTION, KEY_ALLFIELDList, KEY_Parameters, tmpRowdata, VALUE_ACTION, VALUE_ACTION_ADD, VALUE_ACTION_DELETE, VALUE_ACTION_REPLACE, VALUE_ACTION_UPDATE, VALUE_Parameters_使用TABLE介面| Constructor and Description |
|---|
IReportObject() |
IReportObject(MaliContext incontext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
convertBaseTableToMap(BaseTable indatas) |
java.io.FileOutputStream |
exportReport(java.lang.String insavePath)
產生file report
|
abstract java.util.List |
getData() |
abstract java.lang.String |
getDownloadFileName()
儲存的檔案名稱或下載檔名
|
abstract java.lang.String |
getJasperFile()
jasperfile位置及檔名
|
java.lang.Object |
getParameter(java.lang.String inkey) |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters() |
BaseTable |
getParametersByBaseTable() |
java.lang.String |
getRealPathJasperFile()
若有set request ,則直接取 /+getJasperFile的檔案
|
java.lang.String |
getReportType() |
javax.servlet.http.HttpServletRequest |
getRequest() |
abstract void |
run()
相關欲先執行的作業動作,請放在run
|
void |
setJasperReportRealPath(java.lang.String inrealPath)
設定實際目錄
|
void |
setParameters(java.util.Vector inParameters) |
void |
setReportType(java.lang.String inReportType) |
void |
setRequest(javax.servlet.http.HttpServletRequest inrequest) |
getEncodingCharXmlString, getFORWARDPATH, getISALERT, getISFORWARD, getISOK, getJsonString, getMESG, init, setencoding, setFielddata, setFORWARDPATH, setISALERT, setISFORWARD, setISOK, setMESG, toStringcheckSQLAction, ConvertToBaseTable, createObjectByByteArray, delete, execute, execute, fillColumns, generatePrimaryId, getActionmode, getAllFieldList, getBaseTable, getBasetablefield, getCalendarfield, getclsSqlData, getCommitActionMode, getConnDbCom, getCurTablePrimaryKey, getDBColumnType, getDoublefield, getErrMesg, geterrorMesgRowData, getFieldColumnIndex, getFieldValue, getInstance, getIntegerfield, getMaliContext, getObjectfield, getOldData, getPimaryId, getPostexecuteBatchQuery, getPostExecuteTable, getPreExecuteTable, getPrimaryId, getPrimaryKey, getPrimaryKeyValue, getRowData, getROWID, getStringfield, getTableName, getTimestampfield, getUpdateLog, getVectorfield, inputRowData, insert, isDeleteed, isexecuteupdate, isFieldError, isInserted, isPrimaryKey, isSaveed, isStringSpacetoNull, isUpdated, is資料是否存在, modifyoldFieldvalue, postDelete, postInsert, postUpdate, preDelete, preInsert, preUpdate, removeField, reset, rollBack, setActionmode, setALLFIELDSList, setConnDbCom, setDataBaseType, setDeleteMode, setDeleteTrigger, setErrMesg, setErrorMesg, setFielddata, setInsertDefaultValue, setInsertMode, setInsertTrigger, setMaliContext, setPostexecuteBatchQuery, setPostExecuteTable, setPreExecuteTable, setPrimaryId, setPrimaryKey, setReplaceMode, setRowData, setROWID, setStringSpaceToNull, setStringValue, setTableName, setUpdateDefaultValue, setUpdateMode, setUpdateTrigger, update, updategetcreateDateTimeKey, getcreateUserIdKey, getcreateUserOrgIdKey, getmodifyDateTimeKey, getmodifyUserIdKey, getmodifyUserOrgIdKey, getPrimaryIdKey, isFieldbyBaseTable, setcreateDateTimeKey, setcreateUserIdKey, setcreateUserOrgIdKey, setFieldbyBaseTable, setmodifyDateTimeKey, setmodifyUserIdKey, setmodifyUserOrgIdkey, setPrimaryIdKeycreateObjectByteArray, getHashTableContent, setVectorFielddataequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetcreateDateTimeKey, getcreateUserIdKey, getcreateUserOrgIdKey, getmodifyDateTimeKey, getmodifyUserIdKey, getmodifyUserOrgIdKey, getPrimaryIdKey, isFieldbyBaseTable, setcreateDateTimeKey, setcreateUserIdKey, setcreateUserOrgIdKey, setmodifyDateTimeKey, setmodifyUserIdKey, setmodifyUserOrgIdkey, setPrimaryIdKeypublic IReportObject()
public IReportObject(MaliContext incontext)
public abstract java.lang.String getJasperFile()
public abstract java.util.List getData()
public abstract void run()
public abstract java.lang.String getDownloadFileName()
public void setReportType(java.lang.String inReportType)
public java.lang.String getReportType()
public void setParameters(java.util.Vector inParameters)
public BaseTable getParametersByBaseTable()
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
public java.lang.Object getParameter(java.lang.String inkey)
public java.util.Map<java.lang.String,java.lang.Object> convertBaseTableToMap(BaseTable indatas)
public void setRequest(javax.servlet.http.HttpServletRequest inrequest)
public javax.servlet.http.HttpServletRequest getRequest()
public void setJasperReportRealPath(java.lang.String inrealPath)
inrealPath - public java.lang.String getRealPathJasperFile()
public java.io.FileOutputStream exportReport(java.lang.String insavePath)
throws java.io.FileNotFoundException,
java.lang.Exception
FileNotFoundException,Exceptionjava.io.FileNotFoundExceptionjava.lang.Exception