grouper-users - Re: [grouper-users] Recursive stem delete?
Subject: Grouper Users - Open Discussion List
List archive
- From: "Tom Zeller" <>
- To:
- Cc: "Grouper Users Mailing List" <>
- Subject: Re: [grouper-users] Recursive stem delete?
- Date: Wed, 19 Nov 2008 11:29:49 -0600
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=hV9qY+hroqHm+8p+rIGD30fa3YEk/HF/v+AD4Bc2F6htoKecAmmvIn6ac752bpxTWU WNEo+tJupNih1sKYFSxSHMXUW+LlNzLukHKFhAX5LbAKVa2jOWaw3s40ftxI4ANfVE8q EndwS5kliJvOs551YYm4tt5Oe2eYribhW8fHU=
Since the Grouper 1.2.1 API, perhaps :
for(Group child : stem.getChildGroups(Scope.SUB)) {
child.delete();
}
for(Stem child : stem.getChildStems(Scope.SUB)) {
child.delete();
}
I'm not sure about web services or the UI.
TomZ
On Wed, Nov 19, 2008 at 8:31 AM, Dr. Loris Bennett <> wrote:
Hi,
What would be the easiest way to delete a stem recursively? That is, I'd
like to specify a stem and have everything below it deleted.
Regards
Loris
--
Dr. Loris Bennett (Mr.)
Freie Universität Berlin
Zentraleinrichtung für Datenverarbeitung / Computer Center
ZEDAT
Compute & Media Service
Fabeckstr. 32, Room 221
D-14195 Berlin
Tel ++49 30 838 51024
Fax ++49 30 838 56721
Web www.zedat.fu-berlin.de
- Recursive stem delete?, Dr. Loris Bennett, 11/19/2008
- Re: [grouper-users] Recursive stem delete?, Tom Zeller, 11/19/2008
- Re: [grouper-users] Recursive stem delete?, Colin Hudler, 11/19/2008
- RE: [grouper-users] Recursive stem delete?, Chris Hyzer, 11/19/2008
- Re: [grouper-users] Recursive stem delete?, Tom Zeller, 11/19/2008
- RE: [grouper-users] Recursive stem delete?, Chris Hyzer, 11/19/2008
- Re: [grouper-users] Recursive stem delete?, Colin Hudler, 11/19/2008
- Re: [grouper-users] Recursive stem delete?, Tom Zeller, 11/19/2008
Archive powered by MHonArc 2.6.16.