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 theContentLocatorBuilder
to ensure you end up with something that theContentService
can actually use.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentLocatorBuilder
builder()
ContentType[]
getContentTypes()
LocalDate
getPostingDate()
org.joda.time.LocalDate
getPostingDay()
Deprecated.since 8.6 usegetPostingDate()
String
getSpaceKey()
String
getTitle()
boolean
isForContent(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)
-
-