public class DefaultDefinitionFactory extends SimpleAmetysObjectFactory
Definition objects, which represent a word definition entry in the glossary.| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFINITION_NODE_TYPE
The definition node type. 
 | 
static String | 
DEFINITION_ROOT_NODE_TYPE
The definition container node type. 
 | 
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description | 
|---|
DefaultDefinitionFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultDefinition | 
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 static final String DEFINITION_ROOT_NODE_TYPE
public static final String DEFINITION_NODE_TYPE
public DefaultDefinitionFactory()
public DefaultDefinition 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.