org.codelabor.system.file.web.spring.controller
Class BaseFileCommandController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.web.servlet.mvc.AbstractController
                  extended by org.springframework.web.servlet.mvc.BaseCommandController
                      extended by org.springframework.web.servlet.mvc.AbstractCommandController
                          extended by org.codelabor.system.file.web.spring.controller.BaseFileCommandController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
Direct Known Subclasses:
FileDeleteController

public abstract class BaseFileCommandController
extends org.springframework.web.servlet.mvc.AbstractCommandController

기본 파일 Command Controller 추상 클래스

Author:
Shin Sang-jae

Field Summary
protected  FileManager fileManager
          파일 매니저
protected  anyframe.core.idgen.IIdGenerationService mapIdGenerationService
          Map Id 제네레이션 서비스
protected  anyframe.core.properties.IPropertiesService propertiesService
          프로퍼티 서비스
protected  java.lang.String successView
          성공 뷰
protected  anyframe.core.idgen.IIdGenerationService uniqueFilenameGenerationService
          고유 파일명 제네레이션 서비스
 
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
BaseFileCommandController()
           
 
Method Summary
 java.lang.String getSuccessView()
          성공 뷰를 가져온다.
 void setFileManager(FileManager fileManager)
          파일 매니저를 설정한다.
 void setMapIdGenerationService(anyframe.core.idgen.IIdGenerationService mapIdGenerationService)
          Map Id 제네레이션 서비스를 설정한다.
 void setPropertiesService(anyframe.core.properties.IPropertiesService propertiesService)
          프로퍼티 서비스를 설정한다.
 void setSuccessView(java.lang.String successView)
          성공 뷰를 설정한다.
 void setUniqueFilenameGenerationService(anyframe.core.idgen.IIdGenerationService uniqueFilenameGenerationService)
          고유 파일명 제네레이션 서비스를 설정한다.
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractCommandController
handle, handleRequestInternal
 
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommand, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, suppressValidation, useDirectFieldAccess
 
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, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
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

fileManager

protected FileManager fileManager
파일 매니저


propertiesService

protected anyframe.core.properties.IPropertiesService propertiesService
프로퍼티 서비스


uniqueFilenameGenerationService

protected anyframe.core.idgen.IIdGenerationService uniqueFilenameGenerationService
고유 파일명 제네레이션 서비스


mapIdGenerationService

protected anyframe.core.idgen.IIdGenerationService mapIdGenerationService
Map Id 제네레이션 서비스


successView

protected java.lang.String successView
성공 뷰

Constructor Detail

BaseFileCommandController

public BaseFileCommandController()
Method Detail

setMapIdGenerationService

public void setMapIdGenerationService(anyframe.core.idgen.IIdGenerationService mapIdGenerationService)
Map Id 제네레이션 서비스를 설정한다.

Parameters:
mapIdGenerationService - Map Id 제네레이션 서비스

setFileManager

public void setFileManager(FileManager fileManager)
파일 매니저를 설정한다.

Parameters:
fileManager - 파일 매니저

setPropertiesService

public void setPropertiesService(anyframe.core.properties.IPropertiesService propertiesService)
프로퍼티 서비스를 설정한다.

Parameters:
propertiesService - 프로퍼티 서비스

setUniqueFilenameGenerationService

public void setUniqueFilenameGenerationService(anyframe.core.idgen.IIdGenerationService uniqueFilenameGenerationService)
고유 파일명 제네레이션 서비스를 설정한다.

Parameters:
uniqueFilenameGenerationService - 고유 파일명 제네레이션 서비스

getSuccessView

public java.lang.String getSuccessView()
성공 뷰를 가져온다.

Returns:
성공 뷰

setSuccessView

public void setSuccessView(java.lang.String successView)
성공 뷰를 설정한다.

Parameters:
successView - 성공 뷰


Copyright © 2011 CODELABOR. All Rights Reserved.