com.atlassian.confluence.user.crowd
Class UserIndexingListener

java.lang.Object
  extended by com.atlassian.confluence.user.crowd.UserIndexingListener

public class UserIndexingListener
extends 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

Constructor Summary
UserIndexingListener()
           
 
Method Summary
 void onUserAddEvent(com.atlassian.crowd.event.user.UserCreatedFromDirectorySynchronisationEvent event)
           
 void onUserDeleteEvent(com.atlassian.crowd.event.user.UserDeletedEvent event)
           
 void onUserDisableEvent(UserDeactivateEvent event)
           
 void onUserEnableEvent(UserReactivateEvent event)
          This handler is required because the UserIndexingUpgradeTask doesn't add PersonalInformation for deactivated users that have not authored content.
 void setIndexer(ConfluenceIndexer indexer)
           
 void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserIndexingListener

public UserIndexingListener()
Method Detail

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-2013 Atlassian. All Rights Reserved.