Class LegacyContentResource
- java.lang.Object
-
- com.atlassian.confluence.ui.rest.content.LegacyContentResource
-
@Deprecated public class LegacyContentResource extends Object
Deprecated.since 5.10. Use the official REST API that lives in confluence-rest-resources.
-
-
Constructor Summary
Constructors Constructor Description LegacyContentResource(ContentService contentService)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.ResponseaddLabels(Long contentId, List<Label> labels)Deprecated.javax.ws.rs.core.ResponsedeleteLabel(Long contentId, Long labelId)Deprecated.javax.ws.rs.core.ResponsegetBody(Long contentId, String representation)Deprecated.javax.ws.rs.core.ResponsegetContent(Long contentId, String expand)Deprecated.javax.ws.rs.core.ResponsegetLabels(Long contentId, List<String> prefixes)Deprecated.javax.ws.rs.core.ResponsegetNextContent(Long contentId, String expand)Deprecated.javax.ws.rs.core.ResponsegetPreviousContent(Long contentId, String expand)Deprecated.javax.ws.rs.core.ResponsegetSubContent(Long contentId, String subContentType, boolean threaded, int start, int max, String expand)Deprecated.javax.ws.rs.core.ResponseupdateBody(Long contentId, String representation, ContentBody body)Deprecated.javax.ws.rs.core.ResponsevalidateLabels(List<Label> labels)Deprecated.
-
-
-
Constructor Detail
-
LegacyContentResource
public LegacyContentResource(ContentService contentService)
Deprecated.
-
-
Method Detail
-
getPreviousContent
public javax.ws.rs.core.Response getPreviousContent(Long contentId, String expand)
Deprecated.
-
getNextContent
public javax.ws.rs.core.Response getNextContent(Long contentId, String expand)
Deprecated.
-
getSubContent
public javax.ws.rs.core.Response getSubContent(Long contentId, String subContentType, boolean threaded, int start, int max, String expand)
Deprecated.
-
getBody
public javax.ws.rs.core.Response getBody(Long contentId, String representation)
Deprecated.
-
updateBody
public javax.ws.rs.core.Response updateBody(Long contentId, String representation, ContentBody body)
Deprecated.
-
getLabels
public javax.ws.rs.core.Response getLabels(Long contentId, List<String> prefixes)
Deprecated.
-
addLabels
public javax.ws.rs.core.Response addLabels(Long contentId, List<Label> labels)
Deprecated.
-
-