|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.event.AbstractWebEvent org.dbforms.event.AbstractNavigationEvent org.dbforms.event.datalist.GotoEvent
public class GotoEvent
This event forces the controller to forward the current request to a Request-Dispatcher specified by the Application-Developer in a "org.dbforms.taglib.DbGotoButton". Works with new factory classes
Constructor Summary | |
---|---|
GotoEvent(String action,
HttpServletRequest request,
DbFormsConfig config)
Constructor - parses the event details. |
|
GotoEvent(Table table,
HttpServletRequest request,
DbFormsConfig config,
String position)
This constructor is not called by the controller but, actually, BY THE VIEW for example if the FormTag "gotoPrefix" attribute is set an a GotoEvent needs to be instanciated. |
|
GotoEvent(Table table,
HttpServletRequest request,
DbFormsConfig config,
String whereClause,
String tableList)
This constructer is not called by the controller but, actually, BY THE VIEW for example if the FormTag needs a free form select, this constructor is called. |
Method Summary | |
---|---|
ResultSetVector |
processEvent(FieldValue[] childFieldValues,
FieldValue[] orderConstraint,
String sqlFilter,
FieldValue[] sqlFilterParams,
int count,
String firstPosition,
String lastPosition,
DbEventInterceptorData interceptorData)
Process the current event. |
Methods inherited from class org.dbforms.event.AbstractWebEvent |
---|
getConfig, getFollowUp, getFollowUpOnError, getProperties, getRequest, getTable, getType, hasUserPrivileg, setFollowUp, setFollowUpOnError, setProperties, setRequest, setTable, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GotoEvent(String action, HttpServletRequest request, DbFormsConfig config)
action
- the action stringrequest
- the request objectconfig
- the config objectpublic GotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String position)
table
- the input tablerequest
- request the request objectconfig
- the config objectposition
- the position stringpublic GotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String whereClause, String tableList)
table
- the input tablerequest
- request the request objectconfig
- the config objectwhereClause
- the SQL where clausetableList
- the table listMethod Detail |
---|
public ResultSetVector processEvent(FieldValue[] childFieldValues, FieldValue[] orderConstraint, String sqlFilter, FieldValue[] sqlFilterParams, int count, String firstPosition, String lastPosition, DbEventInterceptorData interceptorData) throws SQLException
processEvent
in class AbstractNavigationEvent
childFieldValues
- FieldValue array used to restrict a set of dataorderConstraint
- FieldValue array used to build a cumulation of
rules for ordering (sorting) and restricting fields to the actual
block of datafirstPosition
- DOCUMENT ME!sqlFilterParams
- a string identifying the last resultset positioncount
- record countfirstPosition
- a string identifying the first resultset positionlastPosition
- DOCUMENT ME!dbConnectionName
- name of the used db connection. Can be used to
get an own db connection, e.g. to hold it during the session (see
DataSourceJDBC for example!)con
- the JDBC Connection object
SQLException
- if any error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |