// Path: ServiceLayer/src/main/java/org/servicelayer/access/ReprocessCaller.java
// public class ReprocessCaller {
// 	
// 	private static SqlSession session = null;
// 	
// 	static{
// 		session = MyBatisConnectionFactory.getSqlSessionFactory().openSession();
// 	}
// //	Reprocessor
// //	getByTypeIdList
// //	getByNameList	
// 	public static List<ReprocessRecipeDomain> getRecipesFromNames(List<String> nameList){
// 		List<ReprocessRecipeDomain> result
// 			= session.selectList("Reprocessor.getByNameList", nameList);
// 		return result;
// 	}
// 	
// 	public static List<ReprocessRecipeDomain> getRecipesFromTypeIDs(List<Integer> idList){
// 		List<ReprocessRecipeDomain> result
// 			= session.selectList("Reprocessor.getByNameList", idList);
// 		return result;
// 	}
// 
// }
// 
// Path: ServiceLayer/src/main/java/org/servicelayer/models/ReprocessRecipeDomain.java
// public class ReprocessRecipeDomain {
// //	int id = 
// 	private int id;
// 	private List<IdAndQuantityDomain> materials;
// 	public int getId() {
// 		return id;
// 	}
// 	public void setId(int id) {
// 		this.id = id;
// 	}
// 	public List<IdAndQuantityDomain> getMaterials() {
// 		return materials;
// 	}
// 	public void setMaterials(List<IdAndQuantityDomain> materials) {
// 		this.materials = materials;
// 	}
// 
// }


import java.util.List;
import org.servicelayer.access.ReprocessCaller;
import org.servicelayer.models.ReprocessRecipeDomain;
package org.servicelayer.service;



public class ScrapService {
	

	public static List<ReprocessRecipeDomain> getRecipeList(List<String> items) {
// Path: ServiceLayer/src/main/java/org/servicelayer/access/ReprocessCaller.java
// public class ReprocessCaller {
// 	
// 	private static SqlSession session = null;
// 	
// 	static{
// 		session = MyBatisConnectionFactory.getSqlSessionFactory().openSession();
// 	}
// //	Reprocessor
// //	getByTypeIdList
// //	getByNameList	
// 	public static List<ReprocessRecipeDomain> getRecipesFromNames(List<String> nameList){
// 		List<ReprocessRecipeDomain> result
// 			= session.selectList("Reprocessor.getByNameList", nameList);
// 		return result;
// 	}
// 	
// 	public static List<ReprocessRecipeDomain> getRecipesFromTypeIDs(List<Integer> idList){
// 		List<ReprocessRecipeDomain> result
// 			= session.selectList("Reprocessor.getByNameList", idList);
// 		return result;
// 	}
// 
// }
// 
// Path: ServiceLayer/src/main/java/org/servicelayer/models/ReprocessRecipeDomain.java
// public class ReprocessRecipeDomain {
// //	int id = 
// 	private int id;
// 	private List<IdAndQuantityDomain> materials;
// 	public int getId() {
// 		return id;
// 	}
// 	public void setId(int id) {
// 		this.id = id;
// 	}
// 	public List<IdAndQuantityDomain> getMaterials() {
// 		return materials;
// 	}
// 	public void setMaterials(List<IdAndQuantityDomain> materials) {
// 		this.materials = materials;
// 	}
// 
// }


// Path: ServiceLayer/src/main/java/org/servicelayer/service/ScrapService.java
import java.util.List;
import org.servicelayer.access.ReprocessCaller;
import org.servicelayer.models.ReprocessRecipeDomain;

package org.servicelayer.service;



public class ScrapService {
	

	public static List<ReprocessRecipeDomain> getRecipeList(List<String> items) {
		return ReprocessCaller.getRecipesFromNames(items);