Package org.alfresco.repo.blog
Class BlogPostInfoImpl
- java.lang.Object
-
- org.alfresco.repo.blog.BlogPostInfoImpl
-
- All Implemented Interfaces:
Serializable,PermissionCheckValue,BlogPostInfo
public class BlogPostInfoImpl extends Object implements BlogPostInfo
An implementation of aBlogPostInfo- Since:
- 4.0
- Author:
- Nick Burch (based on the existing webscript conrollers in the REST API)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlogPostInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, String systemName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefgetContainerNodeRef()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Gets the NodeRef representing this blog-post.StringgetSystemName()Gets thecm:nameof the blog post.StringgetTitle()voidsetTitle(String title)Set the Title of the blog post.
-
-
-
Constructor Detail
-
BlogPostInfoImpl
public BlogPostInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, String systemName)
-
-
Method Detail
-
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Gets the NodeRef representing this blog-post.- Specified by:
getNodeRefin interfaceBlogPostInfo- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- the underlying value to filter
-
getContainerNodeRef
public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
- Specified by:
getContainerNodeRefin interfaceBlogPostInfo- Returns:
- the NodeRef of the container this belongs to (Site or Otherwise)
-
getSystemName
public String getSystemName()
Gets thecm:nameof the blog post.- Specified by:
getSystemNamein interfaceBlogPostInfo- Returns:
- String
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceBlogPostInfo- Returns:
- the Title of the blog post.
-
setTitle
public void setTitle(String title)
Set the Title of the blog post.- Specified by:
setTitlein interfaceBlogPostInfo
-
-