Class FieldHooks
java.lang.Object
edu.internet2.middleware.grouper.hooks.FieldHooks
Extend this class and configure in grouper.properties for hooks on
field related actions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
constant for method name for: fieldPostCommitDeletestatic final String
constant for method name for: fieldPostCommitInsertstatic final String
constant for method name for: fieldPostCommitUpdatestatic final String
constant for method name for: fieldPostDeletestatic final String
constant for method name for: fieldPostInsertstatic final String
constant for method name for: fieldPostUpdatestatic final String
constant for method name for: fieldPreDeletestatic final String
constant for method name for: fieldPreInsertstatic final String
constant for method name for: fieldPreUpdate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fieldPostCommitDelete
(HooksContext hooksContext, HooksFieldBean postCommitDeleteBean) called right after a field delete commitvoid
fieldPostCommitInsert
(HooksContext hooksContext, HooksFieldBean postCommitInsertBean) called right after a field insert commitvoid
fieldPostCommitUpdate
(HooksContext hooksContext, HooksFieldBean postCommitUpdateBean) called right after a field update commitvoid
fieldPostDelete
(HooksContext hooksContext, HooksFieldBean postDeleteBean) called right after a field deletevoid
fieldPostInsert
(HooksContext hooksContext, HooksFieldBean postInsertBean) called right after a field insertvoid
fieldPostUpdate
(HooksContext hooksContext, HooksFieldBean postUpdateBean) called right after a field updatevoid
fieldPreDelete
(HooksContext hooksContext, HooksFieldBean preDeleteBean) called right before a field deletevoid
fieldPreInsert
(HooksContext hooksContext, HooksFieldBean preInsertBean) called right before a field insertvoid
fieldPreUpdate
(HooksContext hooksContext, HooksFieldBean preUpdateBean) called right before a field update
-
Field Details
-
METHOD_FIELD_POST_COMMIT_DELETE
constant for method name for: fieldPostCommitDelete- See Also:
-
METHOD_FIELD_POST_COMMIT_INSERT
constant for method name for: fieldPostCommitInsert- See Also:
-
METHOD_FIELD_POST_COMMIT_UPDATE
constant for method name for: fieldPostCommitUpdate- See Also:
-
METHOD_FIELD_POST_DELETE
constant for method name for: fieldPostDelete- See Also:
-
METHOD_FIELD_POST_INSERT
constant for method name for: fieldPostInsert- See Also:
-
METHOD_FIELD_POST_UPDATE
constant for method name for: fieldPostUpdate- See Also:
-
METHOD_FIELD_PRE_DELETE
constant for method name for: fieldPreDelete- See Also:
-
METHOD_FIELD_PRE_INSERT
constant for method name for: fieldPreInsert- See Also:
-
METHOD_FIELD_PRE_UPDATE
constant for method name for: fieldPreUpdate- See Also:
-
-
Constructor Details
-
FieldHooks
public FieldHooks()
-
-
Method Details
-
fieldPreUpdate
called right before a field update- Parameters:
hooksContext
-preUpdateBean
-
-
fieldPostUpdate
called right after a field update- Parameters:
hooksContext
-postUpdateBean
-
-
fieldPreInsert
called right before a field insert- Parameters:
hooksContext
-preInsertBean
-
-
fieldPostInsert
called right after a field insert- Parameters:
hooksContext
-postInsertBean
-
-
fieldPreDelete
called right before a field delete- Parameters:
hooksContext
-preDeleteBean
-
-
fieldPostDelete
called right after a field delete- Parameters:
hooksContext
-postDeleteBean
-
-
fieldPostCommitDelete
called right after a field delete commit- Parameters:
hooksContext
-postCommitDeleteBean
-
-
fieldPostCommitInsert
called right after a field insert commit- Parameters:
hooksContext
-postCommitInsertBean
-
-
fieldPostCommitUpdate
called right after a field update commit- Parameters:
hooksContext
-postCommitUpdateBean
-
-