|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.config.DbEventInterceptorData
public class DbEventInterceptorData
Class to transport the data in the interceptors.
Field Summary | |
---|---|
static String |
CONNECTIONNAME
filled with the currently used connection name in all events |
static String |
FIELDVALUES
filled with FieldValues array during insert, delete and update events |
static String |
KEYVALUES
filled with KeyValues string during delete and update events |
static String |
OBJECTROW
filled with objectrow which should be added during AddRow events |
static String |
PAGECONTEXT
filled with the pageContext during select events |
static String |
RESULTSET
filled with current ResultsetVector during AddRow and Select events |
static String |
ROWSAFFECTED
filled with affected rows during insert/update/delete event |
Constructor Summary | |
---|---|
DbEventInterceptorData(HttpServletRequest request,
DbFormsConfig config,
Connection connection,
Table table)
Creates a new DbEventInterceptorData object. |
Method Summary | |
---|---|
Object |
getAttribute(String key)
reads a value from the attributes list |
Map |
getAttributesMap()
DOCUMENT ME! |
DbFormsConfig |
getConfig()
|
Connection |
getConnection()
|
HttpServletRequest |
getRequest()
|
Table |
getTable()
|
void |
setAttribute(String key,
Object value)
Stores a value in the attributes list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FIELDVALUES
public static final String KEYVALUES
public static final String RESULTSET
public static final String OBJECTROW
public static final String CONNECTIONNAME
public static final String PAGECONTEXT
public static final String ROWSAFFECTED
Constructor Detail |
---|
public DbEventInterceptorData(HttpServletRequest request, DbFormsConfig config, Connection connection, Table table)
request
- DOCUMENT ME!config
- DOCUMENT ME!connection
- DOCUMENT ME!Method Detail |
---|
public Map getAttributesMap()
public Object getAttribute(String key)
key
- key to read
public void setAttribute(String key, Object value)
key
- key for the valuevalue
- value to storepublic DbFormsConfig getConfig()
public Connection getConnection()
public HttpServletRequest getRequest()
public Table getTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |