|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.event.AbstractEventFactory org.dbforms.event.AbstractNavEventFactory org.dbforms.event.NavEventFactoryImpl
public class NavEventFactoryImpl
Implementation of a Navigation Event Factory.
Field Summary |
---|
Fields inherited from class org.dbforms.event.AbstractEventFactory |
---|
eventInfoMap |
Constructor Summary | |
---|---|
NavEventFactoryImpl()
Default constructor. |
Method Summary | |
---|---|
AbstractWebEvent |
createEvent(String action,
HttpServletRequest request,
DbFormsConfig config)
create and return a new navigation event |
AbstractNavigationEvent |
createEvent(String action,
HttpServletRequest request,
DbFormsConfig config,
Table table)
create and return a new navigation event. |
AbstractNavigationEvent |
createGotoEvent(Table table,
HttpServletRequest request,
DbFormsConfig config,
String positionString)
Create and return a new navGoto event. |
AbstractNavigationEvent |
createGotoEvent(Table table,
HttpServletRequest request,
DbFormsConfig config,
String whereClause,
String tableList)
Create and return a new navGoto event. |
protected void |
initializeEvents()
Initialize the default events. |
static AbstractNavEventFactory |
instance()
Get the instance of the NavEventFactoryImpl class. |
Methods inherited from class org.dbforms.event.AbstractEventFactory |
---|
addEventInfo, getEvent, getEventIdFromDestinationTable, getEventIdFromDestinationTable, getEventInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavEventFactoryImpl()
Method Detail |
---|
public static AbstractNavEventFactory instance()
public AbstractWebEvent createEvent(String action, HttpServletRequest request, DbFormsConfig config)
createEvent
in class AbstractEventFactory
action
- the action string that identifies the web eventrequest
- the HttpServletRequest objectconfig
- the DbForms config object
public AbstractNavigationEvent createEvent(String action, HttpServletRequest request, DbFormsConfig config, Table table)
createEvent
in class AbstractNavEventFactory
action
- the action string that identifies the web eventrequest
- DOCUMENT ME!config
- the DbForms config objecttable
- the Table object
public AbstractNavigationEvent createGotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String positionString)
createGotoEvent
in class AbstractNavEventFactory
table
- the Table objectrequest
- DOCUMENT ME!config
- DOCUMENT ME!positionString
- the position string object
public AbstractNavigationEvent createGotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String whereClause, String tableList)
createGotoEvent
in class AbstractNavEventFactory
table
- the Table objectrequest
- the position string objectconfig
- DOCUMENT ME!whereClause
- DOCUMENT ME!tableList
- DOCUMENT ME!
protected void initializeEvents() throws Exception
initializeEvents
in class AbstractEventFactory
Exception
- if any error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |