public List<Component> getAllProcessorsOfType(int processorType)
	{
		List<Component> outputData = new ArrayList<Component>();
		try
		{
			// Query DB, gather results into output list
			ResultSet res = DAO.getAllProcessorsOfType(processorType);
			while (res.next()) {
				Component newCmp = new Component();
				newCmp.setId(res.getInt("processorTypeID"));
				newCmp.setBrand(Build.processorTypes[res.getInt("processorBrandID")]);
				newCmp.setName(res.getString("processorDescription"));
				newCmp.setCategory(Build.buildStates[0]);
				newCmp.setPrice(res.getInt("processorPrice"));
				outputData.add(newCmp);
			}
			//clean up database resources
			res.close();
			DAO.closeStatement();
		}
		catch(SQLException ex)
		{
			DataAccessLayer.handleSqlExceptions(ex);
		}
		return outputData;
	}