|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.interfaces.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 |
FORMTAG
filled with the current form during select 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()
|
ISqlFilter |
getSqlFilterTag()
|
Table |
getTable()
|
void |
removeAttribute(String key)
Removes a value in the attributes list |
void |
setAttribute(String key,
Object value)
Stores a value in the attributes list |
void |
setSqlFilterTag(ISqlFilter sqlFilterTag)
|
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 FORMTAG
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 void removeAttribute(String key)
key
- key for the valuepublic DbFormsConfig getConfig()
public Connection getConnection()
public HttpServletRequest getRequest()
public Table getTable()
public ISqlFilter getSqlFilterTag()
public void setSqlFilterTag(ISqlFilter sqlFilterTag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |