Package org.craftercms.engine.targeting.impl
package org.craftercms.engine.targeting.impl
-
ClassesClassDescription
TargetedUrlStrategybase class, that provides basic implementations ofAbstractTargetedUrlStrategy.parseTargetedUrl(String)andAbstractTargetedUrlStrategy.buildTargetedUrl(String, String, String).TargetIdManagerbase class, that provides basic implementations ofAbstractTargetIdManager.getFallbackTargetId()andAbstractTargetIdManager.getAvailableTargetIds().Default implementation ofCandidateTargetedUrlsResolverImpl, that works by first extracting the root folder URL of the targeted URL, then callingTargetedUrlStrategy.parseTargetedUrl(String)with the relative URL, and finally build the candidate targeted URLs based on the candidate target IDs returned byCandidateTargetIdsResolver.getTargetIds(String, String).Default implementation ofCandidateTargetIdsResolver, which generates the candidate target IDs by splitting the original target ID and appending the components again but excluding the last one on each iteration.CookieLocaleResolverextension that uses the default locale specified in the site configuration if the user has not current locale associated.LocaleResolverimplementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the configured default locale, the request'sAccept-Languageheader, or the default locale for the server.Implementation ofTargetIdManagerthat treats theLocaleas a target ID.TargetedUrlStrategythat proxies to the strategy defined in the site application context, or if not defined, to the default one in the general application context.ProxyTargetIdManagerthat proxies to the manager defined in the site application context, or if not defined, to the default one in the general application context.ContentStoreAdapterDecoratorthat uses aCandidateTargetedUrlsResolverto generate candidate URLs for targeted content lookup.TargetedUrlStrategyimplementation that recognizes the target ID in the file name (e.g.TargetedUrlStrategyimplementation that recognizes the target ID in the first folder of the URL name (e.g.