org.equanda.reporting.bean
Class ReporterBean
java.lang.Object
org.equanda.reporting.bean.ReporterBean
- All Implemented Interfaces:
- Serializable, ReporterEJB
public class ReporterBean
- extends Object
- implements ReporterEJB, Serializable
Get data for reporting, accessed by reporting driver
- Author:
- NetRom team, Joachim Van der Auwera
- See Also:
- Serialized Form
Method Summary |
void |
close()
|
void |
close(int id)
|
void |
close(Integer id)
|
void |
ejbActivate()
|
void |
ejbPassivate()
|
RecordBatch |
execute(int id)
|
RecordBatch |
next(int id)
|
int |
prepare(String query)
|
void |
remove()
|
void |
setBoolean(int id,
int i,
boolean b)
|
void |
setDate(int id,
int i,
Date date)
|
void |
setDouble(int id,
int i,
double v)
|
void |
setInt(int id,
int i,
int i1)
|
void |
setNull(int id,
int i,
int i1)
|
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
|
void |
setString(int id,
int i,
String s)
|
void |
setTimestamp(int id,
int i,
Timestamp timestamp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReporterBean
public ReporterBean()
prepare
public int prepare(String query)
- Specified by:
prepare
in interface ReporterEJB
execute
public RecordBatch execute(int id)
throws SQLException
- Specified by:
execute
in interface ReporterEJB
- Throws:
SQLException
next
public RecordBatch next(int id)
throws SQLException
- Specified by:
next
in interface ReporterEJB
- Throws:
SQLException
close
public void close(Integer id)
close
public void close(int id)
- Specified by:
close
in interface ReporterEJB
close
public void close()
- Specified by:
close
in interface ReporterEJB
setInt
public void setInt(int id,
int i,
int i1)
throws SQLException
- Specified by:
setInt
in interface ReporterEJB
- Throws:
SQLException
setDouble
public void setDouble(int id,
int i,
double v)
throws SQLException
- Specified by:
setDouble
in interface ReporterEJB
- Throws:
SQLException
setNull
public void setNull(int id,
int i,
int i1)
throws SQLException
- Specified by:
setNull
in interface ReporterEJB
- Throws:
SQLException
setString
public void setString(int id,
int i,
String s)
throws SQLException
- Specified by:
setString
in interface ReporterEJB
- Throws:
SQLException
setBoolean
public void setBoolean(int id,
int i,
boolean b)
throws SQLException
- Specified by:
setBoolean
in interface ReporterEJB
- Throws:
SQLException
setDate
public void setDate(int id,
int i,
Date date)
throws SQLException
- Specified by:
setDate
in interface ReporterEJB
- Throws:
SQLException
setTimestamp
public void setTimestamp(int id,
int i,
Timestamp timestamp)
throws SQLException
- Specified by:
setTimestamp
in interface ReporterEJB
- Throws:
SQLException
ejbPassivate
public void ejbPassivate()
throws javax.ejb.EJBException
- Throws:
javax.ejb.EJBException
remove
public void remove()
- Specified by:
remove
in interface ReporterEJB
ejbActivate
public void ejbActivate()
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Copyright © 2007-2009. All Rights Reserved.