cn.gtmap.estateplat.core.web
类 BaseController

java.lang.Object
  继承者 cn.gtmap.estateplat.core.web.BaseController

@Controller
public abstract class BaseController
extends Object

.

版本:
V1.0, 16-3-15
作者:
shenjian

字段摘要
protected  org.slf4j.Logger logger
           
 
构造方法摘要
BaseController()
           
 
方法摘要
protected static Map<String,Object> fail(Exception ex)
           
protected static void fail(org.springframework.ui.Model model)
           
protected static void fail(org.springframework.ui.Model model, Exception ex)
           
protected static void fail(org.springframework.ui.Model model, String msg)
           
protected static Map<String,Object> fail(String message)
           
protected  String getMsg(String key)
           
protected  String getMsg(String key, Object... args)
           
protected static Map<String,Object> success()
           
protected static void success(org.springframework.web.servlet.mvc.support.RedirectAttributes ra)
           
protected static void success(org.springframework.web.servlet.mvc.support.RedirectAttributes ra, String msg)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

logger

protected final org.slf4j.Logger logger
构造方法详细信息

BaseController

public BaseController()
方法详细信息

getMsg

protected final String getMsg(String key)

getMsg

protected final String getMsg(String key,
                              Object... args)

success

protected static void success(org.springframework.web.servlet.mvc.support.RedirectAttributes ra,
                              String msg)

success

protected static void success(org.springframework.web.servlet.mvc.support.RedirectAttributes ra)

fail

protected static void fail(org.springframework.ui.Model model,
                           String msg)

fail

protected static void fail(org.springframework.ui.Model model,
                           Exception ex)

fail

protected static void fail(org.springframework.ui.Model model)

success

protected static Map<String,Object> success()

fail

protected static Map<String,Object> fail(String message)

fail

protected static Map<String,Object> fail(Exception ex)


Copyright © 2015–2017 cn.gtmap. All rights reserved.