Class AttributeHooksImplExampleEmail
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeHooks
edu.internet2.middleware.grouper.hooks.examples.AttributeHooksImplExampleEmail
test implementation of group hooks for test. checks to make sure group attribute
is not in use by another group, subject, or subject id (for email prefix)
-
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
attributePreInsert
(HooksContext hooksContext, HooksAttributeBean preInsertBean) called right before a attribute insertvoid
attributePreUpdate
(HooksContext hooksContext, HooksAttributeBean preUpdateBean) if there is a changed emailAddress, make sure it doesnt already existin another group or subjectMethods inherited from class edu.internet2.middleware.grouper.hooks.AttributeHooks
attributePostCommitDelete, attributePostCommitInsert, attributePostCommitUpdate, attributePostDelete, attributePostInsert, attributePostUpdate, attributePreDelete
-
Constructor Details
-
AttributeHooksImplExampleEmail
public AttributeHooksImplExampleEmail()
-
-
Method Details
-
attributePreUpdate
if there is a changed emailAddress, make sure it doesnt already existin another group or subject -
attributePreInsert
Description copied from class:AttributeHooks
called right before a attribute insert- Overrides:
attributePreInsert
in classAttributeHooks
- See Also:
-