public void deleteItem(Filter filter) throws ItemException {
try {
Connection connection = connectionManager.getConnection();
Statement statement = connection.createStatement();
statement.executeUpdate("DELETE FROM " + getTableName() + new FilterJdbc(filter));
statement.close();
} catch (SQLException e) {
throw new ItemException(ItemException.ErrorType.CANT_DELETE,e);
}