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
Modifier and TypeFieldDescriptionstatic final String
constant for method name for: stemPostCommitDeletestatic final String
constant for method name for: stemPostCommitInsertstatic final String
constant for method name for: stemPostCommitUpdatestatic final String
constant for method name for: stemPostDeletestatic final String
constant for method name for: stemPostInsertstatic final String
constant for method name for: stemPostUpdatestatic final String
constant for method name for: stemPreDeletestatic final String
constant for method name for: stemPreInsertstatic final String
constant for method name for: stemPreUpdate -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
stemPostCommitDelete
(HooksContext hooksContext, HooksStemBean postCommitDeleteBean) called right after a stem delete commitvoid
stemPostCommitInsert
(HooksContext hooksContext, HooksStemBean postCommitInsertBean) called right after a stem insert commitvoid
stemPostCommitUpdate
(HooksContext hooksContext, HooksStemBean postCommitUpdateBean) called right after a stem update commitvoid
stemPostDelete
(HooksContext hooksContext, HooksStemBean postDeleteBean) called right after a stem deletevoid
stemPostInsert
(HooksContext hooksContext, HooksStemBean postInsertBean) called right after a stem insertvoid
stemPostUpdate
(HooksContext hooksContext, HooksStemBean postUpdateBean) called right after a stem updatevoid
stemPreDelete
(HooksContext hooksContext, HooksStemBean preDeleteBean) called right before a stem deletevoid
stemPreInsert
(HooksContext hooksContext, HooksStemBean preInsertBean) called right before a stem insertvoid
stemPreUpdate
(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
-
-