public class MappingsResolverImpl extends Object implements MappingsResolver
| Constructor and Description |
|---|
MappingsResolverImpl(com.sdl.delivery.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
PublicationMapping |
getPublicationIdForIdentifier(String publicationIdentifier)
Returns publication id based on the property of publication entry.
|
PublicationMapping |
getPublicationMappingFromUrl(int namespaceId,
String urlPath)
Returns publication id and root path of the page url.
|
PublicationMapping |
getPublicationMappingFromUrl(String urlPath)
Returns publication id and root path of the page url.
|
public MappingsResolverImpl(com.sdl.delivery.configuration.Configuration configuration)
public PublicationMapping getPublicationMappingFromUrl(String urlPath)
MappingsResolvergetPublicationMappingFromUrl in interface MappingsResolverurlPath - Full and absolute url to the page.public PublicationMapping getPublicationMappingFromUrl(int namespaceId, String urlPath)
MappingsResolvergetPublicationMappingFromUrl in interface MappingsResolvernamespaceId - Publication namespace id.urlPath - Full and absolute url to the page.public PublicationMapping getPublicationIdForIdentifier(String publicationIdentifier)
MappingsResolvergetPublicationIdForIdentifier in interface MappingsResolverpublicationIdentifier - The publication property used for identifying specific publication.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries