egovframework.rfc3.question.web
Class QuestionWebController

java.lang.Object
  extended by egovframework.rfc3.question.web.QuestionWebController

@Controller
@SessionAttributes(types=SessionVO.class)
@RequestMapping(value={"","/","/{contextPath}/"})
public class QuestionWebController
extends java.lang.Object

이벤트 / 설문에 대한 controller 클래스를 정의한다.

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

 Copyright (C) 2009 by MOPAS  All right reserved.
 

Constructor Summary
QuestionWebController()
           
 
Method Summary
 boolean isGranted(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String resouceName, java.lang.String resouceValue)
           
 java.util.List<AnQuestionItemVO> selectAnQuestionItemList(AnQuestionVO anQuestionVO)
           
 java.lang.String webQuestionEventWriteAct(QuestionVO questionVO, QuestionUserInfoVO questionUserInfoVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          이벤트 저장 액션
 java.lang.String webQuestionList(QuestionVO questionVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          설문 목록
 java.lang.String webQuestionView(QuestionVO questionVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          설문 보기
 java.lang.String webQuestionWrite(QuestionVO questionVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          설문 작성 폼
 java.lang.String webQuestionWriteAct(QuestionVO questionVO, QuestionUserInfoVO questionUserInfoVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          설문 작성 액션
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionWebController

public QuestionWebController()
Method Detail

webQuestionList

@RequestMapping(value={"/survey/list.*","/event/list.*"})
public java.lang.String webQuestionList(@ModelAttribute(value="questionVO")
                                                       QuestionVO questionVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response,
                                                       org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
설문 목록

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

webQuestionView

@RequestMapping(value={"/survey/view.*","/event/view.*"})
public java.lang.String webQuestionView(@ModelAttribute(value="questionVO")
                                                       QuestionVO questionVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response,
                                                       org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
설문 보기

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

webQuestionWrite

@RequestMapping(value={"/survey/write.*","/event/write.*"})
public java.lang.String webQuestionWrite(@ModelAttribute(value="questionVO")
                                                        QuestionVO questionVO,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response,
                                                        org.springframework.ui.ModelMap model)
                                  throws java.lang.Exception
설문 작성 폼

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

webQuestionWriteAct

@RequestMapping(value={"/survey/writeAct.*","/event/writeSkinAct.*"})
public java.lang.String webQuestionWriteAct(@ModelAttribute(value="questionVO")
                                                           QuestionVO questionVO,
                                                           @ModelAttribute(value="questionUserInfoVO")
                                                           QuestionUserInfoVO questionUserInfoVO,
                                                           javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response,
                                                           org.springframework.ui.ModelMap model)
                                     throws java.lang.Exception
설문 작성 액션

Parameters:
questionVO -
questionUserInfoVO -
request -
response -
model -
Returns:
Throws:
java.lang.Exception

webQuestionEventWriteAct

@RequestMapping(value="/event/writeAct.*")
public java.lang.String webQuestionEventWriteAct(@ModelAttribute(value="questionVO")
                                                                QuestionVO questionVO,
                                                                @ModelAttribute(value="questionUserInfoVO")
                                                                QuestionUserInfoVO questionUserInfoVO,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response,
                                                                org.springframework.ui.ModelMap model)
                                          throws java.lang.Exception
이벤트 저장 액션

Parameters:
questionVO -
questionUserInfoVO -
request -
response -
model -
Returns:
Throws:
java.lang.Exception

selectAnQuestionItemList

public java.util.List<AnQuestionItemVO> selectAnQuestionItemList(AnQuestionVO anQuestionVO)
                                                          throws java.lang.Exception
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 resouceValue)
                  throws java.lang.Exception
Throws:
java.lang.Exception