@ Override public void cacheResult ( CPOptionCategory cpOptionCategory ) { entityCache . putResult ( CPOptionCategoryModelImpl . ENTITY_CACHE_ENABLED , CPOptionCategoryImpl . class , cpOptionCategory . getPrimaryKey ( ) , cpOptionCategory ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpOptionCategory . getUuid ( ) , cpOptionCategory . getGroupId ( ) } , cpOptionCategory ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_K , new Object [ ] { cpOptionCategory . getGroupId ( ) , cpOptionCategory . getKey ( ) } , cpOptionCategory ) ; cpOptionCategory . resetOriginalValues ( ) ; }
Caches the cp option category in the entity cache if it is enabled .