Class IdContentLocator

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

public class IdContentLocator extends AbstractSingleEntityLocator
  • Constructor Details

    • IdContentLocator

      public IdContentLocator(ContentEntityManager contentEntityManager, long contentId)
  • Method Details

    • 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()