DeliveryItemDAO removed method getDeliveryItemsByDelivery, changed IllegalArgumentExcpetions to NullPointer where required.