public class DefaultAliasFactory extends SimpleAmetysObjectFactory
Alias_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description |
|---|
DefaultAliasFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultAlias |
getAmetysObject(Node node,
String parentPath)
Creates a
AmetysObject from a persistent JCR node. |
configure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, getWorkspaceNode, hasAmetysObjectForId, serviceenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic DefaultAliasFactory()
public DefaultAlias getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException, RepositoryException
JCRAmetysObjectFactoryAmetysObject from a persistent JCR node.getAmetysObject in interface JCRAmetysObjectFactory<SimpleAmetysObject>getAmetysObject in class SimpleAmetysObjectFactorynode - 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.RepositoryException - if a JCR error occurs.