com.poscoict.glueframework.dao.vo
Class GluePageSetImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<GlueRow<String,Object>>
              extended by com.poscoict.glueframework.dao.vo.GlueRowSetImpl
                  extended by com.poscoict.glueframework.dao.vo.GluePageSetImpl
All Implemented Interfaces:
GluePageSet, GlueRowSet<GlueRow<String,Object>>, Serializable, Cloneable, Iterable<GlueRow<String,Object>>, Collection<GlueRow<String,Object>>, List<GlueRow<String,Object>>, RandomAccess

public class GluePageSetImpl
extends GlueRowSetImpl
implements GluePageSet

Database Å×À̺íÀÇ º¹¼ö °³ÀÇ ·¹Äڵ带 Ç¥ÇöÇÏ´Â Value Object. º¹¼ö °³ÀÇ ·¹ÄÚµå´Â ÇϳªÀÇ GlueRowSetImpl ¿ÀºêÁ§Æ®·Î Ç¥ÇöµÈ´Ù.

See Also:
Serialized Form

Field Summary
protected  int currentPage
          current page number
protected  int pageSize
          Page Size
protected  int totalRowCount
          Total Row Count
 
Fields inherited from class com.poscoict.glueframework.dao.vo.GlueRowSetImpl
columndefs
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
GluePageSetImpl()
          »ý¼ºÀÚ(constructor).
GluePageSetImpl(List<GlueRow<String,Object>> rows)
          »ý¼ºÀÚ(constructor).
 
Method Summary
 int getCurrentPage()
          ÇöÀç Page ¹øÈ£¸¦ ³Ñ°Ü ÁØ´Ù.
 int getPageSize()
          Page Size¸¦ Return ÇÑ´Ù.
 int getTotalRowCount()
          Á¶È¸µÈ ½ÇÁ¦ÀûÀÎ ÃÑ ·¹ÄÚµå °³¼ö¸¦ È®ÀÎÇÑ´Ù.
 void setCurrentPage(int currentPage)
          currentPage ¸¦ ¼³Á¤ÇÑ´Ù.
 void setPageSize(int pageSize)
          Page Size¸¦ ¼³Á¤ÇÑ´Ù.
 void setTotalRowCount(int size)
          ÃÑ ·¹ÄÚµå °³¼ö¸¦ ¼³Á¤ÇÑ´Ù.
 
Methods inherited from class com.poscoict.glueframework.dao.vo.GlueRowSetImpl
count, getAllRow, getColumnDefs, hasNext, hasPrevious, next, previous, reset, setColumnDefs
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.poscoict.glueframework.dao.vo.GlueRowSet
count, getAllRow, getColumnDefs, hasNext, hasPrevious, next, previous, reset, setColumnDefs
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Field Detail

totalRowCount

protected int totalRowCount
Total Row Count


pageSize

protected int pageSize
Page Size


currentPage

protected int currentPage
current page number

Constructor Detail

GluePageSetImpl

public GluePageSetImpl()
»ý¼ºÀÚ(constructor).


GluePageSetImpl

public GluePageSetImpl(List<GlueRow<String,Object>> rows)
»ý¼ºÀÚ(constructor).

Parameters:
rows -
Method Detail

getCurrentPage

public int getCurrentPage()
Description copied from interface: GluePageSet
ÇöÀç Page ¹øÈ£¸¦ ³Ñ°Ü ÁØ´Ù.

Specified by:
getCurrentPage in interface GluePageSet
Returns:
Current Page

setCurrentPage

public void setCurrentPage(int currentPage)
Description copied from interface: GluePageSet
currentPage ¸¦ ¼³Á¤ÇÑ´Ù.

Specified by:
setCurrentPage in interface GluePageSet
Parameters:
currentPage - ÇöÀç page ¹øÈ£

getPageSize

public int getPageSize()
Description copied from interface: GluePageSet
Page Size¸¦ Return ÇÑ´Ù.

Specified by:
getPageSize in interface GluePageSet
Returns:
Page Size

setPageSize

public void setPageSize(int pageSize)
Description copied from interface: GluePageSet
Page Size¸¦ ¼³Á¤ÇÑ´Ù.

Specified by:
setPageSize in interface GluePageSet
Parameters:
pageSize - Page ´ÜÀ§

getTotalRowCount

public int getTotalRowCount()
Description copied from interface: GluePageSet
Á¶È¸µÈ ½ÇÁ¦ÀûÀÎ ÃÑ ·¹ÄÚµå °³¼ö¸¦ È®ÀÎÇÑ´Ù.

Specified by:
getTotalRowCount in interface GluePageSet
Returns:
ÃÑ ·¹ÄÚµå °³¼ö

setTotalRowCount

public void setTotalRowCount(int size)
Description copied from interface: GluePageSet
ÃÑ ·¹ÄÚµå °³¼ö¸¦ ¼³Á¤ÇÑ´Ù.

Specified by:
setTotalRowCount in interface GluePageSet
Parameters:
size - ÃÑ ·¹ÄÚµå °³¼ö


Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.