Class GluePageSetImpl
java.lang.Object
java.util.AbstractCollection<GlueRow<String,Object>>
java.util.AbstractList<GlueRow<String,Object>>
java.util.ArrayList<GlueRow<String,Object>>
com.poscoict.glueframework.dao.vo.GlueRowSetImpl
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,SequencedCollection<GlueRow<String,Object>>
Database 테이블의 복수 개의 레코드를 표현하는 Value Object. 복수 개의 레코드는 하나의
GlueRowSetImpl 오브젝트로 표현된다.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intcurrent page numberprotected intPage Sizeprotected intTotal Row CountFields inherited from class com.poscoict.glueframework.dao.vo.GlueRowSetImpl
columndefsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescription생성자(constructor).GluePageSetImpl(List<GlueRow<String, Object>> rows) 생성자(constructor). -
Method Summary
Modifier and TypeMethodDescriptionint현재 Page 번호를 넘겨 준다.intPage Size를 Return 한다.int조회된 실제적인 총 레코드 개수를 확인한다.voidsetCurrentPage(int currentPage) currentPage 를 설정한다.voidsetPageSize(int pageSize) Page Size를 설정한다.voidsetTotalRowCount(int size) 총 레코드 개수를 설정한다.Methods inherited from class com.poscoict.glueframework.dao.vo.GlueRowSetImpl
count, getAllRow, getColumnDefs, hasNext, hasPrevious, next, previous, reset, setColumnDefsMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.poscoict.glueframework.dao.vo.GlueRowSet
count, getAllRow, getColumnDefs, hasNext, hasPrevious, next, previous, reset, setColumnDefsMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
totalRowCount
protected int totalRowCountTotal Row Count -
pageSize
protected int pageSizePage Size -
currentPage
protected int currentPagecurrent page number
-
-
Constructor Details
-
GluePageSetImpl
public GluePageSetImpl()생성자(constructor). -
GluePageSetImpl
생성자(constructor).- Parameters:
rows-
-
-
Method Details
-
getCurrentPage
public int getCurrentPage()Description copied from interface:GluePageSet현재 Page 번호를 넘겨 준다.- Specified by:
getCurrentPagein interfaceGluePageSet- Returns:
- Current Page
-
setCurrentPage
public void setCurrentPage(int currentPage) Description copied from interface:GluePageSetcurrentPage 를 설정한다.- Specified by:
setCurrentPagein interfaceGluePageSet- Parameters:
currentPage- 현재 page 번호
-
getPageSize
public int getPageSize()Description copied from interface:GluePageSetPage Size를 Return 한다.- Specified by:
getPageSizein interfaceGluePageSet- Returns:
- Page Size
-
setPageSize
public void setPageSize(int pageSize) Description copied from interface:GluePageSetPage Size를 설정한다.- Specified by:
setPageSizein interfaceGluePageSet- Parameters:
pageSize- Page 단위
-
getTotalRowCount
public int getTotalRowCount()Description copied from interface:GluePageSet조회된 실제적인 총 레코드 개수를 확인한다.- Specified by:
getTotalRowCountin interfaceGluePageSet- Returns:
- 총 레코드 개수
-
setTotalRowCount
public void setTotalRowCount(int size) Description copied from interface:GluePageSet총 레코드 개수를 설정한다.- Specified by:
setTotalRowCountin interfaceGluePageSet- Parameters:
size- 총 레코드 개수
-