public interface WebComponentPresentationMetaFactory
ComponentPresentationMeta that can be obtained using the combination of a
component and template id, specified either as a numbers or as TCM URIs.
Each instance is specifically linked to a publication when an instance is created. This publication id is always
used when getting ComponentPresentationMeta objects via getMeta methods| Modifier and Type | Method and Description |
|---|---|
com.tridion.meta.ComponentPresentationMeta |
getMeta(int componentId,
int componentTemplateId)
Returns the
ComponentPresentationMeta for the given [componentId] and [componentTemplateId]
with the publication of this ComponentPresentationMetaFactory instance. |
com.tridion.meta.ComponentPresentationMeta |
getMeta(String componentURI,
String componentTemplateURI)
Returns the
ComponentPresentationMeta for the given [componentURI] and [componentTemplateURI] with
the publication of this ComponentPresentationMetaFactory instance. |
Collection<com.tridion.meta.ComponentPresentationMeta> |
getMetaByComponent(String componentURI)
Return a collection of
ComponentPresentationMeta's available for the given component. |
com.tridion.meta.ComponentPresentationMeta[] |
getTaxonomyComponentPresentationMetas(com.tridion.taxonomies.Keyword[] taxonomyKeywords,
String templateURI,
boolean includeBranchedKeywords)
This retrieves all ComponentPresentationMetas for the specified taxonomy keywords, either directly linked to
the keyword or a branch/child of the specified keyword.
|
com.tridion.meta.ComponentPresentationMeta[] |
getTaxonomyComponentPresentationMetas(com.tridion.taxonomies.Keyword taxonomyKeyword,
String templateURI,
boolean includeBranchedKeywords)
This retrieves all ComponentPresentationMetas for the specified taxonomy keyword, either directly linked
to the keyword or a branch/child of the specified keyword.
|
com.tridion.taxonomies.Keyword[] |
getTaxonomyKeywords(String[] componentURIs,
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 componentURI,
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[] componentURIs,
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 componentURI,
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.ComponentPresentationMeta getMeta(int componentId,
int componentTemplateId)
ComponentPresentationMeta for the given [componentId] and [componentTemplateId]
with the publication of this ComponentPresentationMetaFactory instance.componentId - item id of the componentcomponentTemplateId - item id of the templateComponentPresentationMeta
can be foundcom.tridion.meta.ComponentPresentationMeta getMeta(String componentURI, String componentTemplateURI)
ComponentPresentationMeta for the given [componentURI] and [componentTemplateURI] with
the publication of this ComponentPresentationMetaFactory instance.componentURI - TCMURI of the componentcomponentTemplateURI - TCMURI of the templateComponentPresentationMeta
can be foundCollection<com.tridion.meta.ComponentPresentationMeta> getMetaByComponent(String componentURI)
ComponentPresentationMeta's available for the given component.
If nothing matches an empty collection will be returned.componentURI - The uri of the component.ComponentPresentationMeta's.com.tridion.meta.ComponentPresentationMeta[] getTaxonomyComponentPresentationMetas(com.tridion.taxonomies.Keyword taxonomyKeyword,
String templateURI,
boolean includeBranchedKeywords)
throws com.tridion.broker.StorageException
taxonomyKeyword - The taxonomy keyword the ComponentPresentationMetas must be related totemplateURI - The templateURI of the ComponentPresentationMetasincludeBranchedKeywords - True if all the childkeywords of the specified keyword should be includedcom.tridion.broker.StorageException - If unable to retrieve ComponentPresentationMetas for taxonomyfacetcom.tridion.meta.ComponentPresentationMeta[] getTaxonomyComponentPresentationMetas(com.tridion.taxonomies.Keyword[] taxonomyKeywords,
String templateURI,
boolean includeBranchedKeywords)
throws com.tridion.broker.StorageException
taxonomyKeywords - The combined taxonomy keywords the ComponentPresentationMetas must be related totemplateURI - The templateURI of the ComponentPresentationMetasincludeBranchedKeywords - True if all the childkeywords of the specified keywords should be includedcom.tridion.broker.StorageException - If unable to retrieve ComponentPresentationMetas for taxonomyfacetcom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String[] componentURIs, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
componentURIs - THe URIs of the components to search keywords 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 componentURI, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
componentURI - THe URI of the component 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 componentURI, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
taxonomyURI - The URI of the TaxonomycomponentURI - THe URI of the component 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[] componentURIs, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
taxonomyURI - The URI of the TaxonomycomponentURIs - THe URIs of the components to search keywords forcontextKeywords - The URIs of already selected context keywords, this
will be used to retrieve related items.taxonomyFilter - The filter to apply to the found taxonomyFacetsCopyright © 2016 SDL Group. All rights reserved.