Package org.alfresco.repo.blog
Class BlogDetails
- java.lang.Object
-
- 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.- Author:
- Roy Wetherall
-
-
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
Constructors Constructor Description 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)ConstructorBlogDetails(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlogDetailscreateBlogDetails(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.StringgetBlogId()Get the blog idjava.lang.StringgetDescription()Get the descriptionjava.lang.StringgetImplementationName()Get the implementation namejava.lang.StringgetName()Get the nameorg.alfresco.service.cmr.repository.NodeRefgetNodeRef()Gets the node referencejava.lang.StringgetPassword()Get the passwordjava.lang.StringgetUrl()Get the blog URLjava.lang.StringgetUserName()Get the user name
-
-
-
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 nameblogId- the blog idurl- the blog URLuserName- the user namepassword- the passwordname- the namedescription- 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 nameblogId- the blog idurl- the blog URLuserName- the user namepassword- the passwordname- the namedescription- the descriptionnodeRef- 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 servicenodeRef- 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
-
-