org.dbforms.event
Class AbstractNavEventFactory

java.lang.Object
  extended by org.dbforms.event.AbstractEventFactory
      extended by org.dbforms.event.AbstractNavEventFactory
Direct Known Subclasses:
NavEventFactoryImpl

public abstract class AbstractNavEventFactory
extends AbstractEventFactory

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.AbstractEventFactory
eventInfoMap
 
Constructor Summary
AbstractNavEventFactory()
           
 
Method Summary
abstract  AbstractNavigationEvent createEvent(String action, HttpServletRequest request, DbFormsConfig config, Table table)
          Create and return a new navigation event.
abstract  AbstractNavigationEvent createGotoEvent(Table table, HttpServletRequest request, DbFormsConfig config, String positionString)
          Create and return a new navGoto event.
abstract  AbstractNavigationEvent 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.AbstractEventFactory
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

AbstractNavEventFactory

public AbstractNavEventFactory()
Method Detail

createEvent

public abstract AbstractNavigationEvent 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 AbstractNavigationEvent 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 AbstractNavigationEvent 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-2006 DbForms. All Rights Reserved.