edu.internet2.middleware.grouper.hooks.examples
Class AttributeHooksImplExampleEmail
java.lang.Object
edu.internet2.middleware.grouper.hooks.AttributeHooks
edu.internet2.middleware.grouper.hooks.examples.AttributeHooksImplExampleEmail
public class AttributeHooksImplExampleEmail
- extends AttributeHooks
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)
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeHooksImplExampleEmail
public AttributeHooksImplExampleEmail()
attributePreUpdate
public void attributePreUpdate(HooksContext hooksContext,
HooksAttributeBean preUpdateBean)
- if there is a changed emailAddress, make sure it doesnt already existin another group or subject
- Overrides:
attributePreUpdate in class AttributeHooks
- See Also:
AttributeHooks.attributePreUpdate(HooksContext, edu.internet2.middleware.grouper.hooks.beans.HooksAttributeBean)
attributePreInsert
public void attributePreInsert(HooksContext hooksContext,
HooksAttributeBean preInsertBean)
- Description copied from class:
AttributeHooks
- called right before a attribute insert
- Overrides:
attributePreInsert in class AttributeHooks
- See Also:
AttributeHooks.attributePreInsert(HooksContext, HooksAttributeBean)