From graffito-dev-return-579-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Thu Oct 06 05:33:02 2005 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 62366 invoked from network); 6 Oct 2005 05:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2005 05:33:01 -0000 Received: (qmail 26229 invoked by uid 500); 6 Oct 2005 05:33:00 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 26218 invoked by uid 99); 6 Oct 2005 05:33:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 22:33:00 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of christophe.lombart@gmail.com designates 64.233.182.204 as permitted sender) Received: from [64.233.182.204] (HELO nproxy.gmail.com) (64.233.182.204) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 22:33:04 -0700 Received: by nproxy.gmail.com with SMTP id l37so118099nfc for ; Wed, 05 Oct 2005 22:32:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=DplNLx0L9/rTC1kTGLyFxdqVe7xjgMyaxr+3DbNRv+3nWNpTqSxHYfnHWIZrJ4qmE21JAjqcWair02fyfMlQQ/oV31XybfkOw++xy9lQuNrLLbDulYH7ML45TVo3BGZYDX7D+Od8fcKj1EbOXx84T4TQdrHcWb/YhWFdpuQo5ek= Received: by 10.48.226.10 with SMTP id y10mr80636nfg; Wed, 05 Oct 2005 22:32:38 -0700 (PDT) Received: by 10.48.157.5 with HTTP; Wed, 5 Oct 2005 22:32:38 -0700 (PDT) Message-ID: <3b728ee90510052232p240b88abka5d425018a005f9b@mail.gmail.com> Date: Thu, 6 Oct 2005 07:32:38 +0200 From: Christophe Lombart Reply-To: Christophe Lombart To: graffito-dev@incubator.apache.org Subject: Re: Link In-Reply-To: <43444213.4080408@bluesunrise.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36812_2553888.1128576758831" References: <722730264.20051004170759@gmail.com> <43430193.9030006@bluesunrise.com> <3b728ee90510050131t5cc9ac73ga8c2a0ea99539155@mail.gmail.com> <43444213.4080408@bluesunrise.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_36812_2553888.1128576758831 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/5/05, David Sean Taylor 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. ------=_Part_36812_2553888.1128576758831--