Class ContentLocator
- java.lang.Object
-
- com.atlassian.confluence.api.model.locator.ContentLocator
-
@ExperimentalApi 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 Modifier and Type Method Description static ContentLocatorBuilder
builder()
ContentType[]
getContentTypes()
org.joda.time.LocalDate
getPostingDay()
String
getSpaceKey()
String
getTitle()
boolean
isForContent(ContentType contentType)
-
-
-
Method Detail
-
builder
public static ContentLocatorBuilder builder()
-
getTitle
public String getTitle()
-
getSpaceKey
public String getSpaceKey()
-
getPostingDay
public org.joda.time.LocalDate getPostingDay()
-
getContentTypes
public ContentType[] getContentTypes()
-
isForContent
public boolean isForContent(ContentType contentType)
-
-