org.dbforms.event
Class NavEventFactory

java.lang.Object
  extended by org.dbforms.event.EventFactory
      extended by org.dbforms.event.NavEventFactory
Direct Known Subclasses:
NavEventFactoryImpl

public abstract class NavEventFactory
extends EventFactory

The NavEventFactory abstract class provides the interface for a Navigation Event concrete class (see NavEventFactoryImpl).

Author:
Luca Fossato

Field Summary
 
Fields inherited from class org.dbforms.event.EventFactory
eventInfoMap
 
Constructor Summary
NavEventFactory()
           
 
Method Summary
abstract  NavigationEvent createEvent(String action, HttpServletRequest request, DbFormsConfig config, Table table)
          Create and return a new navigation event.
abstract  NavigationEvent createGotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String positionString)
          Create and return a new navGoto event.
abstract  NavigationEvent createGotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String whereClause, String tableList)
          Create and return a new navGoto event.
 
Methods inherited from class org.dbforms.event.EventFactory
addEventInfo, createEvent, getEvent, getEventIdFromDestinationTable, getEventIdFromDestinationTable, getEventInfo, initializeEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavEventFactory

public NavEventFactory()
Method Detail

createEvent

public abstract NavigationEvent createEvent(String action,
                                            HttpServletRequest request,
                                            DbFormsConfig config,
                                            Table table)
Create and return a new navigation event.

Parameters:
action - the action string that identifies the web event
request - the HttpServletRequest object
config - the DbForms config object
table - to use
Returns:
a new navigation event

createGotoEvent

public abstract NavigationEvent createGotoEvent(Table table,
                                                HttpServletRequest request,
                                                DbFormsConfig config,
                                                String positionString)
Create and return a new navGoto event.

Parameters:
table - the Table object
request - the request object
config - the configuration object
positionString - the position string object
Returns:
a new navGoto event

createGotoEvent

public abstract NavigationEvent createGotoEvent(Table table,
                                                HttpServletRequest request,
                                                DbFormsConfig config,
                                                String whereClause,
                                                String tableList)
Create and return a new navGoto event.

Parameters:
table - the Table object
request - the request object
config - the configuration object
whereClause - the SQL where clause
tableList - the list of tables involved into the event procession
Returns:
a new navGoto event


Copyright © 2002-2005 DbForms. All Rights Reserved.