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 the ContentLocatorBuilder to ensure you end up with something that the ContentService can actually use.
  • Method Details

    • builder

      public static ContentLocatorBuilder builder()
    • getTitle

      public String getTitle()
    • getSpaceKey

      public String getSpaceKey()
    • getPostingDate

      public LocalDate getPostingDate()
      Since:
      8.6
    • getContentTypes

      public ContentType[] getContentTypes()
    • isForContent

      public boolean isForContent(ContentType contentType)