Package org.alfresco.repo.blog
Class BlogDetails
java.lang.Object
org.alfresco.repo.blog.BlogDetails
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionBlogDetails(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
Modifier and TypeMethodDescriptionstatic BlogDetailscreateBlogDetails(NodeService nodeService, NodeRef nodeRef) Create a BlogDetails object from a node that has the blogDetails aspect applied.Get the blog idGet the descriptionGet the implementation namegetName()Get the nameGets the node referenceGet the passwordgetUrl()Get the blog URLGet the user name
-
Constructor Details
-
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 Details
-
createBlogDetails
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
Gets the node reference- Returns:
- NodeRef the node reference
-
getImplementationName
Get the implementation name- Returns:
- String the implementation name
-
getBlogId
Get the blog id- Returns:
- String the blog id
-
getUrl
Get the blog URL- Returns:
- String the blog URL
-
getUserName
Get the user name- Returns:
- String the user name
-
getPassword
Get the password- Returns:
- String the password
-
getName
Get the name- Returns:
- String the name
-
getDescription
Get the description- Returns:
- String the description
-