Difference between Managers and Services in Confluence API

Working with Confluence API in some add-ons I've noticed that some functions available from "managers" and some from "services".
For example:
CommentService (https://docs.atlassian.com/confluence/6.3.4/com/atlassian/confluence/content/service/CommentService.html) and CommentManager (https://docs.atlassian.com/confluence/6.3.4/com/atlassian/confluence/pages/CommentManager.html)
LabelManager (https://docs.atlassian.com/confluence/6.3.4/com/atlassian/confluence/labels/LabelManager.html) and LabelsService (https://docs.atlassian.com/confluence/6.3.4/com/atlassian/confluence/labels/service/LabelsService.html)
and so on.
What is the point to divide API functions into managers and services? What is the main difference between them?

1 comment

Aleksandr Zuevich Community Champion Nov 21, 2017

Hi Domenico,

Nice to meet you here :)

In my opinion Services are high level while Managers are low level. Services in their implementation use Managers and their methods.

Thanks @Aleksandr Zuevich!

It will be great to hear some explanation from Atlassian team too :)

Comment

Log in or Sign up to comment
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

583 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you