| Package | Description |
|---|---|
| org.dd4t.core.exceptions | |
| org.dd4t.core.factories |
| Modifier and Type | Class and Description |
|---|---|
class |
ItemNotFoundException |
class |
NotAuthenticatedException |
class |
NotAuthorizedException |
class |
ProcessorException |
class |
RenderException
dd4t-2
|
class |
SerializationException |
| Modifier and Type | Method and Description |
|---|---|
<T extends Page> |
PageFactory.deserialize(String source,
Class<? extends T> clazz)
Deserializes a JSON encoded String into an object of the given type, which must
derive from the Page interface
|
void |
ComponentPresentationFactory.executeProcessors(Item item,
RunPhase runPhase,
RequestContext context) |
void |
BinaryFactory.executeProcessors(Item item,
RunPhase runPhase,
RequestContext context) |
void |
PageFactory.executeProcessors(Item item,
RunPhase runPhase,
RequestContext context) |
Page |
PageFactory.findPageByUrl(String url,
int publicationId)
Find page by its URL.
|
<T extends Page> |
PageFactory.findPageByUrl(String url,
int publicationId,
Class<T> pageModel)
Find page by its URL.
|
Page |
PageFactory.findPageByUrl(String url,
int publicationId,
RequestContext context)
Find page by its URL.
|
<T extends Page> |
PageFactory.findPageByUrl(String url,
int publicationId,
RequestContext context,
Class<T> pageModel)
Find page by its URL.
|
TCMURI |
PageFactory.findPageIdByUrl(String url,
int publicationId)
Find the TCM Uri of a page by URL
|
String |
PageFactory.findSourcePageByTcmId(String tcmId)
Find the source of the Page by Tcm Id.
|
String |
PageFactory.findSourcePageByUrl(String url,
int publicationId)
Find the source of the Page by Url.
|
Binary |
BinaryFactory.getBinaryByURI(String tcmUri)
Get a binary by the tcmUri.
|
Binary |
BinaryFactory.getBinaryByURL(String url,
int publicationId)
Get a binary by the url and publicationId.
|
ComponentPresentation |
ComponentPresentationFactory.getComponentPresentation(String componentURI)
Get a component by its uri and Component Template URI.
|
ComponentPresentation |
ComponentPresentationFactory.getComponentPresentation(String componentURI,
RequestContext context)
Get a component by its uri and Component Template URI.
|
ComponentPresentation |
ComponentPresentationFactory.getComponentPresentation(String componentURI,
String viewOrTemplateURI)
Get a component by its uri and Component Template URI.
|
ComponentPresentation |
ComponentPresentationFactory.getComponentPresentation(String componentURI,
String viewOrTemplateURI,
RequestContext context)
Get a component by its uri and Component Template URI.
|
Page |
PageFactory.getPage(String uri)
Get a page by its URI.
|
<T extends Page> |
PageFactory.getPage(String uri,
Class<T> pageModel)
Get a Page by its URI.
|
Page |
PageFactory.getPage(String uri,
RequestContext context)
Get a page by its URI.
|
<T extends Page> |
PageFactory.getPage(String uri,
RequestContext context,
Class<T> pageModel)
Get a Page by its URI.
|
Copyright © 2017. All rights reserved.