Exemplo n.º 1
0
 /**
  * Method to do deletes.
  *
  * @param pk ObjectKey that is used DELETE from database.
  * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a
  *     TorqueException.
  */
 public static void doDelete(ObjectKey pk) throws TorqueException {
   BaseTRoleListTypePeer.doDelete(pk, (Connection) null);
 }
Exemplo n.º 2
0
 /**
  * Method to delete. This method is to be used during a transaction, otherwise use the
  * doDelete(ObjectKey) method. It will take care of the connection details internally.
  *
  * @param pk the primary key for the object to delete in the database.
  * @param con the connection to use
  * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a
  *     TorqueException.
  */
 public static void doDelete(ObjectKey pk, Connection con) throws TorqueException {
   doDelete(buildCriteria(pk), con);
 }
Exemplo n.º 3
0
 /**
  * Method to delete. This method is to be used during a transaction, otherwise use the
  * doDelete(TRoleListType) method. It will take care of the connection details internally.
  *
  * @param obj the data object to delete in the database.
  * @param con the connection to use
  * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a
  *     TorqueException.
  */
 public static void doDelete(TRoleListType obj, Connection con) throws TorqueException {
   doDelete(buildSelectCriteria(obj), con);
 }