incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: Link
Date Wed, 05 Oct 2005 21:13:55 GMT
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.
Links are not Content, they are CmsObject



-- 
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194

Mime
View raw message