com.atlassian.confluence.content.service.blogpost
Class IdBlogPostLocator

java.lang.Object
  extended by com.atlassian.confluence.core.service.AbstractSingleEntityLocator
      extended by com.atlassian.confluence.content.service.blogpost.IdBlogPostLocator
All Implemented Interfaces:
BlogPostLocator, EntityLocator, SingleEntityLocator

public class IdBlogPostLocator
extends AbstractSingleEntityLocator
implements BlogPostLocator

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


Constructor Summary
IdBlogPostLocator(PageManager pageManager, long pageId)
           
 
Method Summary
 BlogPost getBlogPost()
           
 ConfluenceEntityObject getEntity()
          Get the entities that matches the query represented by this locator.
 
Methods inherited from class com.atlassian.confluence.core.service.AbstractSingleEntityLocator
getEntities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.core.service.EntityLocator
getEntities
 

Constructor Detail

IdBlogPostLocator

public IdBlogPostLocator(PageManager pageManager,
                         long pageId)
Method Detail

getBlogPost

public BlogPost getBlogPost()
Specified by:
getBlogPost in interface BlogPostLocator

getEntity

public ConfluenceEntityObject getEntity()
Description copied from interface: SingleEntityLocator
Get the entities that matches the query represented by this locator. If no entities match the query, this method will return null.

Specified by:
getEntity in interface SingleEntityLocator
Returns:
the entity matching the locator's query, or null if no such object is found.


Copyright © 2003-2011 Atlassian. All Rights Reserved.