public class SitemapFactory extends DefaultTraversableAmetysObjectFactory
AmetysObjectFactory
for creating traversable Sitemap
.Modifier and Type | Field and Description |
---|---|
private PageDataTypeExtensionPoint |
_pageDataTypeExtensionPoint |
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme
Constructor and Description |
---|
SitemapFactory() |
Modifier and Type | Method and Description |
---|---|
Sitemap |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
PageDataTypeExtensionPoint |
getPageDataTypeExtensionPoint()
Retrieves the extension point of page data types
|
void |
service(ServiceManager serviceManager) |
createChild, getChild, getChildren, hasChild
configure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, getWorkspaceNode, hasAmetysObjectForId
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
public SitemapFactory()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class SimpleAmetysObjectFactory
ServiceException
public Sitemap getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactory
AmetysObject
from a persistent JCR node.getAmetysObject
in interface JCRAmetysObjectFactory<SimpleAmetysObject>
getAmetysObject
in class DefaultTraversableAmetysObjectFactory
node
- the JCR node to use.parentPath
- the parent Path in the Ametys hierarchy,
may be null
if not known yet.AmetysRepositoryException
- if an error occurs.public PageDataTypeExtensionPoint getPageDataTypeExtensionPoint()