planetj.magic
Class MicrosoftWordRequest
java.lang.Object
|
+--planetj.html.AbstractHTMLRenderer
|
+--planetj.magic.AbstractMagicRequest
|
+--planetj.magic.MagicRequest
|
+--planetj.magic.MicrosoftWordRequest
- All Implemented Interfaces:
- Cloneable, IFeature, IHTMLRenderer, IMagicRequest, IRenderer, Serializable
- public class MicrosoftWordRequest
- extends MagicRequest
- implements Cloneable
Request a magic Microsoft Word request which will dipslay RowCollections data
in a Microsoft Word plugin within the browser.
Creation date: (1/21/2002 3:29:16 PM)
- See Also:
- Serialized Form
Constructor Summary |
MicrosoftWordRequest(String pId,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String pTableId)
MicrosoftWordRequest constructor. |
Method Summary |
IMagicRequest |
execute(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
DataEngineServlet pServlet)
This method will generate CSV/DOC data from a RowCollection specified in the Constructor and
then display the CSV/DOC contents in a Microsoft Word browser plugin. |
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 |
MicrosoftWordRequest
public MicrosoftWordRequest(String pId,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String pTableId)
- MicrosoftWordRequest constructor. None of the params may be null
Creation date: (1/21/2002 3:30:29 PM)
execute
public IMagicRequest execute(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
DataEngineServlet pServlet)
throws CMException
- This method will generate CSV/DOC data from a RowCollection specified in the Constructor and
then display the CSV/DOC contents in a Microsoft Word browser plugin.
Creation date: (1/21/2002 3:32:02 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