@ Override public void cacheResult ( CommerceNotificationTemplate commerceNotificationTemplate ) { entityCache . putResult ( CommerceNotificationTemplateModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateImpl . class , commerceNotificationTemplate . getPrimaryKey ( ) , commerceNotificationTemplate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceNotificationTemplate . getUuid ( ) , commerceNotificationTemplate . getGroupId ( ) } , commerceNotificationTemplate ) ; commerceNotificationTemplate . resetOriginalValues ( ) ; }
Caches the commerce notification template in the entity cache if it is enabled .