Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] MembershipHooks high vs not high level hooks

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] MembershipHooks high vs not high level hooks


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Colin Hudler <>, "" <>
  • Subject: RE: [grouper-dev] MembershipHooks high vs not high level hooks
  • Date: Wed, 24 Jun 2009 16:55:20 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

Ok, so if you call group.addMember, then the membership high level hook will
fire. If a membership is added due to a group create (add the creator to the
admin list, note, this is NOT indirect), then that is not the high level
membership add hook... make sense?

> If I do want to hook side effects, should I use the Pre/Post Insert
> hooks?

Yes.


> -----Original Message-----
> From: Colin Hudler
> [mailto:]
> Sent: Wednesday, June 24, 2009 4:49 PM
> To:
>
> Subject: [grouper-dev] MembershipHooks high vs not high level hooks
>
> (feel free to bounce this to -users if it is off base on -dev)
>
> In javadoc, many of the hooks have notes
>
> "called right after .* (high level, not the side effects)"
>
> What are side effects? Am I right in thinking it is the indirect
> membership changes?
>
> If I do want to hook side effects, should I use the Pre/Post Insert
> hooks?





Archive powered by MHonArc 2.6.16.

Top of Page