package com.ims.DAO;

import java.util.EmptyStackException;
import java.util.List;

import org.hibernate.cfg.NotYetImplementedException;

public class DIPurchaseOrderLine implements DAOPurchaseOrderLine {

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

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

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

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

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

}

@@ -308,28 +308,8 @@
 tub%0A
-%09%09if (po == null) %7B%0A
 %09   
@@ -345,39 +345,32 @@
 tedException();%0A
-%09    %7D%0A
 %09%09%0A%09%7D%0A%0A%09@Overrid
@@ -475,34 +475,8 @@
 tub%0A
-%09%09if (poLineId == null) %7B%0A
 %09   
@@ -524,30 +524,8 @@
 ();%0A
-%09    %7D%0A%09%09return null;%0A
 %09%7D%0A%0A
@@ -686,23 +686,8 @@
 ();%0A
-%09%09return null;%0A
 %09%7D%0A%0A
@@ -791,34 +791,8 @@
 tub%0A
-%09%09if (poLineId == null) %7B%0A
 %09   
@@ -832,31 +832,24 @@
 xception();%0A
-%09    %7D%0A
 %09%09%0A%09%7D%0A%0A%09@Ove
@@ -948,34 +948,8 @@
 tub%0A
-%09%09if (poLineId == null) %7B%0A
 %09   
@@ -997,15 +997,8 @@
 ();%0A
-%09    %7D%0A
 %09%09%0A%09

remove if statement from methods of DIPurchaseOrderLine