@Override
	public void cacheResult(List<CommerceShipmentItem> commerceShipmentItems) {
		for (CommerceShipmentItem commerceShipmentItem : commerceShipmentItems) {
			if (entityCache.getResult(
						CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
						CommerceShipmentItemImpl.class,
						commerceShipmentItem.getPrimaryKey()) == null) {
				cacheResult(commerceShipmentItem);
			}
			else {
				commerceShipmentItem.resetOriginalValues();
			}
		}
	}
@ Override public void cacheResult ( List < CommerceShipmentItem > commerceShipmentItems ) { for ( CommerceShipmentItem commerceShipmentItem : commerceShipmentItems ) { if ( entityCache . getResult ( CommerceShipmentItemModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentItemImpl . class , commerceShipmentItem . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceShipmentItem ) ; } else { commerceShipmentItem . resetOriginalValues ( ) ; } } }
Caches the commerce shipment items in the entity cache if it is enabled.

@param commerceShipmentItems the commerce shipment items