package gov.va.med.esr.common.batchprocess;

import gov.va.med.esr.service.PersonLockedException;
import gov.va.med.fw.rule.RuleException;
import gov.va.med.fw.service.ServiceException;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.JspWriter;

public interface VeteranUpdaterProcess {

    public abstract void setHttpServletResponse(
            HttpServletResponse httpServletResponse);

    public abstract void setResponse(HttpServletResponse httpServletResponse);

    public abstract void setJspWriter(JspWriter jspWriter);

    public abstract void updateVeteran(String personId, String vpid,
            int indexOfPersonInResultSet) throws UnexpectedEnrollmentException,
            PersonLockedException, RuleException, ServiceException,
            IOException, RuleException, UnexpectedEnrollmentStatusException;

    public void setDelay(int delay);
}