incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Lombart <christophe.lomb...@gmail.com>
Subject Re: Link
Date Thu, 06 Oct 2005 05:32:38 GMT
On 10/5/05, David Sean Taylor <david@bluesunrise.com> wrote:
>
> Christophe Lombart wrote:
> > David,
> >
> > Here is the model :
> http://incubator.apache.org/graffito/class-diagrams.html
> > Link extends CmsObject by this way, you can create links on folder,
> content,
> > ...
> >
> > The contentModelService manages links.
>
> But, Folder has a collection of Contents
>
> public List getContents();
>
> The javadocs don't explicity say what kind of obects are returned from
> getContents();
>
> /**
> * Get the folder contents.
> * @return a List of content which are located into this folder.
> */
>
> But since you use the word "content" i was assuming it was Content.



Content can be binaries associated to a content type (the interface is
Document : see the dm pck).
But Content will later other descendant like news, article, post in a forum
app, ...
Thoses content are not aossociated to a binary content but more to severals
fields like paragraph, descritption, ...

Links are not Content, they are CmsObject


By this way, we can also link folders.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message