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)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.