public interface WebPageMetaFactory
PageMeta that can be obtained using a page Id or TCM URI or it's URL.| Modifier and Type | Method and Description |
|---|---|
com.tridion.meta.PageMeta |
getMeta(int pageId)
Return the
PageMeta for the given page item id within the
publication this PageMetaFactory was created with. |
com.tridion.meta.PageMeta |
getMeta(String pageId)
Return the
PageMeta for the given page TCMURI
within the publication this PageMetaFactory was created
with. |
com.tridion.meta.PageMeta |
getMetaByURL(int publicationId,
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. |
Collection<com.tridion.meta.PageMeta> |
getMetaByURL(String urlPath)
Returns all
PageMeta objects which exactly match the URL
Path passed as the urlPath parameter. |
com.tridion.meta.PageMeta |
getMetaByURL(String publicationURI,
String urlPath)
Returns the
PageMeta object in the Publication identified
by the publicationURI parameter which has the URL Path as
passed by the urlPath parameter. |
com.tridion.taxonomies.Keyword[] |
getTaxonomyKeywords(String[] pageURIS,
com.tridion.taxonomies.Keyword[] contextKeywords,
WebTaxonomyFilter taxonomyFilter)
Retrieves the Taxonomy Keywords for a number of content items and applies a
taxonomyFilter to retrieve more related keywords.
|
com.tridion.taxonomies.Keyword[] |
getTaxonomyKeywords(String pageURI,
com.tridion.taxonomies.Keyword[] contextKeywords,
WebTaxonomyFilter taxonomyFilter)
Retrieves the Taxonomy Keywords for a number of content items and applies a
taxonomyFilter to retrieve more related keywords.
|
com.tridion.taxonomies.Keyword[] |
getTaxonomyKeywords(String taxonomyURI,
String[] pageURIS,
com.tridion.taxonomies.Keyword[] contextKeywords,
WebTaxonomyFilter taxonomyFilter)
Retrieves the Taxonomy Keywords for a number of content items and applies a
taxonomyFilter to retrieve more related keywords.
|
com.tridion.taxonomies.Keyword[] |
getTaxonomyKeywords(String taxonomyURI,
String pageURI,
com.tridion.taxonomies.Keyword[] contextKeywords,
WebTaxonomyFilter taxonomyFilter)
Retrieves the Taxonomy Keywords for a number of content items and applies a
taxonomyFilter to retrieve more related keywords.
|
com.tridion.meta.PageMeta[] |
getTaxonomyPages(com.tridion.taxonomies.Keyword[] taxonomyKeywords,
boolean includeBranchedKeywords)
This returns all the pagemetas for pages related to the specified taxonomy facets.
|
com.tridion.meta.PageMeta[] |
getTaxonomyPages(com.tridion.taxonomies.Keyword taxonomyKeyword,
boolean includeBranchedKeywords)
This returns all the pagemetas for pages related to the specified taxonomy facet.
|
com.tridion.meta.PageMeta[] getTaxonomyPages(com.tridion.taxonomies.Keyword taxonomyKeyword,
boolean includeBranchedKeywords)
throws com.tridion.broker.StorageException
taxonomyKeyword - The taxonomy facet to retrieve related pages forincludeBranchedKeywords - True if all the childkeywords of the specified keywords should be includedcom.tridion.broker.StorageException - If unable to retrieve related pages.com.tridion.meta.PageMeta[] getTaxonomyPages(com.tridion.taxonomies.Keyword[] taxonomyKeywords,
boolean includeBranchedKeywords)
throws com.tridion.broker.StorageException
taxonomyKeywords - The taxonomy keywords to retrieve related pages forincludeBranchedKeywords - True if all the childkeywords of the specified keywords should be includedcom.tridion.broker.StorageException - If unable to retrieve related pages.com.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String pageURI, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
pageURI - THe URI of the page to search facets forcontextKeywords - The URIs of already selected context keywords, this
will be used to retrieve related items.taxonomyFilter - The filter to apply to the found taxonomyFacetscom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String[] pageURIS, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
pageURIS - THe URIs of the pages to search facets forcontextKeywords - The URIs of already selected context keywords, this
will be used to retrieve related items.taxonomyFilter - The filter to apply to the found taxonomyFacetscom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String taxonomyURI, String pageURI, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
taxonomyURI - The URI of the TaxonomypageURI - THe URI of the page to search facets forcontextKeywords - The URIs of already selected context keywords, this
will be used to retrieve related items.taxonomyFilter - The filter to apply to the found taxonomyFacetscom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String taxonomyURI, String[] pageURIS, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
taxonomyURI - The URI of the TaxonomypageURIS - THe URIs of the pages to search facets forcontextKeywords - The URIs of already selected context keywords, this
will be used to retrieve related items.taxonomyFilter - The filter to apply to the found taxonomyFacetscom.tridion.meta.PageMeta getMeta(int pageId)
PageMeta for the given page item id within the
publication this PageMetaFactory was created with.pageId - page Id to return the PageMeta forcom.tridion.meta.PageMeta getMeta(String pageId)
PageMeta for the given page TCMURI
within the publication this PageMetaFactory was created
with.pageId - page TCMURI to return the PageMeta forCollection<com.tridion.meta.PageMeta> getMetaByURL(String urlPath)
PageMeta objects which exactly match the URL
Path passed as the urlPath parameter.urlPath - The URL Path of the Page as it is stored in the Page Metadata.Collection containing all PageMeta
objects with the URLPath used to perform the query. In theory,
this is one PageMeta per Publication. If no
results are found, an empty Collection is returned.com.tridion.meta.PageMeta getMetaByURL(int publicationId,
String urlPath)
PageMeta object in the Publication identified
by the publicationId parameter which has the URL Path as
passed by the urlPath parameter.publicationId - The Id of the Publication you want to search in. If 0 is used
as the Publication Id, then the Publication Id used to
construct this PageMetaFactory object will be
used as the Publication Id.urlPath - The URL Path 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
publicationId. If no PageMeta matches the query,
returns null;com.tridion.meta.PageMeta getMetaByURL(String publicationURI, String urlPath)
PageMeta object in the Publication identified
by the publicationURI parameter which has the URL Path as
passed by the urlPath parameter.publicationURI - The string representing theTCM URI of the Publication you want
to search in. If 0 is used as the Publication Id, then the
Publication Id used to construct this PageMetaFactory
object will be used as the Publication Id.urlPath - The URL Path 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
publicationId. If no PageMeta matches the query,
returns null;Copyright © 2016 SDL Group. All rights reserved.