jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Unger Richard <run...@camino.at>
Subject AW: [RootRoleImpl]
Date Fri, 08 Nov 2002 15:01:40 GMT

This is exactly what I have been working on. The new code is almost ready
for CVS.

Basically what I have implemented is a new Helper interface, the
SlideUserDatabase, which provides an API for creating, loading, saving and
deleting slide users, groups and roles.

In implementing this I have had to make some fairly deep changes. Roles are
no longer stored 'as the class' but in the class. The different Node classes
for the slide structure now represent the node type, for example SubjectNode
for users, GroupNode for groups, LinkNode for links, etc. All Nodes inherit
from ObjectNode, which implements the RoleContainer interface. ObjectNode
itself contains only the NOBODY role, and does not permit adding roles or
changing the role. Other node types can override the RoleContainer methods
to allow multiple roles and changing the roles, as SubjectNode (for users)

Depending on your needs, the new system would allow you to use the
SlideUserDatabase API to modify the roles of a user or group, or the
RoleContainer system to create a new node type with special roles.

I will post the new code to this list early next week, if that is soon


> -----Urspr√ľngliche Nachricht-----
> Von: Emmanuel GIRARD [mailto:egirard@axemble.com]
> Gesendet: Freitag, 08. November 2002 09:33
> An: Slide-Dev@Jakarta. Apache. Org (E-mail)
> Betreff: [RootRoleImpl]
> Hello
> I would like to add Root Role to slide user's with Slide API ?
> It is possible ?
> Thank's in advance
> ___________________________________________________________________
> Emmanuel GIRARD --- mailto:egirard@axemble.com
> TEL : +33 (0) --- FAX : +33 (0)
> AXEMBLE for Corporate Departments --- http://www.axemble.com
> ___________________________________________________________________
> --
> To unsubscribe, e-mail:   
> <mailto:slide-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:slide-dev-help@jakarta.apache.org>

To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>

View raw message