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–2017 POSCO ICT. All rights reserved.