/**
 * Created on 4:44:56 PM Jan 11, 2005
 * Project: UI
 * 
 * @author DNS   LEV
 */
package gov.va.med.esr.ui.ee.action;

// Java Classes
import java.util.Collection;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;

// ESR Classes
import gov.va.med.esr.ui.ApplicationConstants;
import gov.va.med.esr.ui.common.action.PersonAbstractAction;
import gov.va.med.esr.common.model.lookup.EligibilityType;
import gov.va.med.esr.common.model.person.Person;


/**
 * TODO Insert comments here
 */
public abstract class EligibilityAction extends PersonAbstractAction {
   protected EligibilityAction() {
      super();
   }

   protected void setMessageList( HttpServletRequest request, Vector list ) {
      putSandboxEntry( request, ApplicationConstants.SessionData.MESSAGE_LIST, list );
   }

   protected void removeMessageList( HttpServletRequest request ) {
      removeSandboxEntry( request, ApplicationConstants.SessionData.MESSAGE_LIST );
   }

   protected Vector getMessageList( HttpServletRequest request ) {
      return (Vector)getSandboxEntry( request, ApplicationConstants.SessionData.MESSAGE_LIST );
   }
   
	protected void setEligibilityStatusList( HttpServletRequest request, Collection list ) {
		putSandboxEntry( request, ApplicationConstants.SessionData.ELIGIBILITY_STATUS_LIST, list );
	}
	
	protected Collection getEligibilityStatusList( HttpServletRequest request ) {
		return (Collection)getSandboxEntry( request, ApplicationConstants.SessionData.ELIGIBILITY_STATUS_LIST );
	}
}