|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codelabor.system.file.web.spring.controller.FileController
@Controller @RequestMapping(value="/example/file/spring/mvc") public class FileController
Field Summary | |
---|---|
protected FileManager |
fileManager
파일 매니저 |
protected org.anyframe.idgen.IdGenService |
mapIdGenService
Map Id 제네레이션 서비스 |
protected String |
repositoryPath
파일 저장 경로 |
protected RepositoryType |
repositoryType
파일 저장 방식 |
protected org.anyframe.idgen.IdGenService |
uniqueFilenameGenerationService
고유 파일명 제네레이션 서비스 |
Constructor Summary | |
---|---|
FileController()
|
Method Summary | |
---|---|
String |
delete(org.codelabor.system.dto.StringIdArrayDTO springIDArrayDTO)
|
void |
download(String userAgent,
String fileId,
javax.servlet.http.HttpServletResponse response)
|
String |
list(String mapId,
String repositoryType,
org.springframework.ui.Model model)
|
String |
upload(FileList fileList)
|
void |
view(String fileId,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Inject @Named(value="fileManager") protected FileManager fileManager
@Inject @Named(value="mapIdGenService") protected org.anyframe.idgen.IdGenService mapIdGenService
@Inject @Named(value="uniqueFilenameGenerationService") protected org.anyframe.idgen.IdGenService uniqueFilenameGenerationService
protected String repositoryPath
protected RepositoryType repositoryType
Constructor Detail |
---|
public FileController()
Method Detail |
---|
@RequestMapping(value="upload") public String upload(FileList fileList) throws Exception
Exception
@RequestMapping(value="/download") public void download(@RequestHeader(value="User-Agent") String userAgent, @RequestParam(value="fileId") String fileId, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
@RequestMapping(value="/view") public void view(@RequestParam(value="fileId") String fileId, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
@RequestMapping(value="/list") public String list(@RequestParam(value="mapId",required=false) String mapId, @RequestParam(value="repositoryType",required=false) String repositoryType, org.springframework.ui.Model model)
@RequestMapping(value="/delete") public String delete(org.codelabor.system.dto.StringIdArrayDTO springIDArrayDTO) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |