|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object egovframework.rfc3.openapi30.web.OpenApiBoardDataController
@Controller @Service(value="OpenApiBoardDataController") @SessionAttributes(types=SessionVO.class) @RequestMapping(value={"","/","/{contextPath}/"}) public class OpenApiBoardDataController
게시판에 대한 controller 클래스를 정의한다.
<< 개정이력(Modification Information) >> 수정일 수정자 수정내용 -------------- -------- --------------------------- 2011.04.25 양민욱 rfc3 iam 참조
Constructor Summary | |
---|---|
OpenApiBoardDataController()
|
Method Summary | |
---|---|
java.lang.String |
boardCleanerFilter(BoardVO boardVO,
BoardEtcVO boardEtcVO,
BoardDataVO boardDataVO,
CommentVO commentVO,
java.lang.String filterIdx,
java.lang.String rootPath,
java.lang.String uploadPath,
java.lang.String command,
java.util.List<BoardFileVO> boardFileVOList,
javax.servlet.http.HttpServletRequest request)
Data 보드클리너 필터 |
java.lang.String |
boardDataFileDelete(BoardFileVO boardFileVO,
BoardSearchVO boardSearchVO,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.bind.support.SessionStatus status,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
오픈 API 첨부파일 삭제 |
java.lang.String |
filterData(BoardEtcVO boardEtcVO,
BoardDataVO boardDataVO,
CommentVO commentVO,
java.lang.String command,
java.util.List<BoardFileVO> boardFileVOList,
javax.servlet.http.HttpServletRequest request)
각 정보별 플래그에 따른 필터링 처리 |
static boolean |
getDecoderCheck(java.lang.String filename)
|
java.lang.String |
getRestMode()
|
void |
insertDataFile(BoardDataVO boardDataVO,
java.util.List<BoardFileVO> boardFileVOList,
BoardEtcVO boardEtcVO)
첨부파일 DB 정보를 INSERT하면서 이미지 파일인 경우 썸네일을 생성한다. |
boolean |
isGranted(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String ssoKey,
java.lang.String resouceName,
java.lang.String resouceValue)
권한 체크 |
java.lang.String |
onlineFilterData(BoardEtcVO boardEtcVO,
BoardDataVO boardDataVO,
CommentVO commentVO,
javax.servlet.http.HttpServletRequest request)
각 정보별 플래그에 따른 필터링 처리 |
java.lang.String |
openApiAuthKeyValidate(java.lang.String authApiKey,
org.springframework.ui.ModelMap model)
인증키 검사 |
boolean |
replyOfficer(java.lang.String boardId,
long dataSid)
답변 부서 여부 |
void |
setRestMode(java.lang.String restMode)
|
org.springframework.web.servlet.ModelAndView |
showException(java.lang.Exception ex)
해당 controller 안에서 전역 에러 처리 |
java.lang.String |
viewBoardDataDeleteAct(BoardDataVO boardDataVO,
BoardVO boardVO,
BoardSearchVO boardSearchVO,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.bind.support.SessionStatus status,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
오픈 API 게시물 삭제 |
java.lang.String |
viewBoardDataList(BoardVO boardVO,
BoardSearchVO boardSearchVO,
LoginVO loginVO,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
오픈 api(xml,json) 게시물 목록 |
java.lang.String |
viewBoardDataListRss(BoardVO boardVO,
BoardSearchVO boardSearchVO,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
RSS 게시물 목록 |
java.lang.String |
viewBoardDataUpdateAct(BoardDataVO boardDataVO,
BoardVO boardVO,
BoardSearchVO boardSearchVO,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.bind.support.SessionStatus status,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
오픈 API 게시물 수정 액션 |
java.lang.String |
viewBoardDataView(BoardDataVO boardDataVO,
BoardVO boardVO,
BoardSearchVO boardSearchVO,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
오픈 api(xml,json) 게시판 글보기 |
java.lang.String |
viewBoardDataWriteAct(BoardDataVO boardDataVO,
BoardVO boardVO,
BoardSearchVO boardSearchVO,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.bind.support.SessionStatus status,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
오픈 API 게시물 등록 액션 |
java.lang.String |
viewScheduleDataList(BoardVO boardVO,
BoardSearchVO boardSearchVO,
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 |
---|
public OpenApiBoardDataController()
Method Detail |
---|
public java.lang.String getRestMode()
public void setRestMode(java.lang.String restMode)
@RequestMapping(value="/board/openApi/list.*") public java.lang.String viewBoardDataList(@ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, @ModelAttribute(value="loginVO") LoginVO loginVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/schedule/openApi/list.*") public java.lang.String viewScheduleDataList(@ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/board/openApi/rss.*") public java.lang.String viewBoardDataListRss(@ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value={"/board/openApi/view.*","/schedule/OpenApi/view.*"}) public java.lang.String viewBoardDataView(@ModelAttribute(value="boardDataVO") BoardDataVO boardDataVO, @ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
boardDataVO
- boardVO
- boardSearchVO
- request
- response
- model
-
java.lang.Exception
@RequestMapping(value={"/board/openApi/writeAct.*","/scheduleOpenApi/writeAct.*"}) public java.lang.String viewBoardDataWriteAct(@ModelAttribute(value="boardDataVO") BoardDataVO boardDataVO, @ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, org.springframework.validation.BindingResult bindingResult, org.springframework.web.bind.support.SessionStatus status, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
boardDataVO
- boardVO
- boardSearchVO
- bindingResult
- status
- request
- response
- model
-
java.lang.Exception
@RequestMapping(value={"/board/openApi/updateAct.*","/scheduleOpenApi/updateAct.*"}) public java.lang.String viewBoardDataUpdateAct(@ModelAttribute(value="boardDataVO") BoardDataVO boardDataVO, @ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, org.springframework.validation.BindingResult bindingResult, org.springframework.web.bind.support.SessionStatus status, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
boardDataVO
- boardVO
- boardSearchVO
- bindingResult
- status
- request
- response
- model
-
java.lang.Exception
@RequestMapping(value={"/board/openApi/deleteAct.*","/scheduleOpenApi/deleteAct.*"}) public java.lang.String viewBoardDataDeleteAct(@ModelAttribute(value="boardDataVO") BoardDataVO boardDataVO, @ModelAttribute(value="boardVO") BoardVO boardVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, org.springframework.validation.BindingResult bindingResult, org.springframework.web.bind.support.SessionStatus status, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
boardDataVO
- boardVO
- boardSearchVO
- bindingResult
- status
- request
- response
- model
-
java.lang.Exception
@RequestMapping(value={"/board/openApi/deleteFile.*","/scheduleOpenApi/deleteFile.*"}) public java.lang.String boardDataFileDelete(@ModelAttribute(value="boardFileVO") BoardFileVO boardFileVO, @ModelAttribute(value="boardSearchVO") BoardSearchVO boardSearchVO, org.springframework.validation.BindingResult bindingResult, org.springframework.web.bind.support.SessionStatus status, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.ModelMap model) throws java.lang.Exception
boardFileVO
- boardSearchVO
- bindingResult
- status
- request
- response
- model
-
java.lang.Exception
public boolean replyOfficer(java.lang.String boardId, long dataSid) throws java.lang.Exception
boardId
- dataSid
-
java.lang.Exception
public boolean isGranted(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String ssoKey, java.lang.String resouceName, java.lang.String resouceValue) throws java.lang.Exception
request
- response
- ssoKey
- resouceName
- resouceValue
-
java.lang.Exception
public java.lang.String openApiAuthKeyValidate(java.lang.String authApiKey, org.springframework.ui.ModelMap model) throws java.lang.Exception
authApiKey
- model
-
java.lang.Exception
public java.lang.String onlineFilterData(BoardEtcVO boardEtcVO, BoardDataVO boardDataVO, CommentVO commentVO, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
boardEtcVO
- boardDataVO
- rootPath
- uploadPath
- command
-
java.lang.Exception
public java.lang.String boardCleanerFilter(BoardVO boardVO, BoardEtcVO boardEtcVO, BoardDataVO boardDataVO, CommentVO commentVO, java.lang.String filterIdx, java.lang.String rootPath, java.lang.String uploadPath, java.lang.String command, java.util.List<BoardFileVO> boardFileVOList, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
게시물
- Data
java.lang.Exception
public java.lang.String filterData(BoardEtcVO boardEtcVO, BoardDataVO boardDataVO, CommentVO commentVO, java.lang.String command, java.util.List<BoardFileVO> boardFileVOList, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
boardEtcVO
- boardDataVO
- rootPath
- uploadPath
- command
-
java.lang.Exception
public void insertDataFile(BoardDataVO boardDataVO, java.util.List<BoardFileVO> boardFileVOList, BoardEtcVO boardEtcVO) throws java.lang.Exception
boardDataVO
- boardFileVOList
-
java.lang.Exception
public static boolean getDecoderCheck(java.lang.String filename)
filename
-
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.web.servlet.ModelAndView showException(java.lang.Exception ex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |