@Override
	public void cacheResult(
		List<CommerceDiscountUserSegmentRel> commerceDiscountUserSegmentRels) {
		for (CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel : commerceDiscountUserSegmentRels) {
			if (entityCache.getResult(
						CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
						CommerceDiscountUserSegmentRelImpl.class,
						commerceDiscountUserSegmentRel.getPrimaryKey()) == null) {
				cacheResult(commerceDiscountUserSegmentRel);
			}
			else {
				commerceDiscountUserSegmentRel.resetOriginalValues();
			}
		}
	}
@ Override public void cacheResult ( List < CommerceDiscountUserSegmentRel > commerceDiscountUserSegmentRels ) { for ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel : commerceDiscountUserSegmentRels ) { if ( entityCache . getResult ( CommerceDiscountUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountUserSegmentRelImpl . class , commerceDiscountUserSegmentRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceDiscountUserSegmentRel ) ; } else { commerceDiscountUserSegmentRel . resetOriginalValues ( ) ; } } }
Caches the commerce discount user segment rels in the entity cache if it is enabled.

@param commerceDiscountUserSegmentRels the commerce discount user segment rels