J. Wolfgang Kaltz wrote:

Note that the document creation itself still uses java.io.File
But anyway as discussed we want to refactor document creation code, probably into DocumentManager.add() as you suggested

big +1

the publisher and creator classes are probably the two remaining warts in lenya trunk. the creator uses inheritance when it really should use composition, and other problems.

Maybe that method should also have metadata as parameters, to ensure (or at least suggest to callers) that metadata will always be created ? Currently blog entries do not have metadata.

lenya metadata is mandatory, but i suppose that does not need to be exposed to the caller.


Once that is done, we can start getting rid of DocumentTypeResolver and associates.

indeed

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to