

package gov.va.med.cds.persistence.hibernate.common;


import gov.va.med.cds.filter.EntryFilterInterface;
import gov.va.med.cds.persistence.ReadException;

import org.hibernate.Session;
import org.springframework.beans.factory.annotation.Required;

import java.util.List;


public abstract class AbstractVistaPreQueryExecution
    implements
        VistaPreQueryExecutionInterface
{
    protected String namedQuery;
    protected String domainEntryPoint;
    protected String resultColumnName;


    @Override
    public List getRowIds( Session session, EntryFilterInterface entryFilter, List patientIdentifiers )
        throws ReadException
    {
        return null;
    }


    @Required
    public void setNamedQuery( String namedQuery )
    {
        this.namedQuery = namedQuery;
    }


    @Required
    public void setDomainEntryPoint( String domainEntryPoint )
    {
        this.domainEntryPoint = domainEntryPoint;
    }


    @Required
    public void setResultColumnName( String resultColumnName )
    {
        this.resultColumnName = resultColumnName;
    }

}
