public class PrincipalManagerEventAdapter extends Object implements PrincipalManagerEventListener
Constructor and Description |
---|
PrincipalManagerEventAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
associationAdded(JetspeedPrincipal fromPrincipal,
JetspeedPrincipal toPrincipal,
String associationName)
associationAdded - invoked when an association is added
on principal
|
void |
associationRemoved(JetspeedPrincipal fromPrincipal,
JetspeedPrincipal toPrincipal,
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
|
public void associationAdded(JetspeedPrincipal fromPrincipal, JetspeedPrincipal toPrincipal, String associationName)
PrincipalManagerEventListener
associationAdded
in interface PrincipalManagerEventListener
fromPrincipal
- new managed JetspeedPrincipalassociationName
- Name of association which is added to principalpublic void associationRemoved(JetspeedPrincipal fromPrincipal, JetspeedPrincipal toPrincipal, String associationName)
PrincipalManagerEventListener
associationRemoved
in interface PrincipalManagerEventListener
fromPrincipal
- new managed JetspeedPrincipalassociationName
- Name of association which is removed to principalpublic void newPrincipal(JetspeedPrincipal principal)
PrincipalManagerEventListener
newPrincipal
in interface PrincipalManagerEventListener
principal
- new managed JetspeedPrincipalpublic void removePrincipal(JetspeedPrincipal principal)
PrincipalManagerEventListener
removePrincipal
in interface PrincipalManagerEventListener
principal
- new managed JetspeedPrincipalpublic void updatePrincipal(JetspeedPrincipal principal)
PrincipalManagerEventListener
updatePrincipal
in interface PrincipalManagerEventListener
principal
- new managed JetspeedPrincipalCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.