gnu.caf.db.impl
Class RchReport

java.lang.Object
  extended by gnu.caf.db.impl.RchReport
All Implemented Interfaces:
RowCallbackHandler

public class RchReport
extends java.lang.Object
implements RowCallbackHandler

RowCallbackHandler 의 구현 클래스로써 ResultSet 처리시 컬럼에 해당하는 데이타를 Attribute로 반환함. ※ /caf/samples/list_crosstab.jsp 를 참조.

Since:
1.0
Author:
이호성
See Also:
RowCallbackHandler

Constructor Summary
RchReport()
           
 
Method Summary
 java.util.List convert(java.util.List orilist)
           
 java.util.List getRsList(java.sql.ResultSet rs, int startRow, int maxRows)
          ResultSet 에 대하여 firstRow에 해당하는 만큼 rs.next() 처리후 maxResults 만큼 데이타를 처리후 List를 반환함.
 void setGroupByColumns(java.lang.String name, java.lang.String columns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RchReport

public RchReport()
Method Detail

convert

public java.util.List convert(java.util.List orilist)

getRsList

public java.util.List getRsList(java.sql.ResultSet rs,
                                int startRow,
                                int maxRows)
                         throws java.sql.SQLException
Description copied from interface: RowCallbackHandler
ResultSet 에 대하여 firstRow에 해당하는 만큼 rs.next() 처리후 maxResults 만큼 데이타를 처리후 List를 반환함. maxResults 가 -1 인 경우에는 전체 rs 에 대하여 처리후 List를 반환함.

Specified by:
getRsList in interface RowCallbackHandler
Returns:
List
Throws:
java.sql.SQLException
See Also:
RowCallbackHandler.getRsList(ResultSet, int, int)

setGroupByColumns

public void setGroupByColumns(java.lang.String name,
                              java.lang.String columns)


Copyright © 2003 All Rights Reserved.