org.apache.jetspeed.security
Class PrincipalManagerEventAdapter

java.lang.Object
  extended by org.apache.jetspeed.security.PrincipalManagerEventAdapter
All Implemented Interfaces:
PrincipalManagerEventListener

public class PrincipalManagerEventAdapter
extends java.lang.Object
implements PrincipalManagerEventListener

Version:
$Id: PrincipalManagerEventAdapter will allow to extends it self and over-ride desired methods to have custom operation on the events
Author:
Vivek Kumar

Constructor Summary
PrincipalManagerEventAdapter()
           
 
Method Summary
 void associationAdded(JetspeedPrincipal fromPrincipal, JetspeedPrincipal toPrincipal, java.lang.String associationName)
          associationAdded - invoked when an association is added on principal
 void associationRemoved(JetspeedPrincipal fromPrincipal, JetspeedPrincipal toPrincipal, java.lang.String associationName)
          associationRemoved - invoked when an association is added on principal
 void newPrincipal(JetspeedPrincipal principal)
          newPrincipal - invoked when new principal is created by the principal manager
 void removePrincipal(JetspeedPrincipal principal)
          removePrincipal - invoked when an principal is removed by the principal manager
 void updatePrincipal(JetspeedPrincipal principal)
          updatePrincipal - invoked when an principal is updated by the principal manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalManagerEventAdapter

public PrincipalManagerEventAdapter()
Method Detail

associationAdded

public void associationAdded(JetspeedPrincipal fromPrincipal,
                             JetspeedPrincipal toPrincipal,
                             java.lang.String associationName)
Description copied from interface: PrincipalManagerEventListener
associationAdded - invoked when an association is added on principal

Specified by:
associationAdded in interface PrincipalManagerEventListener
associationName - Name of association which is added to principal

associationRemoved

public void associationRemoved(JetspeedPrincipal fromPrincipal,
                               JetspeedPrincipal toPrincipal,
                               java.lang.String associationName)
Description copied from interface: PrincipalManagerEventListener
associationRemoved - invoked when an association is added on principal

Specified by:
associationRemoved in interface PrincipalManagerEventListener
associationName - Name of association which is removed to principal

newPrincipal

public void newPrincipal(JetspeedPrincipal principal)
Description copied from interface: PrincipalManagerEventListener
newPrincipal - invoked when new principal is created by the principal manager

Specified by:
newPrincipal in interface PrincipalManagerEventListener
Parameters:
principal - new managed JetspeedPrincipal

removePrincipal

public void removePrincipal(JetspeedPrincipal principal)
Description copied from interface: PrincipalManagerEventListener
removePrincipal - invoked when an principal is removed by the principal manager

Specified by:
removePrincipal in interface PrincipalManagerEventListener
Parameters:
principal - new managed JetspeedPrincipal

updatePrincipal

public void updatePrincipal(JetspeedPrincipal principal)
Description copied from interface: PrincipalManagerEventListener
updatePrincipal - invoked when an principal is updated by the principal manager

Specified by:
updatePrincipal in interface PrincipalManagerEventListener
Parameters:
principal - new managed JetspeedPrincipal


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.