|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
org.springframework.web.servlet.mvc.AbstractCommandController
es.mcu.yingo.controladores.SuperControladorCommand
es.mcu.yingo.controladores.ControladorDetalleFichero
public class ControladorDetalleFichero
Utilidad que permite obtener el detalle de un fichero que se ha subido
al servidor previamente.
Field Summary | |
---|---|
private static java.lang.String |
CLAVE_DATOS_VISTA
Clave para los datos que se enciarán a la vista |
private java.util.Map<java.lang.String,java.lang.String> |
vista
Map de vistas que redirigen al resultado del detalle del fichero |
Fields inherited from class es.mcu.yingo.controladores.SuperControladorCommand |
---|
logger |
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
---|
DEFAULT_COMMAND_NAME |
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
---|
HEADER_CACHE_CONTROL, HEADER_EXPIRES, HEADER_PRAGMA, METHOD_GET, METHOD_HEAD, METHOD_POST |
Constructor Summary | |
---|---|
ControladorDetalleFichero()
Constructor por defecto Se pone como Command Class DatosId, que es el id de la clase de negocio de la tabla datos |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getVista()
Map de vistas que redirigen al resultado del detalle del fichero |
protected org.springframework.web.servlet.ModelAndView |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
Recupera el campo de tipo fichero que está en el servidor de ficheros y muestra el detalle, tipo, tamaño, resumen criptográfico... |
void |
setVista(java.util.Map<java.lang.String,java.lang.String> vista)
Map de vistas que redirigen al resultado del detalle del fichero |
Methods inherited from class es.mcu.yingo.controladores.SuperControladorCommand |
---|
getBaseDatos, getSpringContextUtilWeb, obtenerVistaAplicacion, recogerParametro, setBaseDatos, setSpringContextUtilWeb |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractCommandController |
---|
handleRequestInternal |
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
---|
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommand, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, suppressBinding, suppressValidation |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
---|
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
---|
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
---|
getServletContext, getTempDir, getWebApplicationContext, isContextRequired |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String CLAVE_DATOS_VISTA
private java.util.Map<java.lang.String,java.lang.String> vista
Constructor Detail |
---|
public ControladorDetalleFichero()
Method Detail |
---|
protected org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object command, org.springframework.validation.BindException errors) throws java.lang.Exception
handle
in class org.springframework.web.servlet.mvc.AbstractCommandController
request
- response
- command
- errors
-
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.String> getVista()
public void setVista(java.util.Map<java.lang.String,java.lang.String> vista)
vista
- the vista to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |