|
JDBaccess API 1.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ApplicationException | |
---|---|
com.jdbaccess.da | |
com.jdbaccess.dao | |
com.jdbaccess.transfer |
Uses of ApplicationException in com.jdbaccess.da |
---|
Methods in com.jdbaccess.da that throw ApplicationException | |
---|---|
void |
Transaction.begin()
Begins a transaction. |
void |
Result.close()
You close a result automatically when you end the select of this result. |
void |
Transaction.commit()
Commit of this transaction |
void |
Transaction.end()
Ends a transaction. |
void |
Insert.end()
Ends this data access, so that it can be moved to the internal cache (in statement pool) for reuse |
void |
DataAccess.end()
Terminate the data access object, so that it can be moved to the internal cache (in statement pool) for later reuse |
java.lang.Long |
Update.execute()
Execute the update object. |
Result |
Select.execute()
Executes the given Select-object |
java.lang.Object |
Procedure.execute()
Execute the procedure and return an ArrayList of all output paramaters or one ouput paramter as an object if only one output parameter exists the |
java.lang.Object |
Insert.execute()
Execute the given Insert-object. |
java.lang.Object |
Function.execute()
Execute the function. |
java.lang.Long |
Delete.execute()
Execute the delete of one or more rows. |
java.util.ArrayList |
Result.getAllElements()
Get all the elements of the result. |
java.util.ArrayList |
CallResult.getAllElements()
Get all the elements of the result. |
static Delete |
DAFactory.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 |
TransferObject |
Result.getFirstElement()
Get the first elements of the result. |
static Function |
DAFactory.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 |
DAFactory.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 |
TransferObject |
Result.getNextElement()
Get the next element of the result from actual position forward. |
TransferObject |
CallResult.getNextElement()
Get the next element of the result from actual position forward. |
java.util.ArrayList |
Result.getNextElements()
Get the next elements of the result from actual position forward as the page size is defined. |
java.util.ArrayList |
CallResult.getNextElements()
Get the next elements of the result from actual position forward as the page size is defined. |
java.util.ArrayList |
Result.getNextElements(long count)
Get the next "count" elements of the result from actual position forward. |
java.util.ArrayList |
CallResult.getNextElements(long count)
Get the next "count" elements of the result from actual position forward. |
java.util.ArrayList |
Result.getPreviousElements()
Get the previous elements of the result from actual position backward as the page size is defined. |
static Procedure |
DAFactory.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 |
CallResult |
Procedure.getResult(int resultPosition)
Procedures could have one or more call results (selection results). |
static Select |
DAFactory.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 |
java.lang.Long |
Result.getSize()
You call this method here or on the select which belongs to this result. |
java.lang.Long |
DataAccess.getSize()
Get the size of the data access object. |
static Update |
DAFactory.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 |
boolean |
Result.isEmpty()
|
void |
Transaction.rollback()
Rollback of this transaction |
void |
Result.setPosition(long pos)
Set the actual position of the result |
void |
Update.setTO(TransferObject to)
Set one transfer object to the update object |
void |
Insert.setTO(TransferObject to)
Set one transfer object which should be inserted. |
void |
Delete.setTO(TransferObject to)
Set the transfer object to this delete object |
void |
Insert.setTOs(java.util.ArrayList tos)
Set the transfer objects which should be inserted. |
Uses of ApplicationException in com.jdbaccess.dao |
---|
Methods in com.jdbaccess.dao that throw ApplicationException | |
---|---|
void |
DataAccessObjectImpl.createSequence(java.lang.String seqName)
|
void |
DataAccessObject.createSequence(java.lang.String seqName)
Creates sequence with that sequence name |
void |
DataAccessObjectImpl.createTable(java.lang.String sqlCreateTableString)
|
void |
DataAccessObject.createTable(java.lang.String sqlCreateTableString)
Creates table with that create table string |
java.lang.Long |
DataAccessObjectImpl.delete(TransferObject to)
|
java.lang.Long |
DataAccessObject.delete(TransferObject to)
Deletes one database row (wit the id of the transfer object) or delete some database rows (with the whereCondition of the transfer object) |
java.lang.Long |
DataAccessObjectImpl.deleteAll(java.lang.String entity)
|
java.lang.Long |
DataAccessObject.deleteAll(java.lang.String entity)
Deletes all rows for that entity |
void |
DataAccessObjectImpl.dropFunction(java.lang.String functionName)
|
void |
DataAccessObjectImpl.dropProcedure(java.lang.String procedureName)
|
void |
DataAccessObjectImpl.dropSequence(java.lang.String seqName)
|
void |
DataAccessObject.dropSequence(java.lang.String seqName)
Drops sequence with that sequence name |
void |
DataAccessObjectImpl.dropTable(java.lang.String tableName)
|
void |
DataAccessObject.dropTable(java.lang.String tableName)
Drops table with that table name |
Function |
DataAccessObjectImpl.executeFunction(java.lang.String objectType,
java.lang.String name,
java.lang.String moduleName,
java.lang.String functionName,
java.util.ArrayList params,
java.lang.String outputParamType)
|
Function |
DataAccessObject.executeFunction(java.lang.String objectType,
java.lang.String name,
java.lang.String moduleName,
java.lang.String functionName,
java.util.ArrayList params,
java.lang.String outputParamType)
Try to find the function with that object type and name over the defined data access xml files. |
Procedure |
DataAccessObjectImpl.executeProcedure(java.lang.String objectType,
java.lang.String name,
java.lang.String moduleName,
java.lang.String procedureName,
java.util.ArrayList params,
java.util.ArrayList outputParamTypes)
|
Procedure |
DataAccessObject.executeProcedure(java.lang.String objectType,
java.lang.String name,
java.lang.String moduleName,
java.lang.String procedureName,
java.util.ArrayList params,
java.util.ArrayList outputParamTypes)
Try to find the procedure with that object type and name with user defined data access xml files. |
Result |
DataAccessObjectImpl.find(java.lang.String objectType,
java.lang.String selectName)
|
Result |
DataAccessObject.find(java.lang.String objectType,
java.lang.String selectName)
Try to do a find with that object type and select name over the defined data access xml files. |
Result |
DataAccessObjectImpl.find(java.lang.String objectType,
java.lang.String selectName,
java.lang.String sql,
java.lang.String sqlCount,
java.util.ArrayList params,
java.util.ArrayList orderBy,
java.lang.Class resultType,
java.util.ArrayList resultFieldTypes,
boolean readFull)
|
Result |
DataAccessObject.find(java.lang.String objectType,
java.lang.String selectName,
java.lang.String sql,
java.lang.String sqlCount,
java.util.ArrayList params,
java.util.ArrayList orderBy,
java.lang.Class resultType,
java.util.ArrayList resultFieldTypes,
boolean readFull)
Try to do a find with that object type and select name over the defined data access xml files. |
java.lang.Long |
DataAccessObjectImpl.getSequenceNextValue(java.lang.String seqName)
|
java.lang.Long |
DataAccessObject.getSequenceNextValue(java.lang.String seqName)
Gets one next value of that sequence |
java.util.ArrayList |
DataAccessObjectImpl.getSequenceNextValues(java.lang.String seqName,
int count)
|
java.util.ArrayList |
DataAccessObject.getSequenceNextValues(java.lang.String seqName,
int count)
Gets "count" number of values for that sequence |
java.util.ArrayList |
DataAccessObjectImpl.insert(java.util.ArrayList tos)
|
java.util.ArrayList |
DataAccessObject.insert(java.util.ArrayList tos)
Inserts these transfer objects |
TransferObject |
DataAccessObjectImpl.insert(TransferObject to)
|
TransferObject |
DataAccessObject.insert(TransferObject to)
Inserts this transfer object |
java.lang.Long |
DataAccessObjectImpl.update(TransferObject to)
|
java.lang.Long |
DataAccessObject.update(TransferObject to)
Updates modified values of this transfer object in one database row (over id of that transfer object) or update modified values of this transfer object in some database rows (over whereCondition of that transfer object) |
Uses of ApplicationException in com.jdbaccess.transfer |
---|
Methods in com.jdbaccess.transfer that throw ApplicationException | |
---|---|
Field |
TransferObject.getField(java.lang.String fieldName)
Gets the field with that fieldName |
java.util.ArrayList |
TransferObject.getFields()
Gets all fields of this object |
java.lang.Object |
TransferObject.getValue(java.lang.String fieldName)
Gets the value of this field with that field name |
void |
TransferObject.setAllFieldsModified()
Sets all field values to modified. |
void |
TransferObject.setValue(java.lang.String fieldName,
java.lang.Object value)
Sets the value of the field with that field name. |
void |
TransferObject.setValueModified(java.lang.String fieldName,
java.lang.Object value)
Sets the value of the field with that field name. |
|
JDBaccess API 1.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |