You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/13 13:24:54 UTC

[Lenya Wiki] Update of "DocumentCreationAPI" by AndreasHartmann

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 AndreasHartmann:
http://wiki.apache.org/lenya/DocumentCreationAPI

------------------------------------------------------------------------------
  == Changes planned ==
  
   * move actual document creation from usecases to {{{DocumentManager.add()}}}
-  * consequently, {{{DocumentManager.add()}}} would no longer access the {{{SiteManager}}}, this would be the responsibility of the usecase. (This is necessary because not all publications need have a {{{SiteManager}}}  -> see blog)
+  * consequently, {{{DocumentManager.add()}}} would no longer access the {{{SiteManager}}}, this would be the responsibility of the usecase. (This is necessary because not all publications need have a {{{SiteManager}}}  -> see blog) ''AndreasHartmann:'' I disagree. Every publication has to have a site manager, we should probably provide a {{{FreeSiteManager}}} or something like that which does not store any structural information.
   * {{{DocumentManager.add()}}} is extended to take all necessary parameters for document creation, that is:
     * (TODO: complete)
     * Lenya internal meta-data, such as "resource type". Other meta-data is optional and thus not passed to {{{DocumentManager.add()}}}, it is the responsibility of the individual usecase.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org