[daisy] AccessManager interface question
Karel Vervaeke
karel at outerthought.org
Tue Apr 22 09:45:50 CEST 2008
Never mind, I always get confused using AccessManager:
Live and Staging refer to ACLs instead of to the similar concepts
WikiVersionMode and its relation to Document version states.
Anyway, the Javadoc is of course correct - Equivalent does not mean
identical.
Time to wake up Karel :)
On Tue, 2008-04-22 at 09:39 +0200, Karel Vervaeke wrote:
> While working with the AccessManager I spotted these lines:
>
> /**
> * Equivalent of {@link #getAclInfoOnLive(long, long[],
> org.outerj.daisy.repository.Document)}.
> */
> AclResultInfo getAclInfoOnStaging(long userId, long[] roleIds,
> Document document) throws RepositoryException;
>
>
> At first I thought it may have been a copy-paste error and that this
> method should be equivalent to an overloaded version of
> getAclInfoOnStaging, but since the method signature is also identical,
> I'm unsure what it should. Anyway, AFAICS the implementations are not
> identical, so the methods are probably not identical.
>
> Can you shed some light, Bruno?
>
> Regards,
> Karel
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list