It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accessing internal Confluence Tables / Data through Active Objects Entities

I have successfully set up a confluence server plugin exposing a custom AO-Entity through a servlet.

I basically want to access the "internal" confluence tables with AO-Entities, so i can build for example a many-to-one relationship between the logged in users and let's say a custom Note-Entity:

public interface Note extends Entity
{
    ...
    @OneToMany
    public User getUser() // is there a User-Entity class that directly relates to the internal confluence user-table (cwd_user)?  

 

I did a search and found those threads but they presented not a full answer (at least to me)

 

 

  • Are there "pre-defined" entities to access the confluence tables?
  • If not, what is the approach to connect custom entities with the internal?  

1 answer

1 accepted

1 vote
Answer accepted

You don't.  Active Object tables are there to be defined by your apps for use by your apps, so you can code for access to them in your app.

But the internal tables, such as cwd_user should be accessed via the internal Confluence API.  There's no AO duplication of them, you shouldn't need anything like that.

I see. Thank you very much.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

32 views 2 4
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you