Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by WolfgangKaltz: http://wiki.apache.org/lenya/ProposalDocumentCreationAPI ------------------------------------------------------------------------------ The current situation of the API is documented (in part) in form of the class diagram and sequence diagram below. - == Changes planned == + = Changes planned = * (Andreas Hartmann) Every publication should have a site manager, we should probably provide a {{{FreeSiteManager}}} or something like that which does not store any structural information. * Once we have that the parameter {{{useSiteManager}}} of {{{DocumentManager.add()}}} can be removed - * (Andreas Hartmann) there should be a {{{DocumentManager.add(document, documentType)}}} + * (Andreas Hartmann) there should be a {{{DocumentManager.add(document, documentType)}}} and a {{{DocumentManager.add(document, documentType, sourceDocument)}}} where the second one clones a source document. IMO the sample location should + not be exposed by the Creator interface, since it is an implementation detail. - == Current situation == + = Current situation = This section attempts to document the current situation. See class diagram and sequence diagram. Some additional notes: * The mechanism where {{{DocumentIdentityMap}}} creates a {{{Document}}} instance when {{{get()}}} is called on a (new) id is not yet well documented - === Class diagram === + == Class diagram == attachment:documents.jpg - === Sequence diagram === + == Sequence diagram == attachment:documents-sequence.jpg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
