/** * Deletes the entity with the provided id. * * @param id id of the entity to delete. * @return true if the entity to delete was found - otherwise false. */ public boolean remove(Number id) { T entity = find(id); if (entity == null) { return false; } remove(entity); return true; }