planetj.magic
Class PDFRequest
java.lang.Object
|
+--planetj.html.AbstractHTMLRenderer
|
+--planetj.magic.AbstractMagicRequest
|
+--planetj.magic.MagicRequest
|
+--planetj.magic.PDFRequest
- All Implemented Interfaces:
- Cloneable, IFeature, IHTMLRenderer, IMagicRequest, IRenderer, Serializable
- public class PDFRequest
- extends MagicRequest
- implements Cloneable
Request a magic PDF request which will dipslay RowCollections data
in PDF in a new browser window.
Creation date: (1/22/2002 4:24:39 PM)
- See Also:
- Serialized Form
Constructor Summary |
PDFRequest(String pId,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String pTableId)
PDFRequest constructor. |
Method Summary |
IMagicRequest |
execute(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
DataEngineServlet pServlet)
This method will generate PDF data from the RowCollection selected. |
int |
getFeatureLevel()
Gets the minimum feature level requried to execute this operation |
boolean |
isReturnToRequester()
Returns whether or not the magic request needs to be returned
to the requester. |
Methods inherited from class planetj.magic.AbstractMagicRequest |
addLinkedRequestAfter, addLinkedRequestBefore, appendUnsupportedHTMLMessage, clone, clone, equals, executeAll, getAnchorName, getBaseField, getBaseRow, getBaseRowCollection, getCurrentURI, getDefaultEndNavigationGroup, getFailMessage, getFirstRequest, getId, getKey, getLastRequest, getMagicServletURI, getMagicURI, getNextURI, getRequestAttribute, getRequestParameter, getRequestParameterValues, getSessionAttribute, getSharedSessionAttribute, getSuccessMessage, hasLinkedRequestsAfter, hasLinkedRequestsBefore, isApplicable, isCompleted, isEndNavigationGroup, isPopup, isSaveResults, isStartNewNavigationGroup, preexecute, removeRequestAttribute, removeSessionAttribute, removeSharedSessionAttribute, setAnchorName, setBaseField, setBaseRow, setBaseRowCollection, setCompleted, setEndNavigationGroup, setFailMessage, setId, setNextURI, setNextURI, setNextURIs, setPopup, setRequestGroupAttribute, setRequestPageAttribute, setRequestPersistentAttribute, setRequestTransientAttribute, setReturnToRequester, setRowEventListener, setSessionAttribute, setSessionSharedAttribute, setStartNewNavigationGroup, setSuccessMessage |
Methods inherited from interface planetj.magic.IMagicRequest |
addLinkedRequestAfter, addLinkedRequestBefore, executeAll, getBaseField, getBaseRow, getCurrentURI, getFirstRequest, getId, getKey, getLastRequest, getMagicURI, getNextURI, isCompleted, isEndNavigationGroup, isSaveResults, isStartNewNavigationGroup, setBaseField, setBaseRow, setRowEventListener |
PDFRequest
public PDFRequest(String pId,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String pTableId)
- PDFRequest constructor. None of the params may be null
Creation date: (1/22/2002 4:24:52 PM)
execute
public IMagicRequest execute(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
DataEngineServlet pServlet)
throws CMException
- This method will generate PDF data from the RowCollection selected. If this RowCollection hasNextRowCollection,
then all the data in the following RowCollections will be generated into PDF format.
Creation date: (1/22/2002 4:25:49 PM)
- Specified by:
execute
in interface IMagicRequest
- Specified by:
execute
in class AbstractMagicRequest
CMException
getFeatureLevel
public int getFeatureLevel()
- Gets the minimum feature level requried to execute this operation
- Specified by:
getFeatureLevel
in interface IFeature
- Overrides:
getFeatureLevel
in class AbstractMagicRequest
isReturnToRequester
public boolean isReturnToRequester()
- Returns whether or not the magic request needs to be returned
to the requester. Defaults to true. If any "Magic" requests
do not require return to the requester, then this method should
be overridden.
- Specified by:
isReturnToRequester
in interface IMagicRequest
- Overrides:
isReturnToRequester
in class AbstractMagicRequest