/*
 * Created on November, 2012
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package gov.va.med.esr.common.persistent.demographic.hibernate;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.hibernate.Query;

import gov.va.med.fw.persistent.DAOException;
import gov.va.med.fw.persistent.hibernate.AbstractDAOImpl;
import org.hibernate.HibernateException;
import gov.va.med.fw.persistent.hibernate.GenericDAOImpl;

import gov.va.med.esr.common.model.comms.AacLetterRequest;
import gov.va.med.esr.common.model.party.Email;
import gov.va.med.esr.common.persistent.demographic.EmailDAO;

/**
 * @author DNS   ZHANG
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class EmailDAOImpl extends GenericDAOImpl implements EmailDAO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1995965767369035713L;

	public void deleteEmailById(Email email) throws DAOException {

		super.removeObject(email.getEntityKey());

	}

}
