1 23 24 package org.dbforms.event; 25 26 import org.dbforms.config.DbFormsConfig; 27 import org.dbforms.config.Table; 28 29 import javax.servlet.http.HttpServletRequest ; 30 31 32 33 39 public abstract class NavEventFactory extends EventFactory { 40 41 static final Class [] actionConstructorArgsTypes = new Class [] { 42 Table.class, 43 HttpServletRequest .class, 44 DbFormsConfig.class 45 }; 46 47 48 static final Class [] goToConstructorArgsTypes = new Class [] { 49 Table.class, 50 HttpServletRequest .class, 51 DbFormsConfig.class, 52 String .class 53 }; 54 55 56 static final Class [] goToConstructorArgsTypes2 = new Class [] { 57 Table.class, 58 HttpServletRequest .class, 59 DbFormsConfig.class, 60 String .class, 61 String .class 62 }; 63 64 74 public abstract NavigationEvent createEvent(String action, 75 HttpServletRequest request, 76 DbFormsConfig config, 77 Table table); 78 79 80 90 public abstract NavigationEvent createGotoEvent(Table table, 91 HttpServletRequest request, 92 DbFormsConfig config, 93 String positionString); 94 95 96 107 public abstract NavigationEvent createGotoEvent(Table table, 108 HttpServletRequest request, 109 DbFormsConfig config, 110 String whereClause, 111 String tableList); 112 } 113 | Popular Tags |