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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked Thursday in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

186 views 5 7
View question

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