package com.capgemini.reports.r27;

import com.capgemini.reports.common.AbstractSubmitServlet;
import com.capgemini.reports.definition.r01report.ExecutionR01;
import com.capgemini.reports.definition.r27report.ExecutionR27;
import com.capgemini.reports.reports.parameters.EffectivityDate;
import com.capgemini.reports.reports.parameters.Generics;
import com.capgemini.reports.reports.parameters.MonoMulti;
import com.capgemini.reports.reports.parameters.ProductUnit;
import com.teamcenter.soa.client.model.strong.Item;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * This class receives demands to perform a R27 report.<br>
 * It prepares the data and creates the appropriate {@link ExecutionR27} instance that will carry out the job.
 */
@WebServlet("/report_r27/submit")
public class SubmitServletR27 extends AbstractSubmitServlet<ExecutionR27> {
    private static final long serialVersionUID = -7391550108287583064L;

    @Override
    public ExecutionR27 prepareReport(final HttpServletRequest request) {
        return new ExecutionR27();
    }
}
