@ Override public void cacheResult ( CommerceShipment commerceShipment ) { entityCache . putResult ( CommerceShipmentModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentImpl . class , commerceShipment . getPrimaryKey ( ) , commerceShipment ) ; commerceShipment . resetOriginalValues ( ) ; }
Caches the commerce shipment in the entity cache if it is enabled .