|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.event.AbstractWebEvent
public abstract class AbstractWebEvent
Abstract base class for all web-events.
Implementations of this class will be generated by the
controller/EventEngine by dispatchting the incoming HTTP-request from the
client. In fact, the WebEvent classes itselves may provide methods
(constructors) to help parsing the request data.
WebEvents may be processed by the controller and/or by the custom tags at
JSP-side.
Constructor Summary | |
---|---|
AbstractWebEvent(int tableId,
HttpServletRequest request,
DbFormsConfig config)
Creates a new WebEvent object. |
Method Summary | |
---|---|
DbFormsConfig |
getConfig()
Gets the config attribute of the WebEvent object |
String |
getFollowUp()
Gets the followUp attribute of the WebEvent object |
String |
getFollowUpOnError()
Gets the followUpOnError attribute of the WebEvent object |
Properties |
getProperties()
Gets the properties attribute of the WebEvent object |
HttpServletRequest |
getRequest()
Gets the request attribute of the WebEvent object |
Table |
getTable()
DOCUMENT ME! |
String |
getType()
Get the string that defines the current event type |
protected boolean |
hasUserPrivileg(int privileg)
Check if the current user has got the input privilege |
void |
setFollowUp(String followUp)
Sets the followUp attribute of the WebEvent object |
void |
setFollowUpOnError(String followUpOnError)
Sets the followUpOnError attribute of the WebEvent object |
void |
setProperties(Properties properties)
Sets the properties attribute of the WebEvent object |
void |
setRequest(HttpServletRequest request)
sets the request attribute of the WebEvent object |
void |
setTable(Table table)
DOCUMENT ME! |
void |
setType(String type)
Sets the event type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractWebEvent(int tableId, HttpServletRequest request, DbFormsConfig config)
tableId
- the table idrequest
- the request objectconfig
- the configuration objectMethod Detail |
---|
public DbFormsConfig getConfig()
public void setFollowUp(String followUp)
followUp
- The new followUp valuepublic String getFollowUp()
public void setFollowUpOnError(String followUpOnError)
followUpOnError
- The new followUpOnError valuepublic String getFollowUpOnError()
public void setProperties(Properties properties)
properties
- The new properties valuepublic Properties getProperties()
public void setRequest(HttpServletRequest request)
request
- The new request valuepublic HttpServletRequest getRequest()
public void setTable(Table table)
table
- DOCUMENT ME!public Table getTable()
public void setType(String type)
type
- The type to setpublic String getType()
protected boolean hasUserPrivileg(int privileg)
privileg
- the privilege value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |