|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is the interface for a StoredProcedure.
| Field Summary | |
static int |
BOTH
A static for denoting an INPUT/OUTPUT parameter of a StoredProcedure |
static int |
IN
A static for denoting an INPUT parameter of a StoredProcedure |
static int |
OUT
A static for denoting an OUTPUT parameter of a StoredProcedure |
| Method Summary | |
int[] |
getParamDirections()
The implementing class should return an array of integers signifying the directions (input, output or input/output) for each of the parameter returned in the getParameters() method. |
String[] |
getParameters()
The implementing class should return an array of field names, which correspond to the parameters of the StoredProcedure. |
String[] |
getParamSqlTypes()
The implementing class should return an array of Strings signifying the SQL type for each of the parameter returned in the getParameters() method. |
String |
prepareCall()
The implementing class will return a String having the call to the StoredProcedure. |
| Methods inherited from interface org.jaffa.persistence.IPersistent |
getLocking, getUOW, isDatabaseOccurence, isLocked, isModified, isModified, isQueued, postAdd, postDelete, postLoad, postUpdate, preAdd, preDelete, preUpdate, returnInitialValue, setDatabaseOccurence, setLocked, setLocking, setModified, setQueued, setUOW |
| Field Detail |
public static final int IN
public static final int OUT
public static final int BOTH
| Method Detail |
public String[] getParameters()
public String[] getParamSqlTypes()
public int[] getParamDirections()
public String prepareCall()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||