egovframework.rfc3.mall.web
Class GoodsController

java.lang.Object
  extended by egovframework.rfc3.mall.web.GoodsController

@Controller
@Service(value="GoodsController")
@SessionAttributes(types=SessionVO.class)
public class GoodsController
extends java.lang.Object

쇼핑몰 상품관리에 대한 Controller 클래스를 정의한다.

Since:
2011.11.22
Version:
egovframework RFC 3.0
Author:
개발팀 양민욱
See Also:
 << 개정이력(Modification Information) >>
   
       수정일      수정자                   수정내용
  --------------  --------        ---------------------------
  2011.11.22  양민욱         rfc3 기능 참조

 Copyright (C) 2009 by MOPAS  All right reserved.
 

Constructor Summary
GoodsController()
           
 
Method Summary
 java.lang.String buypopup(GoodsVO goodsVO, MallSearchVO mallSearchVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
static boolean getDecoderCheck(java.lang.String filename)
           
 java.lang.String goodsDeleteAct(GoodsFileVO goodsFileVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodsDeleteAct(GoodsVO goodsVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodsList(GoodsVO goodsVO, MallSearchVO mallSearchVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodsUpdate(GoodsVO goodsVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodsUpdateAct(GoodsVO goodsVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodsView(GoodsVO goodsVO, MallSearchVO mallSearchVO, GoodsNoteVO goodsNoteVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodswrite(GoodsVO goodsVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String goodswriteAct(GoodsVO goodsVO, org.springframework.validation.BindingResult bindingResult, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 void insertDataFile(GoodsVO goodsVO, GoodsFileVO goodsFileVO)
           
 java.lang.String noteDeleteAct(GoodsNoteVO goodsNoteVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String noteWriteAct(GoodsNoteVO goodsNoteVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
           
 java.lang.String selectCategoryList(CategoryCode1VO categoryCode1VO, org.springframework.ui.ModelMap model)
          카테고리 1차 리스트
 java.lang.String selectCategoryList(CategoryCode2VO categoryCode2VO, org.springframework.ui.ModelMap model)
          카테고리 2차 리스트
 java.lang.String selectCategoryList(CategoryCode3VO categoryCode3VO, org.springframework.ui.ModelMap model)
          카테고리 3차 리스트
 java.lang.String selectCategoryList(CategoryVO categoryVO, org.springframework.ui.ModelMap model)
          공통코드 리스트
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoodsController

public GoodsController()
Method Detail

goodsList

@RequestMapping(value={"/cms/mall/goods/list.sko","/mall/list.*"})
public java.lang.String goodsList(@ModelAttribute(value="goodsVO")
                                                 GoodsVO goodsVO,
                                                 @ModelAttribute(value="mallSearchVO")
                                                 MallSearchVO mallSearchVO,
                                                 javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response,
                                                 org.springframework.ui.ModelMap model)
                           throws java.lang.Exception
Throws:
java.lang.Exception

goodswrite

@RequestMapping(value="/cms/mall/goods/write.sko")
public java.lang.String goodswrite(@ModelAttribute(value="goodsVO")
                                                  GoodsVO goodsVO,
                                                  javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response,
                                                  org.springframework.ui.ModelMap model)
                            throws java.lang.Exception
Throws:
java.lang.Exception

goodswriteAct

@RequestMapping(value="/cms/mall/goods/writeAct.sko")
public java.lang.String goodswriteAct(@ModelAttribute(value="goodsVO")
                                                     GoodsVO goodsVO,
                                                     org.springframework.validation.BindingResult bindingResult,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     org.springframework.ui.ModelMap model)
                               throws java.lang.Exception
Throws:
java.lang.Exception

goodsUpdate

@RequestMapping(value="/cms/mall/goods/update.sko")
public java.lang.String goodsUpdate(@ModelAttribute(value="goodsVO")
                                                   GoodsVO goodsVO,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response,
                                                   org.springframework.ui.ModelMap model)
                             throws java.lang.Exception
Throws:
java.lang.Exception

goodsView

@RequestMapping(value="/mall/view.*")
public java.lang.String goodsView(@ModelAttribute(value="goodsVO")
                                                 GoodsVO goodsVO,
                                                 @ModelAttribute(value="mallSearchVO")
                                                 MallSearchVO mallSearchVO,
                                                 @ModelAttribute(value="GoodsNoteVO")
                                                 GoodsNoteVO goodsNoteVO,
                                                 javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response,
                                                 org.springframework.ui.ModelMap model)
                           throws java.lang.Exception
Throws:
java.lang.Exception

goodsUpdateAct

@RequestMapping(value="/cms/mall/goods/updateAct.sko")
public java.lang.String goodsUpdateAct(@ModelAttribute(value="goodsVO")
                                                      GoodsVO goodsVO,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response,
                                                      org.springframework.ui.ModelMap model)
                                throws java.lang.Exception
Throws:
java.lang.Exception

goodsDeleteAct

@RequestMapping(value="/cms/mall/goods/deleteAct.sko")
public java.lang.String goodsDeleteAct(@ModelAttribute(value="goodsVO")
                                                      GoodsVO goodsVO,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response,
                                                      org.springframework.ui.ModelMap model)
                                throws java.lang.Exception
Throws:
java.lang.Exception

goodsDeleteAct

@RequestMapping(value="/cms/mall/goods/fileDeleteAct.sko")
public java.lang.String goodsDeleteAct(@ModelAttribute(value="goodsFileVO")
                                                      GoodsFileVO goodsFileVO,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response,
                                                      org.springframework.ui.ModelMap model)
                                throws java.lang.Exception
Throws:
java.lang.Exception

selectCategoryList

@RequestMapping(value="/cms/mall/category/list.sko")
public java.lang.String selectCategoryList(@ModelAttribute(value="CategoryVO")
                                                          CategoryVO categoryVO,
                                                          org.springframework.ui.ModelMap model)
                                    throws java.lang.Exception
공통코드 리스트

Parameters:
categoryVO - (박형민)
model -
Returns:
Throws:
java.lang.Exception

selectCategoryList

@RequestMapping(value="/cms/mall/category/list1.sko")
public java.lang.String selectCategoryList(@ModelAttribute(value="CategoryCode1VO")
                                                          CategoryCode1VO categoryCode1VO,
                                                          org.springframework.ui.ModelMap model)
                                    throws java.lang.Exception
카테고리 1차 리스트

Parameters:
CategoryCode1VO - (박형민)
model -
Returns:
Throws:
java.lang.Exception

selectCategoryList

@RequestMapping(value="/cms/mall/category/list2.sko")
public java.lang.String selectCategoryList(@ModelAttribute(value="CategoryCode2VO")
                                                          CategoryCode2VO categoryCode2VO,
                                                          org.springframework.ui.ModelMap model)
                                    throws java.lang.Exception
카테고리 2차 리스트

Parameters:
CategoryCode2VO - (박형민)
model -
Returns:
Throws:
java.lang.Exception

selectCategoryList

@RequestMapping(value="/cms/mall/category/list3.sko")
public java.lang.String selectCategoryList(@ModelAttribute(value="CategoryCode3VO")
                                                          CategoryCode3VO categoryCode3VO,
                                                          org.springframework.ui.ModelMap model)
                                    throws java.lang.Exception
카테고리 3차 리스트

Parameters:
CategoryCode3VO - (박형민)
model -
Returns:
Throws:
java.lang.Exception

buypopup

@RequestMapping(value="/mall/buypop.*")
public java.lang.String buypopup(@ModelAttribute(value="goodsVO")
                                                GoodsVO goodsVO,
                                                @ModelAttribute(value="mallSearchVO")
                                                MallSearchVO mallSearchVO,
                                                javax.servlet.http.HttpServletRequest request,
                                                javax.servlet.http.HttpServletResponse response,
                                                org.springframework.ui.ModelMap model)
                          throws java.lang.Exception
Throws:
java.lang.Exception

noteWriteAct

@RequestMapping(value="/mall/noteWriteAct.*")
public java.lang.String noteWriteAct(@ModelAttribute(value="GoodsNoteVO")
                                                    GoodsNoteVO goodsNoteVO,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response,
                                                    org.springframework.ui.ModelMap model)
                              throws java.lang.Exception
Throws:
java.lang.Exception

noteDeleteAct

@RequestMapping(value="/mall/noteDeleteAct.*")
public java.lang.String noteDeleteAct(@ModelAttribute(value="GoodsNoteVO")
                                                     GoodsNoteVO goodsNoteVO,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     org.springframework.ui.ModelMap model)
                               throws java.lang.Exception
Throws:
java.lang.Exception

insertDataFile

public void insertDataFile(GoodsVO goodsVO,
                           GoodsFileVO goodsFileVO)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getDecoderCheck

public static boolean getDecoderCheck(java.lang.String filename)