com.atlassian.confluence.ui.rest.content
Class ContentResource

java.lang.Object
  extended by com.atlassian.confluence.ui.rest.content.ContentResource

public class ContentResource
extends Object


Constructor Summary
ContentResource(com.atlassian.confluence.api.service.content.ContentService contentService)
           
 
Method Summary
 javax.ws.rs.core.Response getBody(Long contentId, String representation)
           
 javax.ws.rs.core.Response getContent(Long contentId, String expand)
           
 javax.ws.rs.core.Response getLabels(Long contentId, List<String> prefixes)
           
 javax.ws.rs.core.Response getNextContent(Long contentId, String expand)
           
 javax.ws.rs.core.Response getPreviousContent(Long contentId, String expand)
           
 javax.ws.rs.core.Response getSubContent(Long contentId, String subContentType, boolean threaded, int start, int max, String expand)
           
 javax.ws.rs.core.Response updateBody(Long contentId, String representation, com.atlassian.confluence.api.model.content.ContentBody body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentResource

public ContentResource(com.atlassian.confluence.api.service.content.ContentService contentService)
Method Detail

getContent

public javax.ws.rs.core.Response getContent(Long contentId,
                                            String expand)

getPreviousContent

public javax.ws.rs.core.Response getPreviousContent(Long contentId,
                                                    String expand)

getNextContent

public javax.ws.rs.core.Response getNextContent(Long contentId,
                                                String expand)

getSubContent

public javax.ws.rs.core.Response getSubContent(Long contentId,
                                               String subContentType,
                                               boolean threaded,
                                               int start,
                                               int max,
                                               String expand)

getBody

public javax.ws.rs.core.Response getBody(Long contentId,
                                         String representation)

updateBody

public javax.ws.rs.core.Response updateBody(Long contentId,
                                            String representation,
                                            com.atlassian.confluence.api.model.content.ContentBody body)

getLabels

public javax.ws.rs.core.Response getLabels(Long contentId,
                                           List<String> prefixes)


Copyright © 2003-2013 Atlassian. All Rights Reserved.