|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.hooks.AttributeHooks
edu.internet2.middleware.grouper.hooks.examples.GroupAttributeNameValidationAttrHook
public class 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 | |
---|---|
GroupAttributeNameValidationAttrHook()
|
Method Summary | |
---|---|
void |
attributePostInsert(HooksContext hooksContext,
HooksAttributeBean preInsertBean)
called right after a attribute insert |
void |
attributePreUpdate(HooksContext hooksContext,
HooksAttributeBean preUpdateBean)
called right before a attribute update |
Methods inherited from class edu.internet2.middleware.grouper.hooks.AttributeHooks |
---|
attributePostCommitDelete, attributePostCommitInsert, attributePostCommitUpdate, attributePostDelete, attributePostUpdate, attributePreDelete, attributePreInsert |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupAttributeNameValidationAttrHook()
Method Detail |
---|
public void attributePostInsert(HooksContext hooksContext, HooksAttributeBean preInsertBean)
AttributeHooks
attributePostInsert
in class AttributeHooks
AttributeHooks.attributePostInsert(HooksContext, edu.internet2.middleware.grouper.hooks.beans.HooksAttributeBean)
public void attributePreUpdate(HooksContext hooksContext, HooksAttributeBean preUpdateBean)
AttributeHooks
attributePreUpdate
in class AttributeHooks
AttributeHooks.attributePreUpdate(HooksContext, HooksAttributeBean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |