
package de.ivu.elect.presentation;

import java.io.Serializable;

import javax.inject.Inject;

import de.ivu.elect.jee.presentation.redirect.RedirectInterceptor;
import de.ivu.elect.jee.presentation.security.StartViewResolver;

public class AppLogo implements Serializable {

  private static final long serialVersionUID = 1L;

  @Inject
  private transient StartViewResolver startViewResolver;

  @Inject
  private transient DeltaSpikeWindowId deltaSpikeWindowId;

  public AppLogo() {
    super();
  }

  public String getUrlString() {
    return startViewResolver.getStartViewId() + RedirectInterceptor.getRedirectSuffix() + "&dswid=" + deltaSpikeWindowId.getWindowId();
  }

  public String getFarbe() {
    return "#ffffff";
  }
}
