egovframework.rfc3.openapiuser.common
Class CommonDAO

java.lang.Object
  extended by egovframework.rfc3.openapiuser.common.CommonDAO
Direct Known Subclasses:
SampleController

public class CommonDAO
extends java.lang.Object


Field Summary
 java.lang.String funcIsCheckDataAuthKey
           
 java.lang.String funcIsUsedUrl
           
 java.lang.String staticQueryQuery
           
 
Constructor Summary
CommonDAO()
           
 
Method Summary
 void checkAuthApiKey(java.lang.String authApiKey, javax.servlet.http.HttpServletRequest request)
           
 java.lang.Integer commonPageIndex(java.lang.Integer startPage, java.lang.Integer pageSize)
           
 java.lang.Integer commonPageSize(java.lang.Integer pageSize)
           
 java.lang.Integer commonStartPage(java.lang.Integer startPage, java.lang.Integer pageSize, java.lang.Integer totalCount)
           
 Header failHeader(Header header, java.lang.String msg)
           
 void failLog(long startTime, long endTime, java.lang.String authApiKey, javax.servlet.http.HttpServletRequest request, java.lang.String error)
           
 java.lang.Integer queryForInt(java.util.HashMap param)
           
 java.util.List queryList(java.util.HashMap param, java.lang.Integer pageIndex, java.lang.Integer pageSize, java.lang.Class object)
           
 void saveLog(long startTime, long endTime, java.lang.String authApiKey, javax.servlet.http.HttpServletRequest request)
           
 java.lang.String searchWord(java.lang.String keyWord, javax.servlet.http.HttpServletRequest request)
           
 void setFuncXmlConfig(java.lang.String queryId)
           
 void setJdbcTemplate(java.lang.String dataSourceId)
           
 Header successHeader(Header header)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

funcIsUsedUrl

public java.lang.String funcIsUsedUrl

funcIsCheckDataAuthKey

public java.lang.String funcIsCheckDataAuthKey

staticQueryQuery

public java.lang.String staticQueryQuery
Constructor Detail

CommonDAO

public CommonDAO()
Method Detail

setJdbcTemplate

public void setJdbcTemplate(java.lang.String dataSourceId)
                     throws java.lang.Exception
Throws:
java.lang.Exception

setFuncXmlConfig

public void setFuncXmlConfig(java.lang.String queryId)
                      throws java.lang.Exception
Throws:
java.lang.Exception

queryForInt

public java.lang.Integer queryForInt(java.util.HashMap param)
                              throws java.lang.Exception
Throws:
java.lang.Exception

queryList

public java.util.List queryList(java.util.HashMap param,
                                java.lang.Integer pageIndex,
                                java.lang.Integer pageSize,
                                java.lang.Class object)
                         throws java.lang.Exception
Throws:
java.lang.Exception

searchWord

public java.lang.String searchWord(java.lang.String keyWord,
                                   javax.servlet.http.HttpServletRequest request)
                            throws java.lang.Exception
Throws:
java.lang.Exception

commonPageSize

public java.lang.Integer commonPageSize(java.lang.Integer pageSize)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

commonStartPage

public java.lang.Integer commonStartPage(java.lang.Integer startPage,
                                         java.lang.Integer pageSize,
                                         java.lang.Integer totalCount)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

commonPageIndex

public java.lang.Integer commonPageIndex(java.lang.Integer startPage,
                                         java.lang.Integer pageSize)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

successHeader

public Header successHeader(Header header)

failHeader

public Header failHeader(Header header,
                         java.lang.String msg)

checkAuthApiKey

public void checkAuthApiKey(java.lang.String authApiKey,
                            javax.servlet.http.HttpServletRequest request)
                     throws java.lang.Exception
Throws:
java.lang.Exception

saveLog

public void saveLog(long startTime,
                    long endTime,
                    java.lang.String authApiKey,
                    javax.servlet.http.HttpServletRequest request)
             throws java.lang.Exception
Throws:
java.lang.Exception

failLog

public void failLog(long startTime,
                    long endTime,
                    java.lang.String authApiKey,
                    javax.servlet.http.HttpServletRequest request,
                    java.lang.String error)
             throws java.lang.Exception
Throws:
java.lang.Exception