I'd say whatever entity is managing both the articles and the comments (the "BlogContentManager") would be responsible for removing comments associated with deleted articles. I wouldn't think it should be the ArticleDAO's responsibility to remove comments.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Patrick McElhaney > Sent: Tuesday, January 11, 2005 2:22 PM > To: [email protected] > Subject: Re: [CFCDev] Newbie approach to Composite Entity pattern. > > Here's a question for those of you who think articles and comments > should be dealt with separately. What happens to the comments when an > article is deleted? > > -- > Patrick McElhaney > 704.560.9117 > http://pmcelhaney.blogspot.com > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at www.mail- > archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
