
package de.ivu.elect.presentation.geodata;

import javax.inject.Inject;
import javax.inject.Named;

import de.ivu.elect.business.geodata.entity.GeodataOrt;
import de.ivu.elect.jee.presentation.dynamicform.FormBuilder;
import de.ivu.elect.presentation.geodata.form.GeodataOrtViewFormBuilder;
import de.ivu.elect.presentation.hilfe.OnlineHilfeId;

@OnlineHilfeId(value = "476", mehrfachVergebenOk = true)
@Named(AbstractGeodataOrtEditView.COMPONENT_NAME)
public class GeodataOrtEditView extends AbstractGeodataOrtEditView {

  private static final long serialVersionUID = 1L;

  @Inject
  private GeodataOrtViewFormBuilder geodataOrtViewFormBuilder;

  public GeodataOrtEditView() {
    super();
  }

  @Override
  protected boolean isGebietBearbeitenRechtPruefen() {
    return false;
  }

  @Override
  public void addProperties(FormBuilder formBuilder, GeodataOrt entity) {
    geodataOrtViewFormBuilder.addProperties(formBuilder, entity);
  }
}
