@ Override public void cacheResult ( CPFriendlyURLEntry cpFriendlyURLEntry ) { entityCache . putResult ( CPFriendlyURLEntryModelImpl . ENTITY_CACHE_ENABLED , CPFriendlyURLEntryImpl . class , cpFriendlyURLEntry . getPrimaryKey ( ) , cpFriendlyURLEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpFriendlyURLEntry . getUuid ( ) , cpFriendlyURLEntry . getGroupId ( ) } , cpFriendlyURLEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_C_L_U , new Object [ ] { cpFriendlyURLEntry . getGroupId ( ) , cpFriendlyURLEntry . getClassNameId ( ) , cpFriendlyURLEntry . getLanguageId ( ) , cpFriendlyURLEntry . getUrlTitle ( ) } , cpFriendlyURLEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_C_C_L_U , new Object [ ] { cpFriendlyURLEntry . getGroupId ( ) , cpFriendlyURLEntry . getClassNameId ( ) , cpFriendlyURLEntry . getClassPK ( ) , cpFriendlyURLEntry . getLanguageId ( ) , cpFriendlyURLEntry . getUrlTitle ( ) } , cpFriendlyURLEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_C_C_L_M , new Object [ ] { cpFriendlyURLEntry . getGroupId ( ) , cpFriendlyURLEntry . getClassNameId ( ) , cpFriendlyURLEntry . getClassPK ( ) , cpFriendlyURLEntry . getLanguageId ( ) , cpFriendlyURLEntry . isMain ( ) } , cpFriendlyURLEntry ) ; cpFriendlyURLEntry . resetOriginalValues ( ) ; }
Caches the cp friendly url entry in the entity cache if it is enabled .