public class

IdBlogPostLocator

extends AbstractSingleEntityLocator
implements BlogPostLocator
java.lang.Object
   ↳ com.atlassian.confluence.core.service.AbstractSingleEntityLocator
     ↳ com.atlassian.confluence.content.service.blogpost.IdBlogPostLocator

Class Overview

A blog post locator that uses the blog post Id to find a blog post

Summary

Public Constructors
IdBlogPostLocator(PageManager pageManager, long pageId)
Public Methods
BlogPost getBlogPost()
ConfluenceEntityObject getEntity()
Get the entities that matches the query represented by this locator.
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.service.AbstractSingleEntityLocator
From class java.lang.Object
From interface com.atlassian.confluence.content.service.blogpost.BlogPostLocator
From interface com.atlassian.confluence.core.service.EntityLocator
From interface com.atlassian.confluence.core.service.SingleEntityLocator

Public Constructors

public IdBlogPostLocator (PageManager pageManager, long pageId)

Public Methods

public BlogPost getBlogPost ()

public ConfluenceEntityObject getEntity ()

Get the entities that matches the query represented by this locator. If no entities match the query, this method will return null.

Returns
  • the entity matching the locator's query, or null if no such object is found.