public class ContentParameterProviderFactory extends AbstractWorkspaceAndPathParameterProviderFactory<info.magnolia.cms.core.Content>
ParameterProviderFactory
which determines the workspace and node to use based
on the request uri (the using HttpServletRequest.getPathInfo(), to be accurate).
It assumes that the first path element is the name of the ImageGenerator in use; that the second is the name
of the workspace where the node we want is, and that the rest is the path to the node in question.Constructor and Description |
---|
ContentParameterProviderFactory() |
Modifier and Type | Method and Description |
---|---|
CachingStrategy<info.magnolia.cms.core.Content> |
getCachingStrategy() |
protected ParameterProvider<info.magnolia.cms.core.Content> |
newParameterProviderForPath(info.magnolia.cms.core.HierarchyManager hm,
String path) |
newParameterProviderFor
protected ParameterProvider<info.magnolia.cms.core.Content> newParameterProviderForPath(info.magnolia.cms.core.HierarchyManager hm, String path) throws javax.jcr.RepositoryException
newParameterProviderForPath
in class AbstractWorkspaceAndPathParameterProviderFactory<info.magnolia.cms.core.Content>
javax.jcr.RepositoryException
public CachingStrategy<info.magnolia.cms.core.Content> getCachingStrategy()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.