Class BlogDetails

java.lang.Object
org.alfresco.repo.blog.BlogDetails
All Implemented Interfaces:
BlogIntegrationModel

public class BlogDetails extends Object implements BlogIntegrationModel
Blog details. Contains the detail of a blog.
Author:
Roy Wetherall
  • Constructor Details

    • BlogDetails

      public BlogDetails(String implementationName, String blogId, String url, String userName, String password, String name, String description)
      Constructor
      Parameters:
      implementationName - the implementation name
      blogId - the blog id
      url - the blog URL
      userName - the user name
      password - the password
      name - the name
      description - the description
    • BlogDetails

      public BlogDetails(String implementationName, String blogId, String url, String userName, String password, String name, String description, NodeRef nodeRef)
      Constructor
      Parameters:
      implementationName - the implementation name
      blogId - the blog id
      url - the blog URL
      userName - the user name
      password - the password
      name - the name
      description - the description
      nodeRef - the node reference
  • Method Details

    • createBlogDetails

      public static BlogDetails createBlogDetails(NodeService nodeService, NodeRef nodeRef)
      Create a BlogDetails object from a node that has the blogDetails aspect applied.
      Parameters:
      nodeService - the node service
      nodeRef - the node reference
      Returns:
      BlogDetails the blog details
    • getNodeRef

      public NodeRef getNodeRef()
      Gets the node reference
      Returns:
      NodeRef the node reference
    • getImplementationName

      public String getImplementationName()
      Get the implementation name
      Returns:
      String the implementation name
    • getBlogId

      public String getBlogId()
      Get the blog id
      Returns:
      String the blog id
    • getUrl

      public String getUrl()
      Get the blog URL
      Returns:
      String the blog URL
    • getUserName

      public String getUserName()
      Get the user name
      Returns:
      String the user name
    • getPassword

      public String getPassword()
      Get the password
      Returns:
      String the password
    • getName

      public String getName()
      Get the name
      Returns:
      String the name
    • getDescription

      public String getDescription()
      Get the description
      Returns:
      String the description