org.alfresco.repo.web.scripts.blogs
Class BlogPostLibJs

java.lang.Object
  extended by 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

Constructor Summary
BlogPostLibJs()
           
 
Method Summary
static java.util.Map 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogPostLibJs

public BlogPostLibJs()
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 getBlogPostData(org.alfresco.service.cmr.repository.NodeRef node,
                                            org.alfresco.service.ServiceRegistry services)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.