Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

494 views 24 9
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