|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectframework.util.JQGridUtil
public class JQGridUtil
jqGrid ¸¦ ÀÌ¿ëÇÏ¿© °³¹ßÇÒ ¶§ ÀÌ¿ëÇÒ ¼ö ÀÖ´Â À¯Æ¿¸®Æ¼ Ŭ·¡½ºÀÌ´Ù.
Method Summary | |
---|---|
static java.lang.String |
escapeJS(java.lang.String str)
ÀÚ¹Ù½ºÅ©¸³Æ®»ó¿¡ Ư¼öÇÏ°Ô ÀνĵǴ ¹®ÀÚµéÀ» JSONµî¿¡ »ç¿ëÇϱâ À§ÇØ º¯È¯ÇÏ¿©ÁØ´Ù. |
static java.lang.String |
format(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> mapList,
int totalCount,
int currentPage,
int rowsPerPage)
List°´Ã¼¸¦ jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÑ´Ù. |
static java.lang.String |
format(RecordSet rs,
int totalCount,
int currentPage,
int rowsPerPage)
RecordSetÀ» jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÑ´Ù. |
static java.lang.String |
format(RecordSet rs,
int totalCount,
int currentPage,
int rowsPerPage,
java.lang.String[] colNames)
RecordSetÀ» jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÑ´Ù. |
static java.lang.String |
format(java.sql.ResultSet rs,
int totalCount,
int currentPage,
int rowsPerPage)
ResultSetÀ» jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÑ´Ù. |
static java.lang.String |
format(java.sql.ResultSet rs,
int totalCount,
int currentPage,
int rowsPerPage,
java.lang.String[] colNames)
ResultSetÀ» jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÑ´Ù. |
static int |
setRecordSet(javax.servlet.http.HttpServletResponse response,
RecordSet rs,
int totalCount,
int currentPage,
int rowsPerPage)
RecordSetÀ» jqGrid Çü½ÄÀ¸·Î Ãâ·ÂÇÑ´Ù. |
static int |
setRecordSet(javax.servlet.http.HttpServletResponse response,
RecordSet rs,
int totalCount,
int currentPage,
int rowsPerPage,
java.lang.String[] colNames)
RecordSetÀ» jqGrid Çü½ÄÀ¸·Î Ãâ·ÂÇÑ´Ù. |
static int |
setResultSet(javax.servlet.http.HttpServletResponse response,
java.sql.ResultSet rs,
int totalCount,
int currentPage,
int rowsPerPage)
ResultSetÀ» jqGrid Çü½ÄÀ¸·Î Ãâ·ÂÇÑ´Ù. |
static int |
setResultSet(javax.servlet.http.HttpServletResponse response,
java.sql.ResultSet rs,
int totalCount,
int currentPage,
int rowsPerPage,
java.lang.String[] colNames)
ResultSetÀ» jqGrid Çü½ÄÀ¸·Î Ãâ·ÂÇÑ´Ù. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int setRecordSet(javax.servlet.http.HttpServletResponse response, RecordSet rs, int totalCount, int currentPage, int rowsPerPage) throws ColumnNotFoundException, java.io.IOException
response
- Ŭ¶óÀÌ¾ðÆ®·Î ÀÀ´äÇÒ Response °´Ã¼rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ RecordSet °´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼ö
ColumnNotFoundException
java.io.IOException
public static int setRecordSet(javax.servlet.http.HttpServletResponse response, RecordSet rs, int totalCount, int currentPage, int rowsPerPage, java.lang.String[] colNames) throws ColumnNotFoundException, java.io.IOException
response
- Ŭ¶óÀÌ¾ðÆ®·Î ÀÀ´äÇÒ Response °´Ã¼rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ RecordSet °´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼öcolNames
- Ä÷³À̸§ ¹è¿
ColumnNotFoundException
java.io.IOException
public static java.lang.String format(RecordSet rs, int totalCount, int currentPage, int rowsPerPage) throws ColumnNotFoundException
rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ RecordSet °´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼ö
ColumnNotFoundException
public static java.lang.String format(RecordSet rs, int totalCount, int currentPage, int rowsPerPage, java.lang.String[] colNames) throws ColumnNotFoundException
rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ RecordSet °´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼öcolNames
- Ä÷³À̸§ ¹è¿
ColumnNotFoundException
public static int setResultSet(javax.servlet.http.HttpServletResponse response, java.sql.ResultSet rs, int totalCount, int currentPage, int rowsPerPage) throws java.sql.SQLException, java.io.IOException
response
- Ŭ¶óÀÌ¾ðÆ®·Î ÀÀ´äÇÒ Response °´Ã¼rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ ResultSet °´Ã¼, ResultSet °´Ã¼´Â ÀÚµ¿À¸·Î close µÈ´Ù.totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼ö
java.sql.SQLException
java.io.IOException
public static int setResultSet(javax.servlet.http.HttpServletResponse response, java.sql.ResultSet rs, int totalCount, int currentPage, int rowsPerPage, java.lang.String[] colNames) throws java.sql.SQLException, java.io.IOException
response
- Ŭ¶óÀÌ¾ðÆ®·Î ÀÀ´äÇÒ Response °´Ã¼rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ ResultSet °´Ã¼, ResultSet °´Ã¼´Â ÀÚµ¿À¸·Î close µÈ´Ù.totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼öcolNames
- Ä÷³À̸§ ¹è¿
java.sql.SQLException
java.io.IOException
public static java.lang.String format(java.sql.ResultSet rs, int totalCount, int currentPage, int rowsPerPage) throws java.sql.SQLException
rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ ResultSet °´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼ö
java.sql.SQLException
public static java.lang.String format(java.sql.ResultSet rs, int totalCount, int currentPage, int rowsPerPage, java.lang.String[] colNames) throws java.sql.SQLException
rs
- jqGrid Çü½ÄÀ¸·Î º¯È¯ÇÒ ResultSet °´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼öcolNames
- Ä÷³À̸§ ¹è¿
java.sql.SQLException
public static java.lang.String format(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> mapList, int totalCount, int currentPage, int rowsPerPage)
mapList
- º¯È¯ÇÒ List°´Ã¼totalCount
- ÀüüÆäÀÌÁö¼öcurrentPage
- ÇöÀçÆäÀÌÁö¼örowsPerPage
- ÇÑÆäÀÌÁö¿¡ Ç¥½ÃÇÒ ·Î¿ì¼ö
public static java.lang.String escapeJS(java.lang.String str)
str
- º¯È¯ÇÒ ¹®ÀÚ¿
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |