예제 #1
0
 /**
  * Deletes the DO from its table.
  *
  * @exception com.lutris.appserver.server.sql.DatabaseManagerException if a Transaction can not be
  *     created.
  * @exception RefAssertionException thrown by okTo method.
  * @exception java.sql.SQLException if any SQL errors occur.
  */
 public void delete()
     throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException,
         DBRowUpdateException, QueryException {
   modifyDO(null, true);
 }
예제 #2
0
 /**
  * Deletes the DO from its table. The transaction is likely provided by the delete() method of
  * another DO which references this DO.
  *
  * @param dbt The transaction object to use for this operation.
  * @exception com.lutris.appserver.server.sql.DatabaseManagerException if a Transaction can not be
  *     created.
  * @exception com.lutris.appserver.server.sql.DBRowUpdateException if a version error occurs.
  * @exception RefAssertionException thrown by okTo method.
  * @exception java.sql.SQLException if any SQL errors occur.
  */
 public void delete(DBTransaction dbt)
     throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException,
         DBRowUpdateException, QueryException {
   modifyDO(dbt, true);
 }
예제 #3
0
 /**
  * Inserts/Updates the DO into its table.
  *
  * @exception com.lutris.appserver.server.sql.DatabaseManagerException if a Transaction can not be
  *     created.
  * @exception RefAssertionException thrown by okTo method.
  * @exception java.sql.SQLException if any SQL errors occur.
  */
 public void commit()
     throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException,
         DBRowUpdateException, QueryException {
   modifyDO(null, false);
 }