Package com.jalios.jcms.db
Class DummyScrollableResult
- java.lang.Object
-
- com.jalios.jcms.db.DummyScrollableResult
-
- All Implemented Interfaces:
org.hibernate.ScrollableResults
public class DummyScrollableResult extends java.lang.Object implements org.hibernate.ScrollableResults
-
-
Constructor Summary
Constructors Constructor Description DummyScrollableResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterLast()
void
beforeFirst()
void
close()
boolean
first()
java.lang.Object[]
get()
java.lang.Object
get(int i)
java.math.BigDecimal
getBigDecimal(int col)
java.math.BigInteger
getBigInteger(int col)
byte[]
getBinary(int col)
java.sql.Blob
getBlob(int col)
java.lang.Boolean
getBoolean(int col)
java.lang.Byte
getByte(int col)
java.util.Calendar
getCalendar(int col)
java.lang.Character
getCharacter(int col)
java.sql.Clob
getClob(int col)
java.util.Date
getDate(int col)
java.lang.Double
getDouble(int col)
java.lang.Float
getFloat(int col)
java.lang.Integer
getInteger(int col)
java.util.Locale
getLocale(int col)
java.lang.Long
getLong(int col)
int
getRowNumber()
java.lang.Short
getShort(int col)
java.lang.String
getString(int col)
java.lang.String
getText(int col)
java.util.TimeZone
getTimeZone(int col)
org.hibernate.type.Type
getType(int i)
boolean
isFirst()
boolean
isLast()
boolean
last()
boolean
next()
boolean
previous()
boolean
scroll(int i)
boolean
setRowNumber(int rowNumber)
-
-
-
Method Detail
-
next
public boolean next() throws org.hibernate.HibernateException
- Specified by:
next
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
previous
public boolean previous() throws org.hibernate.HibernateException
- Specified by:
previous
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
scroll
public boolean scroll(int i) throws org.hibernate.HibernateException
- Specified by:
scroll
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
last
public boolean last() throws org.hibernate.HibernateException
- Specified by:
last
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
first
public boolean first() throws org.hibernate.HibernateException
- Specified by:
first
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
beforeFirst
public void beforeFirst() throws org.hibernate.HibernateException
- Specified by:
beforeFirst
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
afterLast
public void afterLast() throws org.hibernate.HibernateException
- Specified by:
afterLast
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
isFirst
public boolean isFirst() throws org.hibernate.HibernateException
- Specified by:
isFirst
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
isLast
public boolean isLast() throws org.hibernate.HibernateException
- Specified by:
isLast
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
close
public void close() throws org.hibernate.HibernateException
- Specified by:
close
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
get
public java.lang.Object[] get() throws org.hibernate.HibernateException
- Specified by:
get
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
get
public java.lang.Object get(int i) throws org.hibernate.HibernateException
- Specified by:
get
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getType
public org.hibernate.type.Type getType(int i)
- Specified by:
getType
in interfaceorg.hibernate.ScrollableResults
-
getInteger
public java.lang.Integer getInteger(int col) throws org.hibernate.HibernateException
- Specified by:
getInteger
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getLong
public java.lang.Long getLong(int col) throws org.hibernate.HibernateException
- Specified by:
getLong
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getFloat
public java.lang.Float getFloat(int col) throws org.hibernate.HibernateException
- Specified by:
getFloat
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getBoolean
public java.lang.Boolean getBoolean(int col) throws org.hibernate.HibernateException
- Specified by:
getBoolean
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getDouble
public java.lang.Double getDouble(int col) throws org.hibernate.HibernateException
- Specified by:
getDouble
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getShort
public java.lang.Short getShort(int col) throws org.hibernate.HibernateException
- Specified by:
getShort
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getByte
public java.lang.Byte getByte(int col) throws org.hibernate.HibernateException
- Specified by:
getByte
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getCharacter
public java.lang.Character getCharacter(int col) throws org.hibernate.HibernateException
- Specified by:
getCharacter
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getBinary
public byte[] getBinary(int col) throws org.hibernate.HibernateException
- Specified by:
getBinary
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getText
public java.lang.String getText(int col) throws org.hibernate.HibernateException
- Specified by:
getText
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getBlob
public java.sql.Blob getBlob(int col) throws org.hibernate.HibernateException
- Specified by:
getBlob
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getClob
public java.sql.Clob getClob(int col) throws org.hibernate.HibernateException
- Specified by:
getClob
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getString
public java.lang.String getString(int col) throws org.hibernate.HibernateException
- Specified by:
getString
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int col) throws org.hibernate.HibernateException
- Specified by:
getBigDecimal
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getBigInteger
public java.math.BigInteger getBigInteger(int col) throws org.hibernate.HibernateException
- Specified by:
getBigInteger
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getDate
public java.util.Date getDate(int col) throws org.hibernate.HibernateException
- Specified by:
getDate
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getLocale
public java.util.Locale getLocale(int col) throws org.hibernate.HibernateException
- Specified by:
getLocale
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getCalendar
public java.util.Calendar getCalendar(int col) throws org.hibernate.HibernateException
- Specified by:
getCalendar
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getTimeZone
public java.util.TimeZone getTimeZone(int col) throws org.hibernate.HibernateException
- Specified by:
getTimeZone
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
getRowNumber
public int getRowNumber() throws org.hibernate.HibernateException
- Specified by:
getRowNumber
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
setRowNumber
public boolean setRowNumber(int rowNumber) throws org.hibernate.HibernateException
- Specified by:
setRowNumber
in interfaceorg.hibernate.ScrollableResults
- Throws:
org.hibernate.HibernateException
-
-