public class BrokerComponentPresentationProvider extends AbstractComponentPresentationProvider implements ComponentPresentationProvider
ERROR_MESSAGEcacheProvider, contentIsBase64Encoded, contentIsCompressed| Constructor and Description |
|---|
BrokerComponentPresentationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected com.tridion.dcp.ComponentPresentation |
getComponentPresentation(int componentId,
int templateId,
int publicationId) |
String |
getDynamicComponentPresentation(int componentId,
int publicationId)
Retrieves content of a Dynamic Component Presentation by looking up its componentId and publicationId.
|
String |
getDynamicComponentPresentation(int componentId,
int templateId,
int publicationId)
Retrieves content of a Dynamic Component Presentation by looking up its componentId, templateId and publicationId.
|
ComponentPresentationResultItem<String> |
getDynamicComponentPresentationItem(int componentId,
int publicationId) |
ComponentPresentationResultItem<String> |
getDynamicComponentPresentationItem(int componentId,
int templateId,
int publicationId) |
assertQueryResultNotNull, getDynamicComponentPresentationsconvertStreamToString, decodeAndDecompressContent, encodeUrl, getKey, isContentIsBase64Encoded, setCacheProvider, setContentIsBase64Encoded, setContentIsCompressedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDynamicComponentPresentationspublic String getDynamicComponentPresentation(int componentId, int publicationId) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
getDynamicComponentPresentation in interface ComponentPresentationProvidercomponentId - int representing the Component item idpublicationId - int representing the Publication id of the DCPorg.dd4t.core.exceptions.ItemNotFoundException - if the requested DCP cannot be foundorg.dd4t.core.exceptions.SerializationExceptionpublic String getDynamicComponentPresentation(int componentId, int templateId, int publicationId) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
getDynamicComponentPresentation in interface ComponentPresentationProvidergetDynamicComponentPresentation in class AbstractComponentPresentationProvidercomponentId - int representing the Component item idtemplateId - int representing the Component Template item idpublicationId - int representing the Publication id of the DCPorg.dd4t.core.exceptions.ItemNotFoundException - if the requested DCP cannot be foundorg.dd4t.core.exceptions.SerializationExceptionpublic ComponentPresentationResultItem<String> getDynamicComponentPresentationItem(int componentId, int publicationId) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
getDynamicComponentPresentationItem in interface ComponentPresentationProviderorg.dd4t.core.exceptions.ItemNotFoundExceptionorg.dd4t.core.exceptions.SerializationExceptionpublic ComponentPresentationResultItem<String> getDynamicComponentPresentationItem(int componentId, int templateId, int publicationId) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
getDynamicComponentPresentationItem in interface ComponentPresentationProviderorg.dd4t.core.exceptions.ItemNotFoundExceptionorg.dd4t.core.exceptions.SerializationExceptionprotected com.tridion.dcp.ComponentPresentation getComponentPresentation(int componentId,
int templateId,
int publicationId)
throws org.dd4t.core.exceptions.ItemNotFoundException
org.dd4t.core.exceptions.ItemNotFoundExceptionCopyright © 2017. All rights reserved.