Class DefaultUserPropertyManager

java.lang.Object
com.atlassian.jira.user.DefaultUserPropertyManager
All Implemented Interfaces:
Startable, InitializingComponent, UserPropertyManager

public class DefaultUserPropertyManager extends Object implements UserPropertyManager, Startable, InitializingComponent
  • Field Details

  • Constructor Details

    • DefaultUserPropertyManager

      public DefaultUserPropertyManager(UserKeyStore userKeyStore, QueryDslAccessor queryDslAccessor, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
  • Method Details

    • afterInstantiation

      public void afterInstantiation() throws Exception
      Description copied from interface: InitializingComponent
      Called after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.
      Specified by:
      afterInstantiation in interface InitializingComponent
      Throws:
      Exception
    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.
    • getPropertySet

      @Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySet(@Nonnull ApplicationUser user)
      Description copied from interface: UserPropertyManager
      Get the property set associated with a user.
      Specified by:
      getPropertySet in interface UserPropertyManager
      Parameters:
      user - the user that the property set is associated with.
      Returns:
      the property set for this user
    • getPropertySet

      @Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySet(long userId)
      Description copied from interface: UserPropertyManager
      Get the property set associated with a user.
      Specified by:
      getPropertySet in interface UserPropertyManager
      Parameters:
      userId - the ID of a user that the property set is associated with.
      Returns:
      the property set for this user
    • getPropertySetForUserKey

      @Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(@Nonnull String userKey)
      Description copied from interface: UserPropertyManager
      Get the property set associated with a user.
      Specified by:
      getPropertySetForUserKey in interface UserPropertyManager
      Parameters:
      userKey - the key for the user that the property set is associated with.
      Returns:
      property set
    • onClearCache

      @EventListener public void onClearCache(@Nullable ClearCacheEvent event)
    • onDatabaseImportCompleted

      @EventListener public void onDatabaseImportCompleted(DatabaseImportCompletedEvent event)