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 Join to comment
Community showcase
Bridget Sauer
Published Jan 29, 2018 in Confluence

Showcase: How LinkedIn does Content Lifecycle Management (12 Steps)

LinkedIn, the world's largest business network has an exceptionally large Confluence instance. In their case, large means millions of pages and thousands of spaces. In this Showcase, we're focusing i...

921 views 0 12
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot