On 10/5/05, David Sean Taylor <[EMAIL PROTECTED]> 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.

Reply via email to