package nccloud.impl.hrwa.pubinfo.wadataexplain.print;

import nc.ui.pub.print.IDataSource;

import nccloud.pubitf.platform.print.AbstractPrintService;
import nccloud.pubitf.platform.print.IPrintInfo;
import nccloud.pubitf.platform.print.vo.PrintInfo;

public class WadataexplainPrintService extends AbstractPrintService{

	@Override
	public IDataSource[] getDataSources(IPrintInfo info) {
		// TODO Auto-generated method stub
		PrintInfo printInfo = (PrintInfo)info;
		WadataexplainPrintDataSource ds = new WadataexplainPrintDataSource(printInfo.getIds());
		return new IDataSource[] { ds };
	}

}
