public class DefaultLinkFactory extends DefaultTraversableAmetysObjectFactory
Link objects, which represent a link entry in the directory.| Modifier and Type | Field and Description | 
|---|---|
static String | 
LINK_NODE_TYPE
The link node type. 
 | 
static String | 
LINK_ROOT_NODE_TYPE
The link container node type. 
 | 
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description | 
|---|
DefaultLinkFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultLink | 
getAmetysObject(Node node,
               String parentPath)
Creates a  
AmetysObject from a persistent JCR node. | 
createChild, getChild, getChildren, hasChildconfigure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, getWorkspaceNode, hasAmetysObjectForId, serviceenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String LINK_ROOT_NODE_TYPE
public static final String LINK_NODE_TYPE
public DefaultLinkFactory()
public DefaultLink getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactoryAmetysObject from a persistent JCR node.getAmetysObject in interface JCRAmetysObjectFactory<SimpleAmetysObject>getAmetysObject in class DefaultTraversableAmetysObjectFactorynode - 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.