Class StemHooks

java.lang.Object
edu.internet2.middleware.grouper.hooks.StemHooks
Direct Known Subclasses:
StemAttributeNameValidationHook, StemUniqueNameCaseInsensitiveHook, UniqueObjectStemHook

public abstract class StemHooks extends Object
Extend this class and configure in grouper.properties for hooks on stem related actions
  • Field Details

    • METHOD_STEM_POST_COMMIT_DELETE

      public static final String METHOD_STEM_POST_COMMIT_DELETE
      constant for method name for: stemPostCommitDelete
      See Also:
    • METHOD_STEM_POST_COMMIT_INSERT

      public static final String METHOD_STEM_POST_COMMIT_INSERT
      constant for method name for: stemPostCommitInsert
      See Also:
    • METHOD_STEM_POST_COMMIT_UPDATE

      public static final String METHOD_STEM_POST_COMMIT_UPDATE
      constant for method name for: stemPostCommitUpdate
      See Also:
    • METHOD_STEM_POST_DELETE

      public static final String METHOD_STEM_POST_DELETE
      constant for method name for: stemPostDelete
      See Also:
    • METHOD_STEM_POST_INSERT

      public static final String METHOD_STEM_POST_INSERT
      constant for method name for: stemPostInsert
      See Also:
    • METHOD_STEM_POST_UPDATE

      public static final String METHOD_STEM_POST_UPDATE
      constant for method name for: stemPostUpdate
      See Also:
    • METHOD_STEM_PRE_DELETE

      public static final String METHOD_STEM_PRE_DELETE
      constant for method name for: stemPreDelete
      See Also:
    • METHOD_STEM_PRE_INSERT

      public static final String METHOD_STEM_PRE_INSERT
      constant for method name for: stemPreInsert
      See Also:
    • METHOD_STEM_PRE_UPDATE

      public static final String METHOD_STEM_PRE_UPDATE
      constant for method name for: stemPreUpdate
      See Also:
  • Constructor Details

    • StemHooks

      public StemHooks()
  • Method Details

    • stemPreUpdate

      public void stemPreUpdate(HooksContext hooksContext, HooksStemBean preUpdateBean)
      called right before a stem update
      Parameters:
      hooksContext -
      preUpdateBean -
    • stemPostUpdate

      public void stemPostUpdate(HooksContext hooksContext, HooksStemBean postUpdateBean)
      called right after a stem update
      Parameters:
      hooksContext -
      postUpdateBean -
    • stemPreInsert

      public void stemPreInsert(HooksContext hooksContext, HooksStemBean preInsertBean)
      called right before a stem insert
      Parameters:
      hooksContext -
      preInsertBean -
    • stemPostInsert

      public void stemPostInsert(HooksContext hooksContext, HooksStemBean postInsertBean)
      called right after a stem insert
      Parameters:
      hooksContext -
      postInsertBean -
    • stemPreDelete

      public void stemPreDelete(HooksContext hooksContext, HooksStemBean preDeleteBean)
      called right before a stem delete
      Parameters:
      hooksContext -
      preDeleteBean -
    • stemPostDelete

      public void stemPostDelete(HooksContext hooksContext, HooksStemBean postDeleteBean)
      called right after a stem delete
      Parameters:
      hooksContext -
      postDeleteBean -
    • stemPostCommitDelete

      public void stemPostCommitDelete(HooksContext hooksContext, HooksStemBean postCommitDeleteBean)
      called right after a stem delete commit
      Parameters:
      hooksContext -
      postCommitDeleteBean -
    • stemPostCommitInsert

      public void stemPostCommitInsert(HooksContext hooksContext, HooksStemBean postCommitInsertBean)
      called right after a stem insert commit
      Parameters:
      hooksContext -
      postCommitInsertBean -
    • stemPostCommitUpdate

      public void stemPostCommitUpdate(HooksContext hooksContext, HooksStemBean postCommitUpdateBean)
      called right after a stem update commit
      Parameters:
      hooksContext -
      postCommitUpdateBean -