|
|||||||||
| Home >> All >> org >> javahispano >> canyamo >> services >> [ persistence overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.javahispano.canyamo.services.persistence
Class CanyamoDataSource

java.lang.ObjectJDBCBackedRecordSet
org.javahispano.canyamo.services.persistence.CanyamoDataSource
- public class CanyamoDataSource
- extends JDBCBackedRecordSet
- Version:
| Constructor Summary | |
CanyamoDataSource()
Constructor for the CanamoDataSource object |
|
| Method Summary | |
Record |
delete(Record rec,
java.lang.String table)
Description of the Method |
Record |
delete(java.lang.String type,
java.lang.Object key,
java.lang.String table)
Description of the Method |
private java.util.List |
doSelect(java.lang.String type,
RecordFilter filter,
java.lang.String orderBy,
int pos,
int size,
java.lang.String table)
really performes the select query |
Record |
get(java.lang.String type,
java.lang.Object key,
java.lang.String table)
Description of the Method |
Record |
insert(Record rec,
java.lang.String table)
Description of the Method |
java.util.List |
select(DbCondition condition,
java.lang.String orderBy,
int pos,
int size,
java.lang.String table)
Select all records which satisfied the given Condition |
java.util.List |
select(java.lang.String type,
java.lang.String orderBy,
int pos,
int size,
java.lang.String table)
Selects all records of the given type |
int |
selectCount(java.lang.String type,
RecordFilter filter,
java.lang.String table)
Description of the Method |
java.lang.Object |
selectMax(java.lang.String type,
java.lang.String field,
RecordFilter filter,
java.lang.String table)
Description of the Method |
java.lang.Object |
selectMin(java.lang.String type,
java.lang.String field,
RecordFilter filter,
java.lang.String table)
Description of the Method |
Record |
update(Record oldRec,
Record newRec,
java.lang.String table)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
CanyamoDataSource
public CanyamoDataSource()
throws java.io.IOException
- Constructor for the CanamoDataSource object
| Method Detail |
get
public Record get(java.lang.String type, java.lang.Object key, java.lang.String table) throws java.io.IOException
- Description of the Method
selectCount
public int selectCount(java.lang.String type, RecordFilter filter, java.lang.String table)
- Description of the Method
selectMax
public java.lang.Object selectMax(java.lang.String type, java.lang.String field, RecordFilter filter, java.lang.String table)
- Description of the Method
selectMin
public java.lang.Object selectMin(java.lang.String type, java.lang.String field, RecordFilter filter, java.lang.String table)
- Description of the Method
select
public java.util.List select(java.lang.String type, java.lang.String orderBy, int pos, int size, java.lang.String table) throws java.io.IOException
- Selects all records of the given type
select
public java.util.List select(DbCondition condition, java.lang.String orderBy, int pos, int size, java.lang.String table) throws java.io.IOException
- Select all records which satisfied the given
Condition
delete
public Record delete(Record rec,
java.lang.String table)
throws java.io.IOException
- Description of the Method
delete
public Record delete(java.lang.String type, java.lang.Object key, java.lang.String table) throws java.io.IOException
- Description of the Method
insert
public Record insert(Record rec,
java.lang.String table)
throws java.io.IOException
- Description of the Method
update
public Record update(Record oldRec,
Record newRec,
java.lang.String table)
throws java.io.IOException
- Description of the Method
doSelect
private java.util.List doSelect(java.lang.String type, RecordFilter filter, java.lang.String orderBy, int pos, int size, java.lang.String table) throws java.io.IOException
- really performes the select query
|
|||||||||
| Home >> All >> org >> javahispano >> canyamo >> services >> [ persistence overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
JDBCBackedRecordSet