[Mondrian] Roles with lots of Members

Julian Hyde julianhyde at speakeasy.net
Thu Mar 29 03:53:28 EDT 2007


> Concerning a Role SPI, are you suggesting having a
> Role interface and the existing Role class becomes the
> default implementation?
> I'd be interested in having a Role interface so that I
> could roll my oun Role.

Since Role is widely used, I would convert Role into an interface
containing only the 'getAccess' methods (i.e. read-only access) and move
the implementation methods into a RoleImpl class. Then you could write
your own implementation of Role.

Probably some helper classes, e.g. AbstractRole, DelegatingRole, would
be useful too.

> roll my oun Role.

Tres drole.

Julian




More information about the Mondrian mailing list