public class AttributeHooksImplExampleEmail extends 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 and Description |
---|
AttributeHooksImplExampleEmail() |
Modifier and Type | Method and Description |
---|---|
void |
attributePreInsert(HooksContext hooksContext,
HooksAttributeBean preInsertBean)
called right before a attribute insert
|
void |
attributePreUpdate(HooksContext hooksContext,
HooksAttributeBean preUpdateBean)
if there is a changed emailAddress, make sure it doesnt already existin another group or subject
|
attributePostCommitDelete, attributePostCommitInsert, attributePostCommitUpdate, attributePostDelete, attributePostInsert, attributePostUpdate, attributePreDelete
public void attributePreUpdate(HooksContext hooksContext, HooksAttributeBean preUpdateBean)
public void attributePreInsert(HooksContext hooksContext, HooksAttributeBean preInsertBean)
AttributeHooks
attributePreInsert
in class AttributeHooks
AttributeHooks.attributePreInsert(HooksContext, HooksAttributeBean)
Copyright © 2016 Internet2. All rights reserved.