com.atlassian.confluence.content.service
Class IdContentLocator

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

public class IdContentLocator
extends AbstractSingleEntityLocator


Constructor Summary
IdContentLocator(ContentEntityManager contentEntityManager, long contentId)
           
 
Method Summary
 long getContentId()
           
 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
 

Constructor Detail

IdContentLocator

public IdContentLocator(ContentEntityManager contentEntityManager,
                        long contentId)
Method Detail

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.

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

getContentId

public long getContentId()


Copyright © 2003–2015 Atlassian. All rights reserved.