Class StemHooks
java.lang.Object
edu.internet2.middleware.grouper.hooks.StemHooks
- Direct Known Subclasses:
StemAttributeNameValidationHook,StemUniqueNameCaseInsensitiveHook,UniqueObjectStemHook
Extend this class and configure in grouper.properties for hooks on
stem related actions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringconstant for method name for: stemPostCommitDeletestatic final Stringconstant for method name for: stemPostCommitInsertstatic final Stringconstant for method name for: stemPostCommitUpdatestatic final Stringconstant for method name for: stemPostDeletestatic final Stringconstant for method name for: stemPostInsertstatic final Stringconstant for method name for: stemPostUpdatestatic final Stringconstant for method name for: stemPreDeletestatic final Stringconstant for method name for: stemPreInsertstatic final Stringconstant for method name for: stemPreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstemPostCommitDelete(HooksContext hooksContext, HooksStemBean postCommitDeleteBean) called right after a stem delete commitvoidstemPostCommitInsert(HooksContext hooksContext, HooksStemBean postCommitInsertBean) called right after a stem insert commitvoidstemPostCommitUpdate(HooksContext hooksContext, HooksStemBean postCommitUpdateBean) called right after a stem update commitvoidstemPostDelete(HooksContext hooksContext, HooksStemBean postDeleteBean) called right after a stem deletevoidstemPostInsert(HooksContext hooksContext, HooksStemBean postInsertBean) called right after a stem insertvoidstemPostUpdate(HooksContext hooksContext, HooksStemBean postUpdateBean) called right after a stem updatevoidstemPreDelete(HooksContext hooksContext, HooksStemBean preDeleteBean) called right before a stem deletevoidstemPreInsert(HooksContext hooksContext, HooksStemBean preInsertBean) called right before a stem insertvoidstemPreUpdate(HooksContext hooksContext, HooksStemBean preUpdateBean) called right before a stem update
-
Field Details
-
METHOD_STEM_POST_COMMIT_DELETE
constant for method name for: stemPostCommitDelete- See Also:
-
METHOD_STEM_POST_COMMIT_INSERT
constant for method name for: stemPostCommitInsert- See Also:
-
METHOD_STEM_POST_COMMIT_UPDATE
constant for method name for: stemPostCommitUpdate- See Also:
-
METHOD_STEM_POST_DELETE
constant for method name for: stemPostDelete- See Also:
-
METHOD_STEM_POST_INSERT
constant for method name for: stemPostInsert- See Also:
-
METHOD_STEM_POST_UPDATE
constant for method name for: stemPostUpdate- See Also:
-
METHOD_STEM_PRE_DELETE
constant for method name for: stemPreDelete- See Also:
-
METHOD_STEM_PRE_INSERT
constant for method name for: stemPreInsert- See Also:
-
METHOD_STEM_PRE_UPDATE
constant for method name for: stemPreUpdate- See Also:
-
-
Constructor Details
-
StemHooks
public StemHooks()
-
-
Method Details
-
stemPreUpdate
called right before a stem update- Parameters:
hooksContext-preUpdateBean-
-
stemPostUpdate
called right after a stem update- Parameters:
hooksContext-postUpdateBean-
-
stemPreInsert
called right before a stem insert- Parameters:
hooksContext-preInsertBean-
-
stemPostInsert
called right after a stem insert- Parameters:
hooksContext-postInsertBean-
-
stemPreDelete
called right before a stem delete- Parameters:
hooksContext-preDeleteBean-
-
stemPostDelete
called right after a stem delete- Parameters:
hooksContext-postDeleteBean-
-
stemPostCommitDelete
called right after a stem delete commit- Parameters:
hooksContext-postCommitDeleteBean-
-
stemPostCommitInsert
called right after a stem insert commit- Parameters:
hooksContext-postCommitInsertBean-
-
stemPostCommitUpdate
called right after a stem update commit- Parameters:
hooksContext-postCommitUpdateBean-
-