egovframework.rfc3.question.web
Class QuestionManager

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

public class QuestionManager
extends java.lang.Object


Constructor Summary
QuestionManager()
           
QuestionManager(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 AnQuestionVO getAnQuestion(long questionSid, long anQuestionSid)
           
 int getAnQuestionCount()
           
 int getAnQuestionItemCount()
           
 long getAnQuestionSid()
          질문의 고유값 반환
 long getAnswerCount()
           
 java.lang.String getAnswerDuplicateFl()
           
 long getContentsSid()
           
 int getDataNum()
           
 java.lang.String getDefaultParam1()
          공통1 게시판ID, 게시판 SID, 메뉴CD, 컨텐츠SID, 정렬방법, 게시판 카테고리정보
 java.lang.String getDefaultParam2()
          공통2 게시판 페이지, 검색필드, 검색어
 java.lang.String getDomainNm()
           
 java.lang.String getEndDate()
           
 java.lang.String getEndDateStr()
           
 java.lang.String getFileMask()
           
 java.lang.String getFileNm()
           
 long getGroupIdx()
           
 java.lang.String getHeadContent()
          머릿글 내용을 반환한다
 java.lang.String getItemAnswer()
          문항의 답변 여부 출력
 long getItemQuestionSid()
          문항의 고유값 반환
 java.lang.String getItemText()
          문항 내용 출력
 int getItemType()
          답변 유형을 반환한다 1.
 long getLinkSid()
           
 java.lang.String getMenuCd()
           
 int getPageNum()
           
 java.lang.String getPaging()
           
 QuestionVO getQuestion(long questionSid)
           
 java.lang.String getQuestionContent()
           
 int getQuestionCount()
           
 java.lang.String getQuestionHint()
          질문 힌트를 반환한다
 java.lang.String getQuestionNum()
           
 java.lang.String getQuestionOpenFl()
           
 int getQuestionResultCount()
           
 long getQuestionSid()
           
 java.lang.String getQuestionText()
          질문 내용을 반환한다
 java.lang.String getQuestionTitle()
           
 java.lang.String getQuestionType()
           
 java.lang.String getQuestionUseFl()
           
 java.lang.String getRegister_dt(java.lang.String pattern)
           
 java.lang.String getResultOpenFl()
           
 java.lang.String getStartDate()
           
 java.lang.String getStartDateStr()
           
 java.lang.String getSubjectAnswer()
           
 int getSurveyCnt()
          설문 참여자수
 java.lang.String getToPagingParam()
           
 int getTotalCount()
           
 java.lang.String getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserRegNo()
           
 void initBoardPaging()
           
 int isDuplicateUser(java.lang.String regNo, long questionSid)
           
 boolean isSurveyTerm()
           
 java.lang.String isSurveyTermStr()
           
 java.lang.String percentCnt(long questionSid, long anQuestionSid, long itemQuestionSid)
           
 java.util.List<QuestionResultVO> selectResultUserResult(long questionSid, long anQuestionSid, long itemQuestionSid)
          특정 설문 문항에 대한 사용자 답목록 가져오기
 void setAnQuestionItemVO(AnQuestionItemVO anQuestionItemVO)
          사용자가 직접 문항을 설정한다
 void setAnQuestionItemVO(int index)
          질문에 대항 문항을 설정한다.
 void setAnQuestionVO(AnQuestionVO anQuestionVO)
          사용자가 직접 질문을 설정한다.
 void setAnQuestionVO(int index)
          질문 설정
 void setQuestionResultVO(int index)
           
 void setQuestionResultVO(QuestionResultVO questionResultVO)
           
 void setQuestionVO(int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionManager

public QuestionManager()
                throws java.lang.Exception
Throws:
java.lang.Exception

QuestionManager

public QuestionManager(javax.servlet.http.HttpServletRequest request)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

isDuplicateUser

public int isDuplicateUser(java.lang.String regNo,
                           long questionSid)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getQuestionSid

public long getQuestionSid()

getDomainNm

public java.lang.String getDomainNm()

getQuestionType

public java.lang.String getQuestionType()

getQuestionTitle

public java.lang.String getQuestionTitle()

getQuestionContent

public java.lang.String getQuestionContent()

getStartDate

public java.lang.String getStartDate()

getStartDateStr

public java.lang.String getStartDateStr()

getEndDateStr

public java.lang.String getEndDateStr()

getEndDate

public java.lang.String getEndDate()

getQuestionUseFl

public java.lang.String getQuestionUseFl()

getQuestionOpenFl

public java.lang.String getQuestionOpenFl()

getAnswerDuplicateFl

public java.lang.String getAnswerDuplicateFl()

getResultOpenFl

public java.lang.String getResultOpenFl()

getUserId

public java.lang.String getUserId()

getAnswerCount

public long getAnswerCount()

getRegister_dt

public java.lang.String getRegister_dt(java.lang.String pattern)

isSurveyTerm

public boolean isSurveyTerm()

isSurveyTermStr

public java.lang.String isSurveyTermStr()

getTotalCount

public int getTotalCount()

getQuestionCount

public int getQuestionCount()

getAnQuestionCount

public int getAnQuestionCount()

getAnQuestionItemCount

public int getAnQuestionItemCount()

getQuestionResultCount

public int getQuestionResultCount()

setQuestionVO

public void setQuestionVO(int index)

getDataNum

public int getDataNum()

setAnQuestionVO

public void setAnQuestionVO(int index)
질문 설정

Parameters:
index -

setAnQuestionVO

public void setAnQuestionVO(AnQuestionVO anQuestionVO)
사용자가 직접 질문을 설정한다.

Parameters:
anQuestionVO -

setAnQuestionItemVO

public void setAnQuestionItemVO(int index)
질문에 대항 문항을 설정한다.

Parameters:
index -

setAnQuestionItemVO

public void setAnQuestionItemVO(AnQuestionItemVO anQuestionItemVO)
사용자가 직접 문항을 설정한다

Parameters:
anQuestionItemVO -

setQuestionResultVO

public void setQuestionResultVO(int index)

setQuestionResultVO

public void setQuestionResultVO(QuestionResultVO questionResultVO)

selectResultUserResult

public java.util.List<QuestionResultVO> selectResultUserResult(long questionSid,
                                                               long anQuestionSid,
                                                               long itemQuestionSid)
                                                        throws java.lang.Exception
특정 설문 문항에 대한 사용자 답목록 가져오기

Parameters:
questionSid -
anQuestionSid -
itemQuestionSid -
Returns:
Throws:
java.lang.Exception

getAnQuestion

public AnQuestionVO getAnQuestion(long questionSid,
                                  long anQuestionSid)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getQuestion

public QuestionVO getQuestion(long questionSid)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getFileMask

public java.lang.String getFileMask()

getFileNm

public java.lang.String getFileNm()

getAnQuestionSid

public long getAnQuestionSid()
질문의 고유값 반환

Returns:

getQuestionText

public java.lang.String getQuestionText()
질문 내용을 반환한다

Returns:

getHeadContent

public java.lang.String getHeadContent()
머릿글 내용을 반환한다

Returns:

getQuestionHint

public java.lang.String getQuestionHint()
질문 힌트를 반환한다

Returns:

getItemType

public int getItemType()
답변 유형을 반환한다 1. 단일선택, 2.복수선택, 3.주관식, 4.단일기타, 5.복수기타

Returns:

getQuestionNum

public java.lang.String getQuestionNum()

getGroupIdx

public long getGroupIdx()

getItemQuestionSid

public long getItemQuestionSid()
문항의 고유값 반환

Returns:

getItemText

public java.lang.String getItemText()
문항 내용 출력

Returns:

getItemAnswer

public java.lang.String getItemAnswer()
문항의 답변 여부 출력

Returns:

getLinkSid

public long getLinkSid()

getSubjectAnswer

public java.lang.String getSubjectAnswer()

getUserName

public java.lang.String getUserName()

getUserRegNo

public java.lang.String getUserRegNo()

getMenuCd

public java.lang.String getMenuCd()

getContentsSid

public long getContentsSid()

getSurveyCnt

public int getSurveyCnt()
설문 참여자수

Returns:

initBoardPaging

public void initBoardPaging()

getPageNum

public int getPageNum()

getPaging

public java.lang.String getPaging()

getDefaultParam1

public java.lang.String getDefaultParam1()
공통1 게시판ID, 게시판 SID, 메뉴CD, 컨텐츠SID, 정렬방법, 게시판 카테고리정보


getDefaultParam2

public java.lang.String getDefaultParam2()
공통2 게시판 페이지, 검색필드, 검색어


getToPagingParam

public java.lang.String getToPagingParam()

percentCnt

public java.lang.String percentCnt(long questionSid,
                                   long anQuestionSid,
                                   long itemQuestionSid)