@Transactional
 void update() {
   LOGGER.log(LogService.LOG_DEBUG, "TRACE: DairyProfileSaveAction::update");
   try {
     condenseContacts();
     validateProfile();
     dairyRepository.save();
     updateBindings();
   } catch (final Exception e) {
     LOGGER.log(LogService.LOG_WARNING, "exception updating dairy profile", e);
   }
 }
 @Override
 protected void deleteEntity(TransportRoute deletableEntity) {
   if (deletableEntity != null) {
     dairyRepo.deleteRoute(deletableEntity);
   }
 }
 @Override
 protected void createEntity(TransportRoute newRoute) {
   dairyRepo.addRoute(newRoute);
 }
  /** Constructor */
  @Inject
  public DairyProfileViewController(final IDairyRepository dairyRepository) {

    this.dairyRepository = dairyRepository;
    localDairy = dairyRepository.getLocalDairy();
  }