/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package kr.co.kihyun.beans.ecross;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.jdo.Query;
import kr.co.kihyun.beans.entity.MDept;
import kr.co.kihyun.beans.entity.TotReport;
import kr.co.kihyun.beans.entity.ecross.CRUD;
import kr.co.kihyun.beans.entity.ecross.ECross;
import kr.co.kihyun.beans.entity.ecross.IRemotePersistable;
import kr.co.kihyun.beans.entity.util.MPersistenceManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 * @author bhs
 */
public class VCMCCMC2015 extends ECrossInterface {

	private static final Logger LOG = LoggerFactory.getLogger(VCMCCMC2015.class);

	private TotReport totReport;

	public VCMCCMC2015(TotReport totReport) {
		super(TotReport.class);
		this.totReport = totReport;
	}

	@Override
	public void saveAll(MPersistenceManager moumiPm, MPersistenceManager eCrossPm, Collection<MDept> parties) {
		this.save(moumiPm, eCrossPm, totReport, CRUD.U, parties);
	}
}
