egovframework.rfc3.sns.web
Class SnsCommentController

java.lang.Object
  extended by egovframework.rfc3.sns.web.SnsCommentController

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


Constructor Summary
SnsCommentController()
           
 
Method Summary
 java.lang.String commentDeleteAct(SnsCommentVO snsCommentVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          commentDeleteAct
 java.lang.String commentWriteAct(SnsCommentVO snsCommentVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model)
          Sns Comment WriteAct
 java.lang.String filterData(SnsCommentVO snsCommentVO, javax.servlet.http.HttpServletRequest request)
          filterData
 org.springframework.web.servlet.ModelAndView showException(java.lang.Exception ex)
          해당 controller 안에서 전역 에러 처리
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnsCommentController

public SnsCommentController()
Method Detail

commentWriteAct

@RequestMapping(value="/sns/commentWriteAct.*")
public java.lang.String commentWriteAct(@ModelAttribute(value="snsCommentVO")
                                                       SnsCommentVO snsCommentVO,
                                                       javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response,
                                                       org.springframework.ui.ModelMap model)
                                 throws java.lang.Exception
Sns Comment WriteAct

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

commentDeleteAct

@RequestMapping(value="/sns/commentDeleteAct.*")
public java.lang.String commentDeleteAct(@ModelAttribute(value="snsCommentVO")
                                                        SnsCommentVO snsCommentVO,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response,
                                                        org.springframework.ui.ModelMap model)
                                  throws java.lang.Exception
commentDeleteAct

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

showException

@ExceptionHandler(value=java.lang.Exception.class)
public org.springframework.web.servlet.ModelAndView showException(java.lang.Exception ex)
해당 controller 안에서 전역 에러 처리

Returns:

filterData

public java.lang.String filterData(SnsCommentVO snsCommentVO,
                                   javax.servlet.http.HttpServletRequest request)
                            throws java.lang.Exception
filterData

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