com.atlassian.confluence.api.model.locator
Class ContentLocator

java.lang.Object
  extended by com.atlassian.confluence.api.model.locator.ContentLocator

@ExperimentalApi
public final class ContentLocator
extends java.lang.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 Summary
static ContentLocatorBuilder builder()
           
 ContentType[] getContentTypes()
           
 org.joda.time.LocalDate getPostingDay()
           
 java.lang.String getSpaceKey()
           
 java.lang.String getTitle()
           
 boolean isForContent(ContentType contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

builder

public static ContentLocatorBuilder builder()

getTitle

public java.lang.String getTitle()

getSpaceKey

public java.lang.String getSpaceKey()

getPostingDay

public org.joda.time.LocalDate getPostingDay()

getContentTypes

public ContentType[] getContentTypes()

isForContent

public boolean isForContent(ContentType contentType)


Copyright © 2003-2014 Atlassian. All Rights Reserved.