package gov.va.med.cds.persistence;

import gov.va.med.cds.filter.EntryFilterInterface;
import gov.va.med.cds.persistence.hibernate.XmlTypeQueryWork;

import java.util.List;

import org.hibernate.Session;

public class XMLTypeAssociationBasedQueryStrategy
    extends
        PageableAssociationBasedQueryStrategy
{
    protected QueryWorkInterface createQueryWork( Session session, QueryAssociationInterface queryAssociation, EntryFilterInterface entryFilter,
                    List<String> personIdentifiers, Class<?> pointInTimeUserType, String siteId )
    {
        QueryWorkInterface queryWork = new XmlTypeQueryWork( session, queryAssociation, entryFilter, queryNameBuilder, filterParameterExtractor,
                        parameterTransformerMap, queryParameterBinder, templateTimeoutMap, personIdentifiers, pointInTimeUserType, applicationName, siteId, null );
        return queryWork;
    }
}
