com.atlassian.confluence.user.crowd
Class UserIndexingListener
java.lang.Object
com.atlassian.confluence.user.crowd.UserIndexingListener
public class UserIndexingListener
- extends java.lang.Object
Creates/indexes PersonalInformation as users are added or have their activation status modified.
These PIs are required for User searches to work correctly, hence the ambitious class name.
- Since:
- 4.3.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserIndexingListener
public UserIndexingListener()
onUserAddEvent
@EventListener
public void onUserAddEvent(com.atlassian.crowd.event.user.UserCreatedFromDirectorySynchronisationEvent event)
onUserEnableEvent
@EventListener
public void onUserEnableEvent(UserReactivateEvent event)
- This handler is required because the
UserIndexingUpgradeTask
doesn't add PersonalInformation for
deactivated users that have not authored content. These users will need
- Parameters:
event
-
onUserDisableEvent
@EventListener
public void onUserDisableEvent(UserDeactivateEvent event)
onUserDeleteEvent
@EventListener
public void onUserDeleteEvent(com.atlassian.crowd.event.user.UserDeletedEvent event)
setPersonalInformationManager
public void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
setIndexer
public void setIndexer(ConfluenceIndexer indexer)
Copyright © 2003-2014 Atlassian. All Rights Reserved.