@ Override public void cacheResult ( CPDefinitionOptionRel cpDefinitionOptionRel ) { entityCache . putResult ( CPDefinitionOptionRelModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionOptionRelImpl . class , cpDefinitionOptionRel . getPrimaryKey ( ) , cpDefinitionOptionRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpDefinitionOptionRel . getUuid ( ) , cpDefinitionOptionRel . getGroupId ( ) } , cpDefinitionOptionRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C , new Object [ ] { cpDefinitionOptionRel . getCPDefinitionId ( ) , cpDefinitionOptionRel . getCPOptionId ( ) } , cpDefinitionOptionRel ) ; cpDefinitionOptionRel . resetOriginalValues ( ) ; }
Caches the cp definition option rel in the entity cache if it is enabled .