Package org.alfresco.repo.blog
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
-
-
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(String implementationName, String blogId, String url, String userName, String password, String name, String description)ConstructorBlogDetails(String implementationName, String blogId, String url, String userName, String password, String name, String description, NodeRef nodeRef)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BlogDetailscreateBlogDetails(NodeService nodeService, NodeRef nodeRef)Create a BlogDetails object from a node that has the blogDetails aspect applied.StringgetBlogId()Get the blog idStringgetDescription()Get the descriptionStringgetImplementationName()Get the implementation nameStringgetName()Get the nameNodeRefgetNodeRef()Gets the node referenceStringgetPassword()Get the passwordStringgetUrl()Get the blog URLStringgetUserName()Get the user name
-
-
-
Constructor Detail
-
BlogDetails
public BlogDetails(String implementationName, String blogId, String url, String userName, String password, String name, 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(String implementationName, String blogId, String url, String userName, String password, String name, String description, 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(NodeService nodeService, 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 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
-
-