|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.db.DotStoredProcedure
public class DotStoredProcedure
This class alows user to run store procedures
| Field Summary | |
|---|---|
int |
returnValue
|
| Constructor Summary | |
|---|---|
DotStoredProcedure()
|
|
| Method Summary | |
|---|---|
void |
addInOutObject(java.lang.Object x,
int paramType)
|
void |
addInOutParam(boolean x,
int paramType)
Adds a feature to the Param attribute of the dotConnect object and register the same attribute as an output |
void |
addInOutParam(int x,
int paramType)
This method adds an int parameter to the prepared SQL statement and register the same attribute as an output |
void |
addInOutParam(java.lang.Object x,
int paramType)
|
void |
addInOutParam(java.lang.String x,
int paramType)
This method adds a String parameter to the prepared SQL statement and register the same attribute as an output |
void |
addObject(java.lang.Object x)
|
void |
addParam(boolean x)
Adds a feature to the Param attribute of the dotConnect object |
void |
addParam(java.util.Date x)
Adds a date parameter to the prepared SQL statement. |
void |
addParam(java.util.Date x,
int paramType)
Adds a date parameter to the prepared SQL statement and register the same attribute as an output |
void |
addParam(double x)
Adds a double parameter to the prepared SQL statement. |
void |
addParam(double x,
int paramType)
Adds a double parameter to the prepared SQL statement and register the same attribute as an output |
void |
addParam(int x)
This method adds an int parameter to the prepared SQL
statement. |
void |
addParam(long x)
Adds a long parameter to the prepared SQL statement. |
void |
addParam(long x,
int paramType)
Adds a long parameter to the prepared SQL statement and register the same attribute as an output |
void |
addParam(java.lang.Object x)
|
void |
addParam(java.lang.String x)
This method adds a String parameter to the prepared SQL
statement. |
void |
executeStoredProcedure()
Execute the configure stored procedure with the default data source |
void |
executeStoredProcedure(java.lang.String dataSource)
Execute the configure stored procedure with a specific data source |
int |
getInt(java.lang.String x)
Deprecated. |
int |
getMaxRows()
|
int |
getNumRows()
|
java.lang.Object |
getObject(java.lang.Object x)
Deprecated. |
java.lang.Object |
getObject(java.lang.String x)
Deprecated. |
java.lang.Object[] |
getObjectArray(java.lang.String ObjName)
Deprecated. |
void |
getResult()
Deprecated. |
void |
getResult(java.lang.String dataSource)
Deprecated. |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getResults()
Deprecated. |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getResults(java.lang.String dataSource)
Deprecated. |
java.lang.String |
getSQL()
|
int |
getStartRow()
Returns the startRow. |
java.util.HashMap<java.lang.Integer,java.lang.Object> |
getStoredProcedureResults()
Returns the results of the configure stored procedure with the default data source. |
java.util.HashMap<java.lang.Integer,java.lang.Object> |
getStoredProcedureResults(java.lang.String dataSource)
Returns the results of the configure stored procedure with a specific data source. |
java.lang.String |
getString(java.lang.String x)
Deprecated. |
void |
registerOutParameter(int paramType)
|
void |
setFunction(java.lang.String functionName,
int numParam)
|
void |
setMaxRows(int x)
|
void |
setMaxRows(java.lang.String x)
|
void |
setProcedure(java.lang.String procedureName,
int numParam)
|
void |
setSQL(java.lang.String x)
Deprecated. |
void |
setStartRow(int startRow)
Sets the startRow. |
void |
setStartRow(java.lang.String x)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int returnValue
| Constructor Detail |
|---|
public DotStoredProcedure()
| Method Detail |
|---|
@Deprecated public int getInt(java.lang.String x)
public void setMaxRows(int x)
public void setMaxRows(java.lang.String x)
public int getMaxRows()
public int getNumRows()
@Deprecated public java.lang.Object getObject(java.lang.String x)
@Deprecated public java.lang.Object getObject(java.lang.Object x)
@Deprecated public java.lang.Object[] getObjectArray(java.lang.String ObjName)
@Deprecated public void getResult(java.lang.String dataSource)
@Deprecated public void getResult()
@Deprecated public void setSQL(java.lang.String x)
public void setProcedure(java.lang.String procedureName,
int numParam)
public void setFunction(java.lang.String functionName,
int numParam)
public java.lang.String getSQL()
@Deprecated public java.lang.String getString(java.lang.String x)
x - Description of Parameter
@Deprecated public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getResults()
@Deprecated public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getResults(java.lang.String dataSource)
public void setStartRow(int startRow)
startRow - The startRow to setpublic void setStartRow(java.lang.String x)
public int getStartRow()
public void addObject(java.lang.Object x)
public void addParam(java.lang.Object x)
public void addParam(boolean x)
x - The feature to be added to the Param attributepublic void addParam(int x)
int parameter to the prepared SQL
statement.
x - The feature to be added to the Param attributepublic void addParam(java.lang.String x)
String parameter to the prepared SQL
statement.
x - The feature to be added to the Param attributepublic void addParam(long x)
x - The feature to be added to the Param attributepublic void addParam(double x)
x - The feature to be added to the Param attributepublic void addParam(java.util.Date x)
x - The feature to be added to the Param attributepublic void registerOutParameter(int paramType)
public void addInOutObject(java.lang.Object x,
int paramType)
public void addInOutParam(java.lang.Object x,
int paramType)
public void addInOutParam(boolean x,
int paramType)
x - The feature to be added to the Param attributeparamType - Output parameter type
public void addInOutParam(int x,
int paramType)
int parameter to the prepared SQL statement and register the same attribute as an output
x - The feature to be added to the Param attributeparamType - Output parameter type
public void addInOutParam(java.lang.String x,
int paramType)
String parameter to the prepared SQL statement and register the same attribute as an output
x - The feature to be added to the Param attributeparamType - Output parameter type
public void addParam(long x,
int paramType)
x - The feature to be added to the Param attributeparamType - Output parameter type
public void addParam(double x,
int paramType)
x - The feature to be added to the Param attributeparamType - Output parameter type
public void addParam(java.util.Date x,
int paramType)
x - The feature to be added to the Param attributeparamType - Output parameter typepublic void executeStoredProcedure()
public void executeStoredProcedure(java.lang.String dataSource)
dataSource - Stringpublic java.util.HashMap<java.lang.Integer,java.lang.Object> getStoredProcedureResults()
public java.util.HashMap<java.lang.Integer,java.lang.Object> getStoredProcedureResults(java.lang.String dataSource)
dataSource - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||