
package de.ivu.elect.presentation.system.menu;

import java.util.Collections;
import java.util.List;

import javax.inject.Named;

import de.ivu.elect.business.security.UseCasePermission;

@Named(SystemLogPruefeAllMenuItemEntry.COMPONENT_NAME)
public class SystemLogPruefeAllMenuItemEntry extends AbstractSystemLogMenuItemEntry {

  private static final long serialVersionUID = 1L;

  public static final String COMPONENT_NAME = "systemLogPruefeAllMenuItemEntry";

  public SystemLogPruefeAllMenuItemEntry() {
    super();
  }

  @Override
  protected UseCasePermission getUseCasePermission() {
    return UseCasePermission.SYSTEM_LOG_EDIT;
  }

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

  @Override
  public String getTargetViewId() {
    return null;
  }

  @Override
  public String getDialogName() {
    return "DeletePruefeAll";
  }

  @Override
  public String getLabelKey() {
    return "system.log.edit.action.check.all.entities";
  }

  @Override
  public String getIcon() {
    return getIcons().getIconCheck();
  }

  @Override
  protected List<String> getAdditionalTopicViewIds() {
    return Collections.singletonList("");
  }
}
