public interface DHtmlAPI extends SimpleDHtmlAPI
Support multi-report running in one session
Modifier and Type | Method and Description |
---|---|
void |
copyOctet(java.io.InputStream in,
java.io.OutputStream out)
Opens an input stream of octet data.
|
void |
copyOctet(java.lang.String id,
java.io.OutputStream out,
java.lang.String translate)
Outputs the content of the specified binary file to the OutputStream.
|
void |
copyRstFile(java.lang.String id,
java.io.OutputStream out)
Copies a part of the result file into the byte array.
|
void |
copyText(java.lang.String id,
java.io.PrintWriter out,
java.lang.String translate)
Outputs the content of the specified text file to the PrintWriter.
|
int |
dispatch(java.lang.String id,
java.io.OutputStream sout,
java.util.Hashtable params)
Responses and processes all the requests from DHTML client.
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The same as javax.servlet.http.HttpServlet doGet method.
|
ResourceManager |
getResourceManager()
Gets the Resource Manager.
|
UserPreferenceManager |
getUserDHTMLPreferenceManager()
Gets the User DHTML Preference Manager.
|
java.lang.String |
getUserID(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
UserPreferenceManager |
getUserPreferenceManager()
Gets the User Preference Manager.
|
UserSession |
getUserSession(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
void |
mainPage(java.lang.String id,
java.io.PrintWriter out)
Deprecated.
%serverhome%/public_html/dhtmljsp/index.jsp
Outputs the content of the DHTML default main page.
|
java.io.InputStream |
openOctet(java.lang.String id,
java.lang.String translate)
Opens an InputStream of the specified binary file.
|
void |
publishConnect(java.lang.String id,
java.io.OutputStream out)
Outputs the connection page.
|
void |
publishDynamicCss(java.lang.String id,
java.io.PrintWriter out)
Outputs the dynamic css definition of current report content.
|
void |
publishRptCss(java.lang.String id,
java.io.PrintWriter out)
Outputs the CSS definition list of current report.
|
void |
setResourceManager(ExResourceManager rmg)
Sets the Resource Manager.
|
void |
setSkins(java.io.File file)
Deprecated.
DHTMLConfig.setDHTMLSkins
Sets the skin file path and file name.
|
void |
setUserDHTMLPreferenceManager(UserPreferenceManager upm)
Sets the User DHTML Preference Manager.
|
void |
setUserPreferenceManager(UserPreferenceManager upm)
Sets the User Preference Manager.
|
void |
welcomePage(java.lang.String id,
java.io.PrintWriter out,
java.util.Hashtable params)
Outputs the content of the DHTML default welcome page.
|
addExpiryListener, checkUser, checkUser, closeDHTMLReport, copyOctet, copyRstFile, copyText, customizeToolbar, customizeToolbar, destroy, dispatch, expire, getAutoRefresh, getDHTMLToolkit, getFilterDisplayNameSortType, getHelpImagePath, getHostName, getImagePath, getJS_CSSPath, getMainPage, getMaxConcurrent, getNewOpenedRuntimeId, getOpenedReports, getPath, getQueueSize, getRefreshInterval, getReportName, getReportScroll, getReportsId, getReportTimeout, getRscPath, getRscUri, getRstFileName, getRSTRemoteFullPath, getRuntimesId, getRuntimesId, getSearchDisplayNameSortType, getSortDisplayNameSortType, getStyle, getTitle, getTitle, getURI, getUserAutoRefresh, getUserEncoding, initMainPage, isAdvanceUserEnabled, isAdvanceUserEnabled, isCreateEnabled, isCreateEnabled, isDetailReport, isDisplayNameSortEnabled, isDrillEnabled, isDrillEnabled, isExportEnabled, isExportEnabled, isFilterEnabled, isFilterEnabled, isFirstDetail, isFrameEnabled, isFrameEnabled, isIgnoreServerSetting, isLastDetail, isLocalSave, isMainMenuVisible, isMenuEnabled, isMenuEnabled, isNavEnabled, isNavEnabled, isNavibarVisible, isPopupMenuEnabled, isPopupMenuEnabled, isPrintEnabled, isPrintEnabled, isRefreshEnabled, isRefreshEnabled, isResetEnabled, isResetEnabled, isRestrictAction, isSaveEnabled, isSaveEnabled, isSaveResultEnabled, isSaveResultEnabled, isSearchEnabled, isSearchEnabled, isSkinEnabled, isSkinEnabled, isSortEnabled, isSortEnabled, isStyleEnabled, isStyleEnabled, isSupport, isTocEnabled, isTocEnabled, isTocGroupbyNameVisible, isTocGroupbyNameVisible, isTocVisible, isToolbarEnabled, isToolbarEnabled, isToolbarVisible, isUnredoEnabled, isUnredoEnabled, isUserbarEnabled, isUserbarEnabled, isUserbarVisible, isZoomEnabled, isZoomEnabled, mainPage, publishRptCss, setAdvanceUserEnabled, setAdvanceUserEnabled, setApplyToOpenedReports, setAutoRefresh, setContextPath, setCreateEnabled, setCreateEnabled, setCssFolder, setDebug, setDHTMLJSPPath, setDisplayNameSortEnabled, setDrillEnabled, setDrillEnabled, setErrorPage, setExportEnabled, setExportEnabled, setFilterDisplayNameSortType, setFilterEnabled, setFilterEnabled, setFrameEnabled, setFrameEnabled, setHelpImagePath, setHostName, setIgnoreServerSetting, setImageFolder, setImagePath, setJS_CSSPath, setJsFolder, setMainMenuVisible, setMainPage, setMenuEnabled, setMenuEnabled, setNavEnabled, setNavEnabled, setNavibarVisible, setPath, setPopupMenuEnabled, setPopupMenuEnabled, setPrintEnabled, setPrintEnabled, setRefreshEnabled, setRefreshEnabled, setRefreshInterval, setReportNum, setReportScroll, setReportTimeout, setResetEnabled, setResetEnabled, setSaveEnabled, setSaveEnabled, setSaveResultEnabled, setSaveResultEnabled, setSearchDisplayNameSortType, setSearchEnabled, setSearchEnabled, setSkinEnabled, setSkinEnabled, setSkins, setSortDisplayNameSortType, setSortEnabled, setSortEnabled, setStyle, setStyleEnabled, setStyleEnabled, setTitle, setTitle, setTocEnabled, setTocEnabled, setTocGroupbyNameVisible, setTocGroupbyNameVisible, setTocVisible, setToolbarEnabled, setToolbarEnabled, setToolbarVisible, setUnredoEnabled, setUnredoEnabled, setURI, setUserAgent, setUserAutoRefresh, setUserbarEnabled, setUserbarEnabled, setUserbarVisible, setZoomEnabled, setZoomEnabled, welcomePage
void setResourceManager(ExResourceManager rmg)
rmg
- the Resource Manager.jet.server.intf.jrs.ExResourceManager.
ResourceManager getResourceManager()
jet.server.api.ResourceManager.
void setUserPreferenceManager(UserPreferenceManager upm)
upm
- the User Preference Manager.UserPreferenceManager getUserPreferenceManager()
upm
- the User Preference Manager.jet.server.api.UserPreferenceManager.
void setUserDHTMLPreferenceManager(UserPreferenceManager upm)
upm
- the User DHTML Preference Manager.jet.server.api.UserPreferenceManager.
UserPreferenceManager getUserDHTMLPreferenceManager()
jet.server.api.UserPreferenceManager.
void setSkins(java.io.File file) throws java.io.IOException
file
- the skin file path and name.java.io.IOException
void publishRptCss(java.lang.String id, java.io.PrintWriter out) throws java.io.IOException
id
- can be the report runtime id or the user session id.out
- the PrintWriter.java.io.IOException
void mainPage(java.lang.String id, java.io.PrintWriter out) throws java.io.IOException, RptServerException
id
- can be the report runtime id or the user session id.out
- the PrintWriter.java.io.IOException
RptServerException
void welcomePage(java.lang.String id, java.io.PrintWriter out, java.util.Hashtable params) throws java.io.IOException, RptServerException
id
- the session id.out
- the PrintWriter.params
- parameters needed to run the report.java.io.IOException
RptServerException
int dispatch(java.lang.String id, java.io.OutputStream sout, java.util.Hashtable params) throws InvalidParameterException, RptServerException, java.io.IOException
id
- the session id.sout
- the OutputStream.params
- client request query in hashtable type.InvalidParameterException
RptServerException
java.io.IOException
void copyText(java.lang.String id, java.io.PrintWriter out, java.lang.String translate) throws java.io.IOException
id
- can be the report runtime id or the user session id.out
- the PrintWriter.translate
- the text file name.java.io.IOException
void copyOctet(java.lang.String id, java.io.OutputStream out, java.lang.String translate) throws java.io.IOException
id
- can be the report runtime id or the user session id.out
- the OutputStream.translate
- octet file name.java.io.IOException
void copyOctet(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
in
- any octet data source as an input stream.out
- response output stream.java.io.IOException
java.io.InputStream openOctet(java.lang.String id, java.lang.String translate) throws java.io.IOException
id
- can be the report runtime id or the user session id.translate
- the binary file namejava.io.IOException
void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
request
- HttpServletRequest.response
- HttpServletResponse.javax.servlet.ServletException
java.io.IOException
void publishConnect(java.lang.String id, java.io.OutputStream out) throws java.io.IOException
id
- can be the report runtime id or the user session id.out
- the OutputStream.java.io.IOException
void publishDynamicCss(java.lang.String id, java.io.PrintWriter out) throws java.io.IOException
id
- can be the report runtime id or the user session id.out
- the PrintWriter.java.io.IOException
void copyRstFile(java.lang.String id, java.io.OutputStream out) throws java.io.IOException
id
- can be the report runtime id or the user session id.out
- the OutputStream.java.io.IOException
UserSession getUserSession(javax.servlet.http.HttpServletRequest request)
request
- the HttpServletRequest.jet.server.api.UserSession.
java.lang.String getUserID(javax.servlet.http.HttpServletRequest request)
request
- the HttpServletRequest