@ Override public void cacheResult ( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue ) { entityCache . putResult ( CPDefinitionSpecificationOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionSpecificationOptionValueImpl . class , cpDefinitionSpecificationOptionValue . getPrimaryKey ( ) , cpDefinitionSpecificationOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpDefinitionSpecificationOptionValue . getUuid ( ) , cpDefinitionSpecificationOptionValue . getGroupId ( ) } , cpDefinitionSpecificationOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_CSOVI , new Object [ ] { cpDefinitionSpecificationOptionValue . getCPDefinitionId ( ) , cpDefinitionSpecificationOptionValue . getCPDefinitionSpecificationOptionValueId ( ) } , cpDefinitionSpecificationOptionValue ) ; cpDefinitionSpecificationOptionValue . resetOriginalValues ( ) ; }
Caches the cp definition specification option value in the entity cache if it is enabled .