@ Override public void cacheResult ( List < CommerceAccountOrganizationRel > commerceAccountOrganizationRels ) { for ( CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels ) { if ( entityCache . getResult ( CommerceAccountOrganizationRelModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountOrganizationRelImpl . class , commerceAccountOrganizationRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceAccountOrganizationRel ) ; } else { commerceAccountOrganizationRel . resetOriginalValues ( ) ; } } }
Caches the commerce account organization rels in the entity cache if it is enabled .