public class DynamicMetaRetriever extends Object
This class uses Spring's AspectJ dependency injection via compile-time weaving to allow legacy code to create instances of this class without explicit Spring annotations or configuration.
Constructor and Description |
---|
DynamicMetaRetriever()
This constructs DynamicMetaRetriever.
|
Modifier and Type | Method and Description |
---|---|
com.tridion.meta.BinaryMeta |
getBinaryMetaByURL(String urlPath)
Returns the
BinaryMeta object in the Publication identified by the publicationId
parameter which has the URL Path as passed by the urlPath parameter. |
com.tridion.meta.PageMeta |
getPageMetaByURL(String urlPath)
Returns the
PageMeta object in the Publication identified by the publicationId
parameter which has the URL Path as passed by the urlPath parameter. |
public DynamicMetaRetriever()
public com.tridion.meta.PageMeta getPageMetaByURL(String urlPath)
PageMeta
object in the Publication identified by the publicationId
parameter which has the URL Path as passed by the urlPath
parameter.urlPath
- The Full URL Path (including domain name, protocol and port number)of the Page as it is stored in
the Page Metadata.PageMeta
object with the URLPath used to perform the query in the Publication identified
by the publication which matches the domain name, extracted from the configuration file cd_dynamic_conf.xml. If
no PageMeta matches the query, returns null;public com.tridion.meta.BinaryMeta getBinaryMetaByURL(String urlPath)
BinaryMeta
object in the Publication identified by the publicationId
parameter which has the URL Path as passed by the urlPath
parameter.urlPath
- The Full URL Path (including domain name, protocol and port number)of the Binary as it is stored
in the Binary Metadata.BinaryMeta
object with the URLPath used to perform the query in the Publication
identified by the publication which matches the domain name, extracted from the configuration file
cd_dynamic_conf.xml. If no BinaryMeta matches the query, returns null;Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries