itexpert.chap10.bbs
Class BbsListHandler

java.lang.Object
  |
  +--itexpert.chap10.bbs.BbsListHandler

public class BbsListHandler
extends java.lang.Object

Author:
kenu Àüü °Ô½Ã¹° °¹¼ö¿Í ¸ñ·ÏÀ» ±¸ÇÏ´Â ¾×¼Çºó

Constructor Summary
BbsListHandler()
           
 
Method Summary
 int getCpage()
          Returns the cpage.
 java.util.Collection getList()
          ÆäÀÌÁö¿¡ ¸Â´Â °Ô½Ã¹° ¸ñ·ÏÀ» ¹ÝȯÇÑ´Ù.
 int getPageSize()
          Returns the pageSize.
 int getTotal()
          °Ô½Ã¹° ¼ö¸¦ ¹ÝȯÇÑ´Ù.
 void setCpage(int cpage)
          Sets the cpage.
 void setPageSize(int pageSize)
          Sets the pageSize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BbsListHandler

public BbsListHandler()
Method Detail

getList

public java.util.Collection getList()
                             throws java.sql.SQLException
ÆäÀÌÁö¿¡ ¸Â´Â °Ô½Ã¹° ¸ñ·ÏÀ» ¹ÝȯÇÑ´Ù. ÆäÀÌÁö¹øÈ£¿Í

Returns:
Collection
Throws:
java.sql.SQLException

getTotal

public int getTotal()
             throws java.sql.SQLException
°Ô½Ã¹° ¼ö¸¦ ¹ÝȯÇÑ´Ù.

Returns:
int
java.sql.SQLException

setCpage

public void setCpage(int cpage)
Sets the cpage.

Parameters:
cpage - The cpage to set

setPageSize

public void setPageSize(int pageSize)
Sets the pageSize.

Parameters:
pageSize - The pageSize to set

getCpage

public int getCpage()
Returns the cpage.

Returns:
int

getPageSize

public int getPageSize()
Returns the pageSize.

Returns:
int