public class JCRPostFactory extends DefaultAmetysObjectFactory
AmetysObjectFactory for handling JCRPosts.| Modifier and Type | Field and Description | 
|---|---|
static String | 
POST_NODENAME
JCR node name for posts 
 | 
static String | 
POST_NODETYPE
JCR nodetype for posts 
 | 
_ametysFactoryExtensionPoint, _manager, _nodetype, _repository, _resolver, _scheme| Constructor and Description | 
|---|
JCRPostFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
JCRPost | 
getAmetysObject(Node node,
               String parentPath)
Creates a  
AmetysObject from a persistent JCR node. | 
getCurrentUser, getWorkspaceNode, serviceconfigure, getAmetysObjectById, getAmetysObjectById, getNode, getNodetypes, getParent, getScheme, hasAmetysObjectForIdenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String POST_NODETYPE
public static final String POST_NODENAME
public JCRPostFactory()
public JCRPost getAmetysObject(Node node, String parentPath) throws AmetysRepositoryException
JCRAmetysObjectFactoryAmetysObject from a persistent JCR node.getAmetysObject in interface JCRAmetysObjectFactory<SimpleAmetysObject>getAmetysObject in class DefaultAmetysObjectFactorynode - 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.