Class GroupAttributeNameValidationAttrHook
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeHooks
edu.internet2.middleware.grouper.hooks.examples.GroupAttributeNameValidationAttrHook
built in hook to grouper, which is turned on when it is configured in the grouper.properties. you can retrict certain attributes of a group to be within a certain regex
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouper.hooks.AttributeHooks
METHOD_ATTRIBUTE_POST_COMMIT_DELETE, METHOD_ATTRIBUTE_POST_COMMIT_INSERT, METHOD_ATTRIBUTE_POST_COMMIT_UPDATE, METHOD_ATTRIBUTE_POST_DELETE, METHOD_ATTRIBUTE_POST_INSERT, METHOD_ATTRIBUTE_POST_UPDATE, METHOD_ATTRIBUTE_PRE_DELETE, METHOD_ATTRIBUTE_PRE_INSERT, METHOD_ATTRIBUTE_PRE_UPDATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attributePostInsert
(HooksContext hooksContext, HooksAttributeBean preInsertBean) called right after a attribute insertvoid
attributePreUpdate
(HooksContext hooksContext, HooksAttributeBean preUpdateBean) called right before a attribute updateMethods inherited from class edu.internet2.middleware.grouper.hooks.AttributeHooks
attributePostCommitDelete, attributePostCommitInsert, attributePostCommitUpdate, attributePostDelete, attributePostUpdate, attributePreDelete, attributePreInsert
-
Constructor Details
-
GroupAttributeNameValidationAttrHook
public GroupAttributeNameValidationAttrHook()
-
-
Method Details
-
attributePostInsert
Description copied from class:AttributeHooks
called right after a attribute insert -
attributePreUpdate
Description copied from class:AttributeHooks
called right before a attribute update- Overrides:
attributePreUpdate
in classAttributeHooks
- See Also:
-