public class ComponentPresentationFactoryImpl extends BaseFactory implements ComponentPresentationFactory
| Modifier and Type | Field and Description |
|---|---|
protected ComponentPresentationProvider |
componentPresentationProvider |
cacheProvider, dataBinders, processors| Constructor and Description |
|---|
ComponentPresentationFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
ComponentPresentation |
getComponentPresentation(String componentURI) |
ComponentPresentation |
getComponentPresentation(String componentURI,
RequestContext context) |
ComponentPresentation |
getComponentPresentation(String componentURI,
String viewOrTemplateURI) |
ComponentPresentation |
getComponentPresentation(String componentURI,
String templateURI,
RequestContext context)
Get the component by the component uri and template uri.
|
ComponentPresentationProvider |
getComponentPresentationProvider() |
void |
setComponentPresentationProvider(ComponentPresentationProvider componentPresentationProvider) |
executeProcessors, getDataBinders, getProcessors, selectDataBinder, setCacheProvider, setDataBinders, setProcessorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteProcessorsgetProcessors, setCacheProvider, setProcessorsprotected ComponentPresentationProvider componentPresentationProvider
public ComponentPresentation getComponentPresentation(String componentURI, String templateURI, RequestContext context) throws FactoryException
getComponentPresentation in interface ComponentPresentationFactoryFactoryException - if no item found NotAuthorizedException if the user is not
authorized to get the componentpublic ComponentPresentationProvider getComponentPresentationProvider()
public void setComponentPresentationProvider(ComponentPresentationProvider componentPresentationProvider)
public ComponentPresentation getComponentPresentation(String componentURI) throws FactoryException
getComponentPresentation in interface ComponentPresentationFactoryFactoryExceptionpublic ComponentPresentation getComponentPresentation(String componentURI, String viewOrTemplateURI) throws FactoryException
getComponentPresentation in interface ComponentPresentationFactoryFactoryExceptionpublic ComponentPresentation getComponentPresentation(String componentURI, RequestContext context) throws FactoryException
getComponentPresentation in interface ComponentPresentationFactoryFactoryExceptionCopyright © 2018. All rights reserved.