//TODO VT need to think how to send ID to observers
public void deleteByUserId(int userId) {
        try {
            DeleteBuilder<UserRequest, Long> deleteBuilder = dao.deleteBuilder();
            deleteBuilder.where().eq(QMUserColumns.ID, userId);
            if (deleteBuilder.delete() > 0) {
                //TODO VT need to think how to send ID to observers
                notifyObserversDeletedById(userId);
            }
        } catch (SQLException e) {
            ErrorUtils.logError(e);
        }
    }
deleteBuilder.where().eq(QMUserColumns.ID, userId);
if (deleteBuilder.delete() > 0) {
//TODO VT need to think how to send ID to observers
notifyObserversDeletedById(userId);
}
public void deleteByUserId(int userId) {
try {
DeleteBuilder<UserRequest, Long> deleteBuilder = dao.deleteBuilder();
deleteBuilder.where().eq(QMUserColumns.ID, userId);
if (deleteBuilder.delete() > 0) {
//TODO VT need to think how to send ID to observers
notifyObserversDeletedById(userId);
}
} catch (SQLException e) {
ErrorUtils.logError(e);
}
}
public void deleteByUserId(int userId) {
try {
DeleteBuilder<UserRequest, Long> deleteBuilder = dao.deleteBuilder();
deleteBuilder.where().eq(QMUserColumns.ID, userId);
if (deleteBuilder.delete() > 0) {
//TODO VT need to think how to send ID to observers
notifyObserversDeletedById(userId);
}
} catch (SQLException e) {
ErrorUtils.logError(e);
}
}