|
||||||||||
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.AbstractDatabaseEvent org.dbforms.event.datalist.DeleteEvent
public class DeleteEvent
This event prepares and performs a SQL-Delete operation.
Works with new factory classes.
Constructor Summary | |
---|---|
DeleteEvent(Integer tableId,
String keyId,
HttpServletRequest request,
DbFormsConfig config)
Creates a new DeleteEvent object. |
|
DeleteEvent(String action,
HttpServletRequest request,
DbFormsConfig config)
Creates a new DeleteEvent object. |
Method Summary | |
---|---|
FieldValues |
getFieldValues()
Get the FieldValues attribute. |
void |
processEvent(Connection con)
Process this event. |
Methods inherited from class org.dbforms.event.AbstractDatabaseEvent |
---|
doValidation, getFieldValues, getKeyId, getKeyValues |
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 DeleteEvent(Integer tableId, String keyId, HttpServletRequest request, DbFormsConfig config)
tableId
- the table idkeyId
- the key idrequest
- the request objectconfig
- the configuration objectpublic DeleteEvent(String action, HttpServletRequest request, DbFormsConfig config)
action
- the action stringrequest
- the request objectconfig
- the configuration objectMethod Detail |
---|
public FieldValues getFieldValues()
getFieldValues
in class AbstractDatabaseEvent
public void processEvent(Connection con) throws SQLException, MultipleValidationException
processEvent
in class AbstractDatabaseEvent
con
- the connection object
SQLException
- if any SQL error occurs
MultipleValidationException
- if any validation error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |