|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.event.DbEventInterceptorSupport
public class DbEventInterceptorSupport
convenience class
Field Summary |
---|
Fields inherited from interface org.dbforms.interfaces.IDbEventInterceptor |
---|
DENY_OPERATION, GRANT_OPERATION, IGNORE_OPERATION, POST_ADDROW, POST_DELETE, POST_INSERT, POST_SELECT, POST_UPDATE, PRE_ADDROW, PRE_DELETE, PRE_INSERT, PRE_SELECT, PRE_UPDATE |
Constructor Summary | |
---|---|
DbEventInterceptorSupport()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbEventInterceptorSupport()
Method Detail |
---|
public void setParameterMap(Map params)
IDbEventInterceptor
setParameterMap
in interface IDbEventInterceptor
params
- DOCUMENT ME!public Map getParameterMap()
IDbEventInterceptor
getParameterMap
in interface IDbEventInterceptor
public String getParameter(String key)
public void postAddRow(DbEventInterceptorData data)
IDbEventInterceptor
postAddRow
in interface IDbEventInterceptor
data
- DOCUMENT ME!public void postDelete(DbEventInterceptorData data)
IDbEventInterceptor
postDelete
in interface IDbEventInterceptor
data
- DOCUMENT ME!public void postDelete(HttpServletRequest request, DbFormsConfig config, Connection con)
request
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!public void postInsert(DbEventInterceptorData data)
IDbEventInterceptor
postInsert
in interface IDbEventInterceptor
data
- DOCUMENT ME!public void postInsert(HttpServletRequest request, DbFormsConfig config, Connection con)
request
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!public void postSelect(DbEventInterceptorData data)
IDbEventInterceptor
postSelect
in interface IDbEventInterceptor
data
- DOCUMENT ME!public void postSelect(HttpServletRequest request, DbFormsConfig config, Connection con)
request
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!public void postUpdate(DbEventInterceptorData data)
IDbEventInterceptor
postUpdate
in interface IDbEventInterceptor
data
- DOCUMENT ME!public void postUpdate(HttpServletRequest request, DbFormsConfig config, Connection con)
request
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!public int preAddRow(DbEventInterceptorData data) throws ValidationException, MultipleValidationException
IDbEventInterceptor
preAddRow
in interface IDbEventInterceptor
data
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!
MultipleValidationException
- DOCUMENT ME!public int preDelete(DbEventInterceptorData data) throws ValidationException, MultipleValidationException
IDbEventInterceptor
preDelete
in interface IDbEventInterceptor
data
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!
MultipleValidationException
- DOCUMENT ME!public int preDelete(HttpServletRequest request, Table table, FieldValues fieldValues, DbFormsConfig config, Connection con) throws ValidationException
request
- DOCUMENT ME!table
- DOCUMENT ME!fieldValues
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!public int preInsert(DbEventInterceptorData data) throws ValidationException, MultipleValidationException
IDbEventInterceptor
preInsert
in interface IDbEventInterceptor
data
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!
MultipleValidationException
- DOCUMENT ME!public int preInsert(HttpServletRequest request, Table table, FieldValues fieldValues, DbFormsConfig config, Connection con) throws ValidationException
request
- DOCUMENT ME!table
- DOCUMENT ME!fieldValues
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!public int preSelect(DbEventInterceptorData data) throws ValidationException, MultipleValidationException
IDbEventInterceptor
preSelect
in interface IDbEventInterceptor
data
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!
MultipleValidationException
- DOCUMENT ME!public int preSelect(HttpServletRequest request, DbFormsConfig config, Connection con) throws ValidationException
request
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!public int preUpdate(DbEventInterceptorData data) throws ValidationException, MultipleValidationException
IDbEventInterceptor
preUpdate
in interface IDbEventInterceptor
data
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!
MultipleValidationException
- DOCUMENT ME!public int preUpdate(HttpServletRequest request, Table table, FieldValues fieldValues, DbFormsConfig config, Connection con) throws ValidationException
request
- DOCUMENT ME!table
- DOCUMENT ME!fieldValues
- DOCUMENT ME!config
- DOCUMENT ME!con
- DOCUMENT ME!
ValidationException
- DOCUMENT ME!protected void setValue(Table table, FieldValues fieldValues, String fieldName, String value)
table
- wich should be used to lookup for the fieldNamefieldValues
- to add/replace value tofieldName
- to add/replace valuevalue
- to add/replace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |