
package de.ivu.elect.presentation.kandidatur;

import javax.enterprise.context.RequestScoped;
import javax.inject.Named;

import de.ivu.elect.business.kandidatur.entity.Kandidatur;
import de.ivu.elect.business.security.UseCasePermission;
import de.ivu.elect.jee.presentation.dynamicform.FormBuilder;
import de.ivu.elect.presentation.View;
import de.ivu.elect.presentation.hilfe.KeineOnlineHilfe;
import de.ivu.elect.presentation.hilfe.OnlineHilfeId;

@OnlineHilfeId(KeineOnlineHilfe.KEINE_ONLINE_HILFE)
@RequestScoped
@Named(AbstractKandidaturEditNoScopeView.COMPONENT_NAME)
@View(viewId = AbstractKandidaturEditNoScopeView.VIEW_ID, useCase = UseCasePermission.KANDIDATUR_EDIT)
public class KandidaturEditView extends AbstractKandidaturEditView {

  private static final long serialVersionUID = 1L;

  public KandidaturEditView() {
    super();
  }

  @Override
  public void addProperties(FormBuilder formBuilder, Kandidatur kandidatur) {
    // keine Properties
  }

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