package com.ims.dao;

import java.util.List;

import org.hibernate.cfg.NotYetImplementedException;

import com.ims.domain.PurchaseOrder;
import com.ims.domain.PurchaseOrderLine;

public class DIPurchaseOrderLine implements DAOPurchaseOrderLine {

	@Override
	public void createPurchaseOrderLine(PurchaseOrder po) {
		// TODO Auto-generated method stub
	        throw new NotYetImplementedException();
		
	}

	@Override
	public PurchaseOrderLine getPurchaseOrderLine(int poLineId) {
		// TODO Auto-generated method stub
	        throw new NotYetImplementedException();
	}

	@Override
	public List<PurchaseOrderLine> getAllPurchaseOrderLines() {
		// TODO Auto-generated method stub
	        throw new NotYetImplementedException();
	}

	@Override
	public void updatePurchaseOrderLine(int poLineId) {
		// TODO Auto-generated method stub
	        throw new NotYetImplementedException();
		
	}

	@Override
	public void deletePurchaseOrderLine(int poLineId) {
		// TODO Auto-generated method stub
	        throw new NotYetImplementedException();
		
	}

}

@@ -64,38 +64,187 @@
 ate.
-cfg.NotYetImplementedException
+SessionFactory;%0Aimport org.hibernate.cfg.NotYetImplementedException;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Component
 ;%0A%0Ai
@@ -321,16 +321,27 @@
 rLine;%0A%0A
+@Component%0A
 public c
@@ -400,16 +400,74 @@
 Line %7B%0A%0A
+%09@Autowired%0A%09private SessionFactory sessionFactory;%0A%09%0A%09%0A%09%0A
 %09@Overri

update purchaseOrderLine to work with spring