egovframework.rfc3.menu.web
Class MenuController

java.lang.Object
  extended by egovframework.rfc3.menu.web.MenuController

@Controller
@SessionAttributes(types=SessionVO.class)
public class MenuController
extends java.lang.Object

Since:
2011.05.30
Version:
egovframework RFC 3.0
Author:
박형민
See Also:
 << 메뉴관리 >>
   
   수정일      수정자           수정내용
  -------    -------------    ----------------------
   2011.05.30 박형민 최초작업

 Copyright (C) 2011 by skoinfo  All right reserved.
   

Constructor Summary
MenuController()
           
 
Method Summary
 boolean contentsTypecheckFun(java.lang.String contentsTypeList, MenuVO menuDateVO)
          컨텐츠타입 제외 확인.
 java.lang.String deleteMenu(MenuVO menuVO, org.springframework.ui.ModelMap model)
          메뉴 삭제
 boolean domainCheckFun(boolean contentsTypecheck, MenuVO menuDateVO)
          특정도메인 제외 확인
 java.lang.String findUserList(javax.servlet.http.HttpServletRequest request, LoginVO loginVO, org.springframework.ui.ModelMap model)
          사용자 찾기
 boolean isGranted(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String resouceName, java.lang.String menuCd, java.lang.String resouceValue)
           
 void menuQrCodeDownLoad(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          menuQr down load
 java.lang.String qrCodeMakeAct(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
           
 java.lang.String qrmake(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          메뉴 qr 코드 생성폼
 java.lang.String reprsample(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          일괄 메뉴담당자 엑셀샘플제공
 java.lang.String reprsampleAct(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          일괄메뉴담당자 엑셀업로드 액션
 java.lang.String reprsampleWrite(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          일괄메뉴담당자 엑셀업로드 등록코딩페이지
 java.lang.String resultPage(MenuVO menuVO, org.springframework.ui.ModelMap model)
          결과 페이지
 java.util.List<MenuVO> searchK(java.util.List<MenuVO> menuListTemp1, MenuVO menuVO, MenuVO searchMenuVO)
          메뉴담당관리 메뉴명검색 menuVO : 원본데이타 searchMenuVO : 검색데이타
 java.lang.String selectManagerMenuList(MenuVO menuVO, MenuVO searchMenuVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          메뉴관리자 전용 리스트
 java.lang.String selectManagerMenuListSearch(MenuVO menuVO, MenuVO searchMenuVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          메뉴관리자 전용 리스트
 java.lang.String selectMenuList(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          메뉴 리스트
 java.lang.String selectMenuOfficeUpdateAct(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          메뉴 등록 Action
 java.lang.String selectMenuOfficeWrite(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          메뉴 담당자 수정
 java.lang.String selectMenuRoleListSearch(MenuVO menuVO, MenuVO searchMenuVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
           
 java.lang.String selectMenuUpdate(MenuVO menuVO, org.springframework.ui.ModelMap model)
          메뉴 입력 수정
 java.lang.String selectMenuUpdateAct(MenuVO menuVO, org.springframework.ui.ModelMap model)
          메뉴 수정 Action
 java.lang.String selectMenuWrite(MenuVO menuVO, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          메뉴 입력 수정
 java.lang.String selectMenuWriteAct(MenuVO menuVO, org.springframework.ui.ModelMap model)
          메뉴 입력 Action
 java.lang.String sortList(MenuVO menuVO, org.springframework.ui.ModelMap model)
          메뉴 생성 정렬 (게시판인경우)
 java.lang.String userResultPage(MenuVO menuVO, org.springframework.ui.ModelMap model)
          결과 페이지 사용자페이지
 java.lang.String w3Validator(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
          웹표준 검사
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuController

public MenuController()
Method Detail

reprsample

@RequestMapping(value="/cms/menu/reprsample.sko")
public java.lang.String reprsample(@ModelAttribute(value="MenuVO")
                                                  MenuVO menuVO,
                                                  javax.servlet.http.HttpServletRequest request,
                                                  org.springframework.ui.ModelMap model)
                            throws java.lang.Exception
일괄 메뉴담당자 엑셀샘플제공

Throws:
java.lang.Exception

reprsampleWrite

@RequestMapping(value="/cms/menu/reprsampleWrite.sko")
public java.lang.String reprsampleWrite(@ModelAttribute(value="MenuVO")
                                                       MenuVO menuVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       org.springframework.ui.ModelMap model)
일괄메뉴담당자 엑셀업로드 등록코딩페이지


reprsampleAct

@RequestMapping(value={"/cms/menu/reprsampleAct.sko","/user/specifierAct.*"})
public java.lang.String reprsampleAct(@ModelAttribute(value="MenuVO")
                                                     MenuVO menuVO,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response,
                                                     org.springframework.ui.ModelMap model)
                               throws java.lang.Exception
일괄메뉴담당자 엑셀업로드 액션

Throws:
java.lang.Exception

selectMenuList

@RequestMapping(value={"/cms/menu/list.sko","/cms/menu/listexcel.sko"})
public java.lang.String selectMenuList(@ModelAttribute(value="MenuVO")
                                                      MenuVO menuVO,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      org.springframework.ui.ModelMap model)
                                throws java.lang.Exception
메뉴 리스트

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception - /cms/menu/list_excel.sko

searchK

public java.util.List<MenuVO> searchK(java.util.List<MenuVO> menuListTemp1,
                                      MenuVO menuVO,
                                      MenuVO searchMenuVO)
                               throws java.lang.Exception
메뉴담당관리 메뉴명검색 menuVO : 원본데이타 searchMenuVO : 검색데이타

Throws:
java.lang.Exception

contentsTypecheckFun

public boolean contentsTypecheckFun(java.lang.String contentsTypeList,
                                    MenuVO menuDateVO)
컨텐츠타입 제외 확인.


domainCheckFun

public boolean domainCheckFun(boolean contentsTypecheck,
                              MenuVO menuDateVO)
특정도메인 제외 확인


selectManagerMenuList

@RequestMapping(value={"/cms/menu/listmanager.sko","/cms/menu/listmanager2.sko"})
public java.lang.String selectManagerMenuList(@ModelAttribute(value="MenuVO")
                                                             MenuVO menuVO,
                                                             @ModelAttribute(value="MenuVO")
                                                             MenuVO searchMenuVO,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response,
                                                             org.springframework.ui.ModelMap model)
                                       throws java.lang.Exception
메뉴관리자 전용 리스트

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

selectMenuWrite

@RequestMapping(value="/cms/menu/write.sko")
public java.lang.String selectMenuWrite(@ModelAttribute(value="MenuVO")
                                                       MenuVO menuVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
메뉴 입력 수정

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

selectMenuWriteAct

@RequestMapping(value="/cms/menu/writeAct.sko")
public java.lang.String selectMenuWriteAct(@ModelAttribute(value="MenuVO")
                                                          MenuVO menuVO,
                                                          org.springframework.ui.ModelMap model)
                                    throws java.lang.Exception
메뉴 입력 Action

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

selectMenuUpdate

@RequestMapping(value="/cms/menu/update.sko")
public java.lang.String selectMenuUpdate(@ModelAttribute(value="MenuVO")
                                                        MenuVO menuVO,
                                                        org.springframework.ui.ModelMap model)
                                  throws java.lang.Exception
메뉴 입력 수정

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

selectMenuUpdateAct

@RequestMapping(value="/cms/menu/updateAct.sko")
public java.lang.String selectMenuUpdateAct(@ModelAttribute(value="MenuVO")
                                                           MenuVO menuVO,
                                                           org.springframework.ui.ModelMap model)
                                     throws java.lang.Exception
메뉴 수정 Action

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

sortList

@RequestMapping(value="/cms/menu/sortlist.sko")
public java.lang.String sortList(@ModelAttribute(value="MenuVO")
                                                MenuVO menuVO,
                                                org.springframework.ui.ModelMap model)
                          throws java.lang.Exception
메뉴 생성 정렬 (게시판인경우)

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

deleteMenu

@RequestMapping(value="/cms/menu/deleteAct.sko")
public java.lang.String deleteMenu(@ModelAttribute(value="MenuVO")
                                                  MenuVO menuVO,
                                                  org.springframework.ui.ModelMap model)
                            throws java.lang.Exception
메뉴 삭제

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

resultPage

@RequestMapping(value="/cms/menu/result.sko")
public java.lang.String resultPage(@ModelAttribute(value="MenuVO")
                                                  MenuVO menuVO,
                                                  org.springframework.ui.ModelMap model)
                            throws java.lang.Exception
결과 페이지

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

userResultPage

@RequestMapping(value="/user/menu/useresult.*")
public java.lang.String userResultPage(@ModelAttribute(value="MenuVO")
                                                      MenuVO menuVO,
                                                      org.springframework.ui.ModelMap model)
                                throws java.lang.Exception
결과 페이지 사용자페이지

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

w3Validator

@RequestMapping(value="/cms/menu/w3Validator.sko")
public java.lang.String w3Validator(javax.servlet.http.HttpServletRequest request,
                                                   org.springframework.ui.ModelMap model)
                             throws java.lang.Exception
웹표준 검사

Parameters:
request -
model -
Returns:
Throws:
java.lang.Exception

qrmake

@RequestMapping(value="/cms/menu/qrmake.sko")
public java.lang.String qrmake(javax.servlet.http.HttpServletRequest request,
                                              org.springframework.ui.ModelMap model)
                        throws java.lang.Exception
메뉴 qr 코드 생성폼

Parameters:
request -
model -
Returns:
Throws:
java.lang.Exception

qrCodeMakeAct

@RequestMapping(value="/cms/menu/qrCodeMakeAct.sko")
public java.lang.String qrCodeMakeAct(javax.servlet.http.HttpServletRequest request,
                                                     org.springframework.ui.ModelMap model)
                               throws java.lang.Exception
Throws:
java.lang.Exception

menuQrCodeDownLoad

@RequestMapping(value="/cms/menu/qrDownLoad.sko")
public void menuQrCodeDownLoad(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response,
                                              org.springframework.ui.ModelMap model)
                        throws java.lang.Exception
menuQr down load

Parameters:
request -
response -
model -
Throws:
java.lang.Exception

selectMenuOfficeWrite

@RequestMapping(value="/user/menu/officewrite.*")
public java.lang.String selectMenuOfficeWrite(@ModelAttribute(value="MenuVO")
                                                             MenuVO menuVO,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response,
                                                             org.springframework.ui.ModelMap model)
                                       throws java.lang.Exception
메뉴 담당자 수정

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

selectMenuOfficeUpdateAct

@RequestMapping(value="/user/menu/updateofficeAct.*")
public java.lang.String selectMenuOfficeUpdateAct(@ModelAttribute(value="MenuVO")
                                                                 MenuVO menuVO,
                                                                 javax.servlet.http.HttpServletRequest request,
                                                                 javax.servlet.http.HttpServletResponse response,
                                                                 org.springframework.ui.ModelMap model)
                                           throws java.lang.Exception
메뉴 등록 Action

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

isGranted

public boolean isGranted(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response,
                         java.lang.String resouceName,
                         java.lang.String menuCd,
                         java.lang.String resouceValue)
                  throws java.lang.Exception
Throws:
java.lang.Exception

selectManagerMenuListSearch

@RequestMapping(value={"/cms/menu/managerSearch.sko","/cms/menu/menuExcelDown.sko"})
public java.lang.String selectManagerMenuListSearch(@ModelAttribute(value="MenuVO")
                                                                   MenuVO menuVO,
                                                                   @ModelAttribute(value="MenuVO")
                                                                   MenuVO searchMenuVO,
                                                                   javax.servlet.http.HttpServletRequest request,
                                                                   org.springframework.ui.ModelMap model)
                                             throws java.lang.Exception
메뉴관리자 전용 리스트

Parameters:
menuVO -
model -
Returns:
Throws:
java.lang.Exception

findUserList

@RequestMapping(value="/cms/menu/finduser.sko")
public java.lang.String findUserList(javax.servlet.http.HttpServletRequest request,
                                                    @ModelAttribute(value="loginVO")
                                                    LoginVO loginVO,
                                                    org.springframework.ui.ModelMap model)
                              throws java.lang.Exception
사용자 찾기

Parameters:
request -
loginVO -
model -
Returns:
Throws:
java.lang.Exception

selectMenuRoleListSearch

@RequestMapping(value={"/cms/menu/menuRoleSearch.sko","/cms/menu/menuRoleExcelDown.sko"})
public java.lang.String selectMenuRoleListSearch(@ModelAttribute(value="MenuVO")
                                                                MenuVO menuVO,
                                                                @ModelAttribute(value="MenuVO")
                                                                MenuVO searchMenuVO,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                org.springframework.ui.ModelMap model)
                                          throws java.lang.Exception
Throws:
java.lang.Exception