Class ContentLocator
- java.lang.Object
 - 
- com.atlassian.confluence.api.model.locator.ContentLocator
 
 
- 
public final class ContentLocator extends Object
Criteria for looking up a piece of content. You must construct these using theContentLocatorBuilderto ensure you end up with something that theContentServicecan actually use. 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentLocatorBuilderbuilder()ContentType[]getContentTypes()LocalDategetPostingDate()org.joda.time.LocalDategetPostingDay()Deprecated.since 8.6 usegetPostingDate()StringgetSpaceKey()StringgetTitle()booleanisForContent(ContentType contentType) 
 - 
 
- 
- 
Method Detail
- 
builder
public static ContentLocatorBuilder builder()
 
- 
getTitle
public String getTitle()
 
- 
getSpaceKey
public String getSpaceKey()
 
- 
getPostingDate
public LocalDate getPostingDate()
- Since:
 - 8.6
 
 
- 
getPostingDay
@Deprecated public org.joda.time.LocalDate getPostingDay()
Deprecated.since 8.6 usegetPostingDate() 
- 
getContentTypes
public ContentType[] getContentTypes()
 
- 
isForContent
public boolean isForContent(ContentType contentType)
 
 - 
 
 -