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 Summary
Constructors Constructor Description IdContentLocator(ContentEntityManager contentEntityManager, long contentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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()
-
-