egovframework.rfc3.openapi30.webservice.impl
Class OpenApiBoardDataServiceImpl

java.lang.Object
  extended by egovframework.rfc3.openapi30.webservice.impl.OpenApiBoardDataServiceImpl
All Implemented Interfaces:
OpenApiBoardDataService

@BindingType(value="http://www.w3.org/2003/05/soap/bindings/HTTP/")
@SchemaValidation
public class OpenApiBoardDataServiceImpl
extends java.lang.Object
implements OpenApiBoardDataService


Constructor Summary
OpenApiBoardDataServiceImpl()
           
 
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 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 getHeaderAuthKey()
          soap 헤더에서 인증키 가져오기
 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)
          각 정보별 플래그에 따른 필터링 처리
 boolean replyOfficer(java.lang.String boardId, long dataSid)
          답변 부서 여부
 BoardDataList RFC3OpenApiBoardDataList(BoardVO boardVO, BoardSearchVO boardSearchVO)
          오픈api 게시물 목록
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenApiBoardDataServiceImpl

public OpenApiBoardDataServiceImpl()
Method Detail

RFC3OpenApiBoardDataList

public BoardDataList RFC3OpenApiBoardDataList(BoardVO boardVO,
                                              BoardSearchVO boardSearchVO)
오픈api 게시물 목록

Specified by:
RFC3OpenApiBoardDataList in interface OpenApiBoardDataService
Parameters:
boardVO -
boardSearchVO -
Returns:

getHeaderAuthKey

public java.lang.String getHeaderAuthKey()
soap 헤더에서 인증키 가져오기

Returns:

replyOfficer

public boolean replyOfficer(java.lang.String boardId,
                            long dataSid)
                     throws java.lang.Exception
답변 부서 여부

Parameters:
boardId -
dataSid -
Returns:
Throws:
java.lang.Exception

isGranted

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
권한 체크

Parameters:
request -
response -
ssoKey -
resouceName -
resouceValue -
Returns:
Throws:
java.lang.Exception

onlineFilterData

public java.lang.String onlineFilterData(BoardEtcVO boardEtcVO,
                                         BoardDataVO boardDataVO,
                                         CommentVO commentVO,
                                         javax.servlet.http.HttpServletRequest request)
                                  throws java.lang.Exception
각 정보별 플래그에 따른 필터링 처리

Parameters:
boardEtcVO -
boardDataVO -
rootPath -
uploadPath -
command -
Returns:
Throws:
java.lang.Exception

boardCleanerFilter

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 보드클리너 필터

Parameters:
게시물 - Data
Returns:
String 필터링 정보
Throws:
java.lang.Exception

filterData

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
각 정보별 플래그에 따른 필터링 처리

Parameters:
boardEtcVO -
boardDataVO -
rootPath -
uploadPath -
command -
Returns:
Throws:
java.lang.Exception

insertDataFile

public void insertDataFile(BoardDataVO boardDataVO,
                           java.util.List<BoardFileVO> boardFileVOList,
                           BoardEtcVO boardEtcVO)
                    throws java.lang.Exception
첨부파일 DB 정보를 INSERT하면서 이미지 파일인 경우 썸네일을 생성한다.

Parameters:
boardDataVO -
boardFileVOList -
Throws:
java.lang.Exception

getDecoderCheck

public static boolean getDecoderCheck(java.lang.String filename)
Parameters:
filename -
Returns: