|
JDBaccess API 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jdbaccess.da.DAFactory
public class DAFactory
Factory for all types of data access such as Select, Insert, Update, Delete, Function, Procedure and also Transaction.
Constructor Summary | |
---|---|
DAFactory()
|
Method Summary | |
---|---|
static Delete |
getDelete(Transaction t)
Get a new Delete object for that transaction |
static Delete |
getDelete(Transaction t,
java.lang.String objectType,
java.lang.String name,
java.lang.Class startClass)
Looks for a Delete in xml data access files beginning in directory of the given start class for that objectType and name and for that transaction |
static Function |
getFunction(Transaction t)
Get a new Function object for that transaction. |
static Function |
getFunction(Transaction t,
java.lang.String objectType,
java.lang.String name,
java.lang.Class startClass)
Looks for a Function in xml data access files beginning in directory of the given start class for that objectType and name and for that transaction |
static Insert |
getInsert(Transaction t)
Get a new Insert object for that transaction. |
static Insert |
getInsert(Transaction t,
java.lang.String objectType,
java.lang.String name,
java.lang.Class startClass)
Looks for an Insert in xml data access files beginning in directory of the given start class for that objectType and name and for that transaction |
static Procedure |
getProcedure(Transaction t)
Get a new Procedure object for that transaction. |
static Procedure |
getProcedure(Transaction t,
java.lang.String objectType,
java.lang.String name,
java.lang.Class startClass)
Looks for a Procedure in xml data access files beginning in directory of the given start class for that objectType and name and for that transaction |
static Select |
getSelect()
Get a new Select object. |
static Select |
getSelect(java.lang.String objectType,
java.lang.String name,
java.lang.Class startClass)
Looks for a Select in xml data access files beginning in directory of the given start class for that objectType and name |
static Select |
getSelect(Transaction t)
Get a new Select object for that transaction. |
static Transaction |
getTransaction()
Get a new transaction object. |
static Update |
getUpdate(Transaction t)
Get a new Update object for that transaction. |
static Update |
getUpdate(Transaction t,
java.lang.String objectType,
java.lang.String name,
java.lang.Class startClass)
Looks for an Update in xml data access files beginning in directory of the given start class for that objectType and name and for that transaction |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DAFactory()
Method Detail |
---|
public static Transaction getTransaction()
public static Insert getInsert(Transaction t)
t
- transaction
public static Insert getInsert(Transaction t, java.lang.String objectType, java.lang.String name, java.lang.Class startClass) throws ApplicationException
t
- transactionobjectType
- type of Insert (e.g. "employee")name
- name of Insert (e.g. "insertWithoutLobs")startClass
- start class where to look for a da.xml file
ApplicationException
public static Update getUpdate(Transaction t)
t
- transaction
public static Update getUpdate(Transaction t, java.lang.String objectType, java.lang.String name, java.lang.Class startClass) throws ApplicationException
t
- transactionobjectType
- type of Update (e.g. "employee")name
- name of Update (e.g. "byName")startClass
- start class where to look for a da.xml file
ApplicationException
public static Delete getDelete(Transaction t)
t
- transaction
public static Delete getDelete(Transaction t, java.lang.String objectType, java.lang.String name, java.lang.Class startClass) throws ApplicationException
t
- transactionobjectType
- type of Delete (e.g. "employee")name
- name of Delete (e.g. "byName")startClass
- start class where to look for a da.xml file
ApplicationException
public static Select getSelect()
public static Select getSelect(Transaction t)
t
- transaction
public static Select getSelect(java.lang.String objectType, java.lang.String name, java.lang.Class startClass) throws ApplicationException
objectType
- type of Select (e.g. "employee")name
- name of Select (e.g. "byName")startClass
- start class where to look for a da.xml file
ApplicationException
public static Procedure getProcedure(Transaction t)
t
- transaction
public static Procedure getProcedure(Transaction t, java.lang.String objectType, java.lang.String name, java.lang.Class startClass) throws ApplicationException
t
- transactionobjectType
- type of Procedure (e.g. "employee")name
- name of Procedure (e.g. "prc_updateSalaryById")startClass
- start class where to look for a da.xml file
ApplicationException
public static Function getFunction(Transaction t)
t
- transaction
public static Function getFunction(Transaction t, java.lang.String objectType, java.lang.String name, java.lang.Class startClass) throws ApplicationException
t
- transactionobjectType
- type of Function (e.g. "employee")name
- name of Function (e.g. "fnc_updateSalaryById")startClass
- start class where to look for a da.xml file
ApplicationException
|
JDBaccess API 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |