public int removeByPrimaryKey(GenericPK primaryKey) throws GenericEntityException {
  if (primaryKey == null)   return 0;
  if (Debug.verboseOn())   Debug.logVerbose("Removing GenericPK: " + primaryKey.toString(),module);
  return genericDAO.delete(primaryKey);
}

public int removeByPrimaryKey ( GenericPK primaryKey ) throws GenericEntityException { if ( primaryKey == null ) return 0 ; if ( Debug . verboseOn ( ) ) Debug . logVerbose ( "Removing GenericPK: " + primaryKey . toString ( ) , module ) ; return genericDAO . delete ( primaryKey ) ; }
remove a generic entity corresponding to the primarykey
