Class LegacyContentResource


  • @Deprecated
    public class LegacyContentResource
    extends Object
    Deprecated.
    since 5.10. Use the official REST API that lives in confluence-rest-resources.
    • Constructor Detail

      • LegacyContentResource

        public LegacyContentResource​(ContentService contentService)
        Deprecated.
    • Method Detail

      • getContent

        public javax.ws.rs.core.Response getContent​(Long contentId,
                                                    String expand)
        Deprecated.
      • 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.
      • deleteLabel

        public javax.ws.rs.core.Response deleteLabel​(Long contentId,
                                                     Long labelId)
        Deprecated.
      • validateLabels

        public javax.ws.rs.core.Response validateLabels​(List<Label> labels)
        Deprecated.