storm-apt/api/src/main/java/com/turbomanage/storm/SQLiteDao.java
public int delete(Long id) {
		if (id != null) {
			return getWritableDb().delete(th.getTableName(), th.getIdCol() + "=?", new String[]{id.toString()});
		}
		return 0;
	}
public int delete(Long id) {
		if (id != null) {
			return getWritableDb().delete(th.getTableName(), th.getIdCol() + "=?", new String[]{id.toString()});
		}
		return 0;
	}
public int delete ( Long id ) { if ( id != null ) { return getWritableDb ( ) . delete ( th . getTableName ( ) , th . getIdCol ( ) + "=?" , new String [ ] { id . toString ( ) } ) ; } return 0 ; }
Deletes a single row by ID. Returns the number of rows deleted
or 0 if unsuccessful.

@param id
@return count of rows deleted
Deletes a single row by ID . Returns the number of rows deleted or 0 if unsuccessful .