planetj.magic
Class MSAccessRequest

java.lang.Object
  |
  +--planetj.html.AbstractHTMLRenderer
        |
        +--planetj.magic.AbstractMagicRequest
              |
              +--planetj.magic.MagicRequest
                    |
                    +--planetj.magic.MSAccessRequest
All Implemented Interfaces:
Cloneable, IFeature, IHTMLRenderer, IMagicRequest, IRenderer, Serializable

public class MSAccessRequest
extends MagicRequest
implements Cloneable

Exports a RowCollection into a MSAccess database

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.dataengine.IFeature
IFeature.OperationCountFeature
 
Field Summary
static String DATA_SOURCE_NAME
           
static String DESTINATION_TABLE
           
static String NO_PROMPT
           
static String OVERWRITE_TABLE
           
static String REQUEST_KEY
           
 
Fields inherited from class planetj.html.AbstractHTMLRenderer
className
 
Fields inherited from interface planetj.magic.IMagicRequest
IS_COMPLETE, MAGIC_REQUEST, MAGIC_REQUEST_PARAM1, MAGIC_REQUEST_RC, SAME_URI, TYPE, TYPE_PAGE, TYPE_SESSION, TYPE_STATIC, USER_REQUEST_ATTRIBUTES_STORED
 
Fields inherited from interface planetj.html.IHTMLRenderer
HTML
 
Fields inherited from interface planetj.dataengine.IFeature
DEFAULT_MESSAGE_FEATURE, FEATURE_DELETE, FEATURE_INSERT, FEATURE_LEVEL_ENTERPRISE, FEATURE_LEVEL_ENTRY, FEATURE_LEVEL_PROFESSIONAL, FEATURE_LEVEL_STANDARD, FEATURE_UPDATE, MESSAGE_END, MESSAGE_START
 
Constructor Summary
MSAccessRequest(String pId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, RowCollection rc)
          MSAccessRequest constructor comment.
 
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
 MSAccessPropertyGroup getPropertyGroup()
          Gets the MSAccessPropertyGroup to use
 boolean isUserSuppliedValuesPresent(javax.servlet.http.HttpServletRequest req)
          Tests if the user has supplied additional property values
 IMagicRequest store(javax.servlet.http.HttpServletRequest req)
          Stored this magic request as an attibute in the http request
 
Methods inherited from class planetj.magic.MagicRequest
getType
 
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, isReturnToRequester, 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 class planetj.html.AbstractHTMLRenderer
append, generate, getDisplayType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface planetj.magic.IMagicRequest
addLinkedRequestAfter, addLinkedRequestBefore, executeAll, getBaseField, getBaseRow, getCurrentURI, getFirstRequest, getId, getKey, getLastRequest, getMagicURI, getNextURI, isCompleted, isEndNavigationGroup, isReturnToRequester, isSaveResults, isStartNewNavigationGroup, setBaseField, setBaseRow, setRowEventListener
 
Methods inherited from interface planetj.html.IHTMLRenderer
append, generate
 
Methods inherited from interface planetj.dataengine.display.IRenderer
getDisplayType
 
Methods inherited from interface planetj.dataengine.IFeature
appendUnsupportedHTMLMessage, isApplicable
 

Field Detail

DESTINATION_TABLE

public static final String DESTINATION_TABLE
See Also:
Constant Field Values

DATA_SOURCE_NAME

public static final String DATA_SOURCE_NAME
See Also:
Constant Field Values

OVERWRITE_TABLE

public static final String OVERWRITE_TABLE
See Also:
Constant Field Values

NO_PROMPT

public static final String NO_PROMPT
See Also:
Constant Field Values

REQUEST_KEY

public static final String REQUEST_KEY
See Also:
Constant Field Values
Constructor Detail

MSAccessRequest

public MSAccessRequest(String pId,
                       javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res,
                       RowCollection rc)
                throws CMException
MSAccessRequest constructor comment.

Parameters:
pId - java.lang.String
req - javax.servlet.http.HttpServletRequest
res - javax.servlet.http.HttpServletResponse
Method Detail

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

getPropertyGroup

public MSAccessPropertyGroup getPropertyGroup()
Gets the MSAccessPropertyGroup to use


isUserSuppliedValuesPresent

public boolean isUserSuppliedValuesPresent(javax.servlet.http.HttpServletRequest req)
Tests if the user has supplied additional property values


store

public IMagicRequest store(javax.servlet.http.HttpServletRequest req)
Stored this magic request as an attibute in the http request

Overrides:
store in class MagicRequest

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