Class AttributeAutoCreateHook
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeAssignHooks
edu.internet2.middleware.grouper.hooks.examples.AttributeAutoCreateHook
this will only run after grouper is started up
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from class edu.internet2.middleware.grouper.hooks.AttributeAssignHooks
METHOD_ATTRIBUTE_ASSIGN_POST_COMMIT_DELETE, METHOD_ATTRIBUTE_ASSIGN_POST_COMMIT_INSERT, METHOD_ATTRIBUTE_ASSIGN_POST_COMMIT_UPDATE, METHOD_ATTRIBUTE_ASSIGN_POST_DELETE, METHOD_ATTRIBUTE_ASSIGN_POST_INSERT, METHOD_ATTRIBUTE_ASSIGN_POST_UPDATE, METHOD_ATTRIBUTE_ASSIGN_PRE_DELETE, METHOD_ATTRIBUTE_ASSIGN_PRE_INSERT, METHOD_ATTRIBUTE_ASSIGN_PRE_UPDATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attributeAssignPostCommitInsert
(HooksContext hooksContext, HooksAttributeAssignBean postCommitInsertBean) called right after the commit of a post insert commit.static String
static void
static void
static void
static void
see if this is configured in the grouper.properties, if so, register this hookMethods inherited from class edu.internet2.middleware.grouper.hooks.AttributeAssignHooks
attributeAssignPostCommitDelete, attributeAssignPostCommitUpdate, attributeAssignPostDelete, attributeAssignPostInsert, attributeAssignPostUpdate, attributeAssignPreDelete, attributeAssignPreInsert, attributeAssignPreUpdate
-
Field Details
-
GROUPER_ATTRIBUTE_AUTO_CREATE_MARKER_DEF
- See Also:
-
GROUPER_ATTRIBUTE_AUTO_CREATE_MARKER
- See Also:
-
GROUPER_ATTRIBUTE_AUTO_CREATE_VALUE_DEF
- See Also:
-
GROUPER_ATTRIBUTE_AUTO_CREATE_ATTR_IF_NAME
- See Also:
-
GROUPER_ATTRIBUTE_AUTO_CREATE_ATTR_THEN_NAMES_ON_ASSIGN
- See Also:
-
-
Constructor Details
-
AttributeAutoCreateHook
public AttributeAutoCreateHook()
-
-
Method Details
-
clearCache
public static void clearCache() -
clearHook
public static void clearHook() -
attributeAutoCreateStemName
- Returns:
- the stem name
-
main
-
registerHookIfNecessary
public static void registerHookIfNecessary()see if this is configured in the grouper.properties, if so, register this hook -
autoAssignAttributeIds
-
attributeAssignPostCommitInsert
public void attributeAssignPostCommitInsert(HooksContext hooksContext, HooksAttributeAssignBean postCommitInsertBean) Description copied from class:AttributeAssignHooks
called right after the commit of a post insert commit. Note, cant veto this or participate in the tx- Overrides:
attributeAssignPostCommitInsert
in classAttributeAssignHooks
-