com.atlassian.confluence.legacyapi.model.content
Class Content

java.lang.Object
  extended by com.atlassian.confluence.legacyapi.model.content.Content

public class Content
extends java.lang.Object

Represents all the different kinds of content that can be housed in Confluence: pages, blog posts, comments and so on.


Constructor Summary
Content(java.lang.Long id, com.atlassian.fugue.Option<SpaceSummary> space, ContentType type, java.lang.String title, java.lang.String webUrlPath, com.atlassian.fugue.Option<java.lang.String> tinyUrlPath, HistorySummary history, java.lang.Iterable<ContentLink> ancestors, java.util.Map<ContentRepresentation,ContentBody> body, java.util.Map<Permission,java.lang.Boolean> permissions)
           
 
Method Summary
 java.util.List<ContentLink> getAncestors()
           
 java.util.Map<ContentRepresentation,ContentBody> getBody()
           
 HistorySummary getHistory()
           
 java.lang.String getId()
           
 java.util.Map<Permission,java.lang.Boolean> getPermissions()
           
 com.atlassian.fugue.Option<SpaceSummary> getSpace()
           
 com.atlassian.fugue.Option<java.lang.String> getTinyUrlPath()
           
 java.lang.String getTitle()
           
 ContentType getType()
           
 java.lang.String getWebUrlPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content(java.lang.Long id,
               com.atlassian.fugue.Option<SpaceSummary> space,
               ContentType type,
               java.lang.String title,
               java.lang.String webUrlPath,
               com.atlassian.fugue.Option<java.lang.String> tinyUrlPath,
               HistorySummary history,
               java.lang.Iterable<ContentLink> ancestors,
               java.util.Map<ContentRepresentation,ContentBody> body,
               java.util.Map<Permission,java.lang.Boolean> permissions)
Method Detail

getId

public java.lang.String getId()

getType

public ContentType getType()

getTitle

public java.lang.String getTitle()

getWebUrlPath

public java.lang.String getWebUrlPath()

getTinyUrlPath

public com.atlassian.fugue.Option<java.lang.String> getTinyUrlPath()

getHistory

public HistorySummary getHistory()

getSpace

public com.atlassian.fugue.Option<SpaceSummary> getSpace()

getAncestors

public java.util.List<ContentLink> getAncestors()

getBody

public java.util.Map<ContentRepresentation,ContentBody> getBody()

getPermissions

public java.util.Map<Permission,java.lang.Boolean> getPermissions()


Copyright © 2003-2014 Atlassian. All Rights Reserved.