
package de.ivu.elect.presentation.exchange;

import javax.inject.Inject;

import org.apache.deltaspike.core.api.scope.ConversationGroup;

public class DateiVorschauContextSelect implements DateiVorschauContext {

  private static final long serialVersionUID = 1L;

  @Inject
  @ConversationGroup(DateiVorschauContextStore.class)
  protected DateiVorschauContextStore conversationStore;

  @Override
  public String getLastViewId() {
    return conversationStore.getLastViewId();
  }

  public void setLastViewId(String lastViewId) {
    conversationStore.setLastViewId(lastViewId);
  }

  @Override
  public String getPageMenuComponentName() {
    return conversationStore.getPageMenuComponentName();
  }

  public void setPageMenuComponentName(String pageMenuComponentName) {
    conversationStore.setPageMenuComponentName(pageMenuComponentName);
  }

  public boolean isSelected() {
    return conversationStore.isSelected();
  }

}
