El sáb, 25-02-2006 a las 00:45 +0100, Michael Wechner escribió: > Thorsten Scherler wrote: > > >Hi all, > > > >I would like to extend the ResourceManager.java with following method: > >addResource(Document document, Part part, Map metaData, MetaData > >customMeta) throws... > > > >In the default implementation I want to add in this method that not only > >the metadata will add to the asset but as well to the MetaData that got > >passed into it. > > > > > > can you explain a bit more? Maybe give a real-world example?
Well, I am researching to extend lenya with a mediaType resource type. Above interface is responsible to add assets (resources) to lenya. If you add an asset then you add as well some meta data (e.g. height) regarding the asset. Now in the case of mediaType documents you need this information in the meta data of this doc. The now implemented code change allows to pass any metada to the ResourceManager and storing the asset information as well there. Still this is just one example where I do not understand the difference between resource and documents, because IMO both are just content and should use one interface! salu2 -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
