Class DefaultPointOfServiceUrlResolver
- java.lang.Object
-
- de.hybris.platform.commerceservices.url.impl.AbstractUrlResolver<PointOfServiceModel>
-
- de.hybris.platform.commerceservices.url.impl.DefaultPointOfServiceUrlResolver
-
- All Implemented Interfaces:
UrlResolver<PointOfServiceModel>
public class DefaultPointOfServiceUrlResolver extends AbstractUrlResolver<PointOfServiceModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultPointOfServiceUrlResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetKey(PointOfServiceModel source)Get the cache key for the source instance.protected java.lang.StringgetPattern()protected java.lang.StringresolveInternal(PointOfServiceModel source)Resolve the url path for the source type.voidsetPattern(java.lang.String pattern)-
Methods inherited from class de.hybris.platform.commerceservices.url.impl.AbstractUrlResolver
getThreadContextService, resolve, setThreadContextService, urlEncode, urlSafe
-
-
-
-
Method Detail
-
getPattern
protected java.lang.String getPattern()
-
setPattern
public void setPattern(java.lang.String pattern)
-
getKey
protected java.lang.String getKey(PointOfServiceModel source)
Description copied from class:AbstractUrlResolverGet the cache key for the source instance.- Overrides:
getKeyin classAbstractUrlResolver<PointOfServiceModel>- Parameters:
source- the source instance- Returns:
- the cache key or null if caching is not supported
-
resolveInternal
protected java.lang.String resolveInternal(PointOfServiceModel source)
Description copied from class:AbstractUrlResolverResolve the url path for the source type.- Specified by:
resolveInternalin classAbstractUrlResolver<PointOfServiceModel>- Parameters:
source- the source type.- Returns:
- the URL path
-
-