@ Override public void cacheResult ( CommerceNotificationAttachment commerceNotificationAttachment ) { entityCache . putResult ( CommerceNotificationAttachmentModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationAttachmentImpl . class , commerceNotificationAttachment . getPrimaryKey ( ) , commerceNotificationAttachment ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceNotificationAttachment . getUuid ( ) , commerceNotificationAttachment . getGroupId ( ) } , commerceNotificationAttachment ) ; commerceNotificationAttachment . resetOriginalValues ( ) ; }
Caches the commerce notification attachment in the entity cache if it is enabled .