> - what if, when using CMP, the user wants to specify role permissions
for
> findByPrimaryKey?  The only way to do this currently would be to add
an
> @ejb:finder for it, but the home templates then end up adding the
method
> twice...  perhaps the first inclusion needs something
> (ifDoesntHaveClassTag
> or ifClassTagValueNotEquals, maybe?) so that it doesn't add it if
there's
> an
> @ejb:finder for findByPrimaryKey?

You can't! Perhaps the best solution is to add a find-by-pk-role-name
param to class level ejb:permission? Adding the findbypk method to a CMP
bean is incorrect.

> - there's still stuff in there to translate return type of Collection
to
> java.util.Collection; the docs say "The return type in the signature
must
> be
> fully qualified.", so is this still needed or should it be removed?
> - less important, but if that translation is (or will be) useable,
then
> why
> only for Collections?  Legacy code is more likely to be using
Enumerations
> instead (and mine, since the generic finders in Toplink's base class
> return
> Enumerations :-( )

Agree. Collection/Set/Enumeration/Object.

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to