|
JDBaccess API 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Delete
Interface for the deletion of objects.
Example: Delete delete = DAFactory.getDelete(t); Employee emp = new Employee(); emp.setId(new Long(4711)); delete.setTO(empDao); delete.execute(); delete.end();
Method Summary | |
---|---|
java.lang.Long |
execute()
Execute the delete of one or more rows. |
void |
setTO(TransferObject to)
Set the transfer object to this delete object |
Methods inherited from interface com.jdbaccess.da.DataAccess |
---|
end, getName, getObjectType, getPackageName, getSize, getSql, setName, setObjectType, setPackageName, setParameters, setSql, toString |
Method Detail |
---|
java.lang.Long execute() throws ApplicationException
ApplicationException
void setTO(TransferObject to) throws ApplicationException
to
- transfer object to set
ApplicationException
|
JDBaccess API 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |