Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ContentService vs ContentEntityManager

Daniel Sák July 19, 2018

Hi,

What are the pros and cons using ContentService vs ContentEntityManager (including subclasses of ContentService or ContentEntityManager)? It seems like both can do the same, but they do it differently. One example:

Getting pages

  • ContentService using builder pattern to create filter and then using a kind of pagination for getting the result
  • ContentEntityManager using getter methods

Similar approach can be seen in creating pages.

I try to find some info on topic ContentService vs ContentEntityManager. I only find that the service classes are used in REST api, or that the managers are used for interaction with confluence, but nothing that could be taken as comparison of these classes.

Can someone shed some light on this topic?

NOTE: Some time ago I posted question with an answer suggesting to use ContentService instead of ContentEntityManager when managing content of Confluence. I replied to that answer why is that, but unfortunately no one responded. So I am creating new question hoping someone would answer this.

Thanks for answers/help!

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
July 20, 2018

Hey Sancho,

With dev question, you will get better results at https://community.developer.atlassian.com

Daniel Sák July 23, 2018

Hi Aron,

Thanks for the tip!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events