public interface WebComponentPresentationFactory
| Modifier and Type | Method and Description |
|---|---|
Collection<com.tridion.dcp.ComponentPresentation> |
findAllComponentPresentations(int componentId)
Retrieve a list of all component presentations for a component.
|
Collection<com.tridion.dcp.ComponentPresentation> |
findAllComponentPresentations(int publicationId,
int componentId)
Retrieve a list of all component presentations for a component.
|
Collection<com.tridion.dcp.ComponentPresentation> |
findAllComponentPresentations(String componentURI)
Retrieve a list of all component presentations for a component.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentation(int componentId,
int templateId)
Get a component presentation.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentation(int publicationId,
int componentId,
int templateId)
Get a component presentation.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentation(String componentURI,
String templateURI)
Get a component presentation.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithHighestPriority(int componentId)
Get the component presentation for a component that has the highest priority.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithHighestPriority(String componentURI)
Get the component presentation for a component that has the highest priority.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithLowestPriority(int componentId)
Get the component presentation for a component that has the lowest priority.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithLowestPriority(String componentURI)
Get the component presentation for a component that has the lowest priority.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithOutputFormat(int componentId,
String formatString)
Get a component presentation for a component, with the given output format.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithOutputFormat(String componentURI,
String formatString)
Get a component presentation for a component, with the given output format.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithPriority(int componentId,
int priority)
Get a component presentation for a component, with the specified priority.
|
com.tridion.dcp.ComponentPresentation |
getComponentPresentationWithPriority(String componentURI,
int templatePriority)
Get a component presentation for a component, with the specified priority.
|
com.tridion.dcp.ComponentPresentation[] |
getTaxonomyComponentPresentations(com.tridion.taxonomies.Keyword[] taxonomyKeywords,
String templateURI,
boolean includeBranchedKeywords)
This retrieves all ComponentPresentations for the specified taxonomy keyword, either directly linked
to the keyword or a branch/child of the specified keyword.
|
com.tridion.dcp.ComponentPresentation[] |
getTaxonomyComponentPresentations(com.tridion.taxonomies.Keyword taxonomyKeyword,
String templateURI,
boolean includeBranchedKeywords)
This retrieves all ComponentPresentations 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.dcp.ComponentPresentation getComponentPresentation(int componentId,
int templateId)
componentId - The component of the component presentation.templateId - The template of the component presentation.com.tridion.dcp.ComponentPresentation getComponentPresentation(String componentURI, String templateURI)
componentURI - The TCM URI of the component in the component presentation.templateURI - The TCM URI of the template in the component presentation.com.tridion.dcp.ComponentPresentation[] getTaxonomyComponentPresentations(com.tridion.taxonomies.Keyword taxonomyKeyword,
String templateURI,
boolean includeBranchedKeywords)
throws com.tridion.broker.StorageException
taxonomyKeyword - The taxonomy keyword the ComponentPresentation must be related totemplateURI - The templateURI of the ComponentPresentationsincludeBranchedKeywords - True if all the childKeywords of the specified facet should be includedcom.tridion.broker.StorageException - If unable to retrieve ComponentPresentations for keywordcom.tridion.dcp.ComponentPresentation[] getTaxonomyComponentPresentations(com.tridion.taxonomies.Keyword[] taxonomyKeywords,
String templateURI,
boolean includeBranchedKeywords)
throws com.tridion.broker.StorageException
taxonomyKeywords - The combined taxonomy keywords the ComponentPresentation must be related totemplateURI - The templateURI of the ComponentPresentationsincludeBranchedKeywords - True if all the childKeywords of the specified facet should be includedcom.tridion.broker.StorageException - If unable to retrieve ComponentPresentations for keywordcom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String componentURI, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
componentURI - THe URI of the content 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 keywordscom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String[] componentURIs, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
componentURIs - THe URIs of the content 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 keywordscom.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 content 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 keywordscom.tridion.taxonomies.Keyword[] getTaxonomyKeywords(String taxonomyURI, String[] componentURIs, com.tridion.taxonomies.Keyword[] contextKeywords, WebTaxonomyFilter taxonomyFilter)
taxonomyURI - The URI of the Taxonomy, may be null if no specific taxonomy is requiredcomponentURIs - THe URIs of the content 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 keywordscom.tridion.dcp.ComponentPresentation getComponentPresentation(int publicationId,
int componentId,
int templateId)
publicationId - The publication the component presentation is in.componentId - The component of the component presentation.templateId - The template of the component presentation.com.tridion.dcp.ComponentPresentation getComponentPresentationWithHighestPriority(int componentId)
(Note: The results of this method are currently not cached)
componentId - The component to get a component presentation for.com.tridion.dcp.ComponentPresentation getComponentPresentationWithHighestPriority(String componentURI)
(Note: The results of this method are currently not cached)
componentURI - The component to get a component presentation for.com.tridion.dcp.ComponentPresentation getComponentPresentationWithLowestPriority(int componentId)
(Note: The results of this method are currently not cached)
componentId - The component to get a component presentation for.com.tridion.dcp.ComponentPresentation getComponentPresentationWithLowestPriority(String componentURI)
(Note: The results of this method are currently not cached)
componentURI - The TCM URI of the component to get a component presentation for.com.tridion.dcp.ComponentPresentation getComponentPresentationWithPriority(int componentId,
int priority)
(Note: The results of this method are currently not cached)
componentId - The component to get a component presentation for.priority - The priority of the to be found component presentation.com.tridion.dcp.ComponentPresentation getComponentPresentationWithPriority(String componentURI, int templatePriority)
(Note: The results of this method are currently not cached)
componentURI - The TCM URI of the component to get a component presentation for.templatePriority - The priority of the to be found component presentation.com.tridion.dcp.ComponentPresentation getComponentPresentationWithOutputFormat(int componentId,
String formatString)
(Note: The results of this method are currently not cached)
componentId - The component to find a component presentation for.formatString - The output format the component presentation should have.com.tridion.dcp.ComponentPresentation getComponentPresentationWithOutputFormat(String componentURI, String formatString)
(Note: The results of this method are currently not cached)
componentURI - The TCM URI of the component to find a component presentation for.formatString - The output format the component presentation should have.Collection<com.tridion.dcp.ComponentPresentation> findAllComponentPresentations(int componentId)
(Note: The results of this method are currently not cached)
componentId - The component to findCollection<com.tridion.dcp.ComponentPresentation> findAllComponentPresentations(int publicationId, int componentId)
(Note: The results of this method are currently not cached)
componentId - The component to findpublicationId - The publicationId to find the components forCollection<com.tridion.dcp.ComponentPresentation> findAllComponentPresentations(String componentURI)
(Note: The results of this method are currently not cached)
componentURI - The TCM URI of the relevant componentCopyright © 2016 SDL Group. All rights reserved.