skoinfo.rfc.question.action
Class QuestionAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by skoinfo.rfc.common.action.AbstractAction
          extended by skoinfo.rfc.question.action.QuestionAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.ServletResponseAware

public class QuestionAction
extends AbstractAction
implements com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.ModelDriven, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.ServletResponseAware

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
QuestionAction()
           
 
Method Summary
 int anQuestionCount(org.hibernate.Session session, QuestionVO questionVO)
          설문 속 질문수 Count
 java.lang.String deleteQuestionAct()
          설문 삭제 Action
 java.lang.String deleteQuestionEventAct()
          이벤트 삭제 Action
 java.lang.String getCommand()
           command getter
 java.lang.String getKeyword()
           keyword getter
 java.lang.Object getModel()
          Model-Driven Interceptor
 java.lang.String getOrderField()
           
 java.lang.String getOrderSort()
           
 int getPageBlock()
           pageBlock getter
 int getPageSize()
           pageSize getter
 Paging getPaging()
           Paging getter
 QuestionVO getQuestionVO()
           QuestionVO VO
 java.lang.String getSearchType()
           searchType getter
 int getStartPage()
           startPage getter
 java.lang.String listQuestion()
           
 void prepare()
          Prepare Interceptor
 void setCommand(java.lang.String command)
           command setter
 void setKeyword(java.lang.String keyword)
           keyword setter
 void setOrderField(java.lang.String orderField)
           
 void setOrderSort(java.lang.String orderSort)
           
 void setQuestionVO(QuestionVO questionVO)
           QuestionVO setter
 void setSearchType(java.lang.String searchType)
           searchType setter
 void setServletRequest(javax.servlet.http.HttpServletRequest request)
           HttpServletRequest setter
 void setServletResponse(javax.servlet.http.HttpServletResponse response)
           HttpServletResponse setter
 void setStartPage(int startPage)
           startPage setter
 java.lang.String updateQuestionAct()
          설문 수정 Action
 java.lang.String viewQuestion()
          설문 보기 Action
 java.lang.String wrietQuestionAct()
          설문 저장 Action
 java.lang.String writeQuestion()
          설문 등록및 수정 폼 Action
 
Methods inherited from class skoinfo.rfc.common.action.AbstractAction
getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionAction

public QuestionAction()
Method Detail

prepare

public void prepare()
             throws java.lang.Exception
Prepare Interceptor

Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
Throws:
java.lang.Exception

getModel

public java.lang.Object getModel()
Model-Driven Interceptor

Specified by:
getModel in interface com.opensymphony.xwork2.ModelDriven

listQuestion

public java.lang.String listQuestion()
                              throws java.lang.Exception
Throws:
java.lang.Exception

anQuestionCount

public int anQuestionCount(org.hibernate.Session session,
                           QuestionVO questionVO)
설문 속 질문수 Count

Returns:
질문수

writeQuestion

public java.lang.String writeQuestion()
                               throws java.lang.Exception
설문 등록및 수정 폼 Action

Returns:
처리 결과를 리턴한다.
Throws:
java.lang.Exception - 처리

wrietQuestionAct

public java.lang.String wrietQuestionAct()
                                  throws java.lang.Exception
설문 저장 Action

Returns:
처리 결과를 리턴한다.
Throws:
java.lang.Exception - 처리3333

viewQuestion

public java.lang.String viewQuestion()
                              throws java.lang.Exception
설문 보기 Action

Returns:
처리 결과를 리턴한다.
Throws:
java.lang.Exception - 처리

updateQuestionAct

public java.lang.String updateQuestionAct()
                                   throws java.lang.Exception
설문 수정 Action

Returns:
처리 결과를 리턴한다.
Throws:
java.lang.Exception - 처리

deleteQuestionAct

public java.lang.String deleteQuestionAct()
                                   throws java.lang.Exception
설문 삭제 Action

Returns:
처리 결과를 리턴한다.
Throws:
java.lang.Exception - 처리

deleteQuestionEventAct

public java.lang.String deleteQuestionEventAct()
                                        throws java.lang.Exception
이벤트 삭제 Action

Returns:
처리 결과를 리턴한다.
Throws:
java.lang.Exception - 처리

getQuestionVO

public QuestionVO getQuestionVO()

QuestionVO VO


setQuestionVO

public void setQuestionVO(QuestionVO questionVO)

QuestionVO setter


setServletRequest

public void setServletRequest(javax.servlet.http.HttpServletRequest request)

HttpServletRequest setter

Specified by:
setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAware

setServletResponse

public void setServletResponse(javax.servlet.http.HttpServletResponse response)

HttpServletResponse setter

Specified by:
setServletResponse in interface org.apache.struts2.interceptor.ServletResponseAware

setStartPage

public void setStartPage(int startPage)

startPage setter


getStartPage

public int getStartPage()

startPage getter


getPaging

public Paging getPaging()

Paging getter


getKeyword

public java.lang.String getKeyword()

keyword getter


setKeyword

public void setKeyword(java.lang.String keyword)

keyword setter


getSearchType

public java.lang.String getSearchType()

searchType getter


setSearchType

public void setSearchType(java.lang.String searchType)

searchType setter


setCommand

public void setCommand(java.lang.String command)

command setter


getCommand

public java.lang.String getCommand()

command getter


getPageSize

public int getPageSize()

pageSize getter


getPageBlock

public int getPageBlock()

pageBlock getter


getOrderField

public java.lang.String getOrderField()
Returns:

setOrderField

public void setOrderField(java.lang.String orderField)
Parameters:
orderField -

getOrderSort

public java.lang.String getOrderSort()
Returns:

setOrderSort

public void setOrderSort(java.lang.String orderSort)
Parameters:
orderSort -