On Fri, Jul 20, 2007 at 06:06:42PM -0400, Richard Rodgers wrote:
> What behavior do you want when (one of) the parents is deleted?
> Normally DSpace deletes everything below a community (sub-communities,
> collections, etc) I assume you would want any sub-community that has
> more than one parent to *not* be deleted. Is this true with your
> modified code?

Even though it's not officially supported to have communities with
multiple parents, Community.removeSubcommunity() does check to make sure
that the child node is orphaned before deleting it.

cheers,

Jim

-- 
James Rutherford          |  Hewlett-Packard Limited registered Office:
Research Engineer         |  Cain Road,
HP Labs                   |  Bracknell,
Bristol, UK               |  Berks
+44 117 312 7066          |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as "HP CONFIDENTIAL".

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to