Class BlogPostLibJs
java.lang.Object
org.alfresco.repo.web.scripts.blogs.BlogPostLibJs
This class is a port of a previous JavaScript library.
- Since:
- 4.0
- Author:
- Neil Mc Erlean (based on previous JavaScript)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlogPostData
(NodeRef node, ServiceRegistry services) static boolean
hasExternalBlogConfiguration
(NodeRef node, ServiceRegistry services) Checks whether a blog configuration is available This should at some point also check whether the configuration is enabled.
-
Constructor Details
-
BlogPostLibJs
public BlogPostLibJs()
-
-
Method Details
-
hasExternalBlogConfiguration
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
-