Class BlogPostLibJs
- java.lang.Object
-
- org.alfresco.repo.web.scripts.blogs.BlogPostLibJs
-
public class BlogPostLibJs extends java.lang.Object
This class is a port of a previous JavaScript library.- Since:
- 4.0
- Author:
- Neil Mc Erlean (based on previous JavaScript)
-
-
Constructor Summary
Constructors Constructor Description BlogPostLibJs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
getBlogPostData(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.ServiceRegistry services)
static boolean
hasExternalBlogConfiguration(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.ServiceRegistry services)
Checks whether a blog configuration is available This should at some point also check whether the configuration is enabled.
-
-
-
Method Detail
-
hasExternalBlogConfiguration
public static boolean hasExternalBlogConfiguration(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.ServiceRegistry services)
Checks whether a blog configuration is available This should at some point also check whether the configuration is enabled.- Parameters:
node
- the node that should be checked. Will check all parents if the node itself doesn't contain a configuration.- Returns:
- {boolean} whether a configuration could be found.
-
getBlogPostData
public static java.util.Map<java.lang.String,java.lang.Object> getBlogPostData(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.ServiceRegistry services)
-
-