public class SmartSwitcher extends Object implements org.springframework.web.servlet.mvc.Controller
| Modifier and Type | Class and Description |
|---|---|
class |
SmartSwitcher.TransactionalService |
| Constructor and Description |
|---|
SmartSwitcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(SmartContext context) |
static boolean |
executeAction(SmartContext context,
SmartAction action,
boolean reset) |
static boolean |
executeBinds(SmartContext context,
SmartAction action,
boolean canContinue,
boolean storable,
boolean reset) |
static void |
executeLoads(SmartContext context,
SmartAction action) |
static boolean |
executeRules(SmartContext context,
SmartAction action,
boolean canContinue) |
static void |
executeScripts(SmartContext context,
List<String> scripts) |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
restHandleRequest(SmartContext ctx) |
void |
setJdbcManager(JdbcManager jdbcManager) |
public static boolean executeAction(SmartContext context, SmartAction action, boolean reset) throws Exception
Exceptionpublic static boolean executeRules(SmartContext context, SmartAction action, boolean canContinue) throws Exception
Exceptionpublic static void executeScripts(SmartContext context, List<String> scripts) throws Exception
Exceptionpublic static boolean executeBinds(SmartContext context, SmartAction action, boolean canContinue, boolean storable, boolean reset) throws Exception
Exceptionpublic static void executeLoads(SmartContext context, SmartAction action) throws Exception
Exceptionpublic org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequest in interface org.springframework.web.servlet.mvc.ControllerExceptionpublic org.springframework.web.servlet.ModelAndView restHandleRequest(SmartContext ctx) throws Exception
Exceptionpublic boolean execute(SmartContext context) throws Exception
Exceptionpublic void setJdbcManager(JdbcManager jdbcManager)
Copyright © 2015. All rights reserved.