org.alfresco.repo.blog
Class BlogDetails

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

public class BlogDetails
extends java.lang.Object
implements BlogIntegrationModel

Blog details. Contains the detail of a blog.


Field Summary
 
Fields inherited from interface org.alfresco.model.BlogIntegrationModel
ASPECT_BLOG_DETAILS, ASPECT_BLOG_POST, ASSOC_BLOG_DETAILS, MODEL_PREFIX, MODEL_URL, PROP_BLOG_IMPLEMENTATION, PROP_DESCRIPTION, PROP_ID, PROP_LAST_UPDATE, PROP_LINK, PROP_NAME, PROP_PASSWORD, PROP_POST_ID, PROP_POSTED, PROP_PUBLISHED, PROP_URL, PROP_USER_NAME
 
Constructor Summary
BlogDetails(java.lang.String implementationName, java.lang.String blogId, java.lang.String url, java.lang.String userName, java.lang.String password, java.lang.String name, java.lang.String description)
          Constructor
BlogDetails(java.lang.String implementationName, java.lang.String blogId, java.lang.String url, java.lang.String userName, java.lang.String password, java.lang.String name, java.lang.String description, org.alfresco.service.cmr.repository.NodeRef nodeRef)
          Constructor
 
Method Summary
static BlogDetails createBlogDetails(org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.repository.NodeRef nodeRef)
          Create a BlogDetails object from a node that has the blogDetails aspect applied.
 java.lang.String getBlogId()
          Get the blog id
 java.lang.String getDescription()
          Get the description
 java.lang.String getImplementationName()
          Get the implementation name
 java.lang.String getName()
          Get the name
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Gets the node reference
 java.lang.String getPassword()
          Get the password
 java.lang.String getUrl()
          Get the blog URL
 java.lang.String getUserName()
          Get the user name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogDetails

public BlogDetails(java.lang.String implementationName,
                   java.lang.String blogId,
                   java.lang.String url,
                   java.lang.String userName,
                   java.lang.String password,
                   java.lang.String name,
                   java.lang.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(java.lang.String implementationName,
                   java.lang.String blogId,
                   java.lang.String url,
                   java.lang.String userName,
                   java.lang.String password,
                   java.lang.String name,
                   java.lang.String description,
                   org.alfresco.service.cmr.repository.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 Detail

createBlogDetails

public static BlogDetails createBlogDetails(org.alfresco.service.cmr.repository.NodeService nodeService,
                                            org.alfresco.service.cmr.repository.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 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Gets the node reference

Returns:
NodeRef the node reference

getImplementationName

public java.lang.String getImplementationName()
Get the implementation name

Returns:
String the implementation name

getBlogId

public java.lang.String getBlogId()
Get the blog id

Returns:
String the blog id

getUrl

public java.lang.String getUrl()
Get the blog URL

Returns:
String the blog URL

getUserName

public java.lang.String getUserName()
Get the user name

Returns:
String the user name

getPassword

public java.lang.String getPassword()
Get the password

Returns:
String the password

getName

public java.lang.String getName()
Get the name

Returns:
String the name

getDescription

public java.lang.String getDescription()
Get the description

Returns:
String the description


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