public class UserPrefetcher extends Object implements ResourcePrefetcher<UserResourceIdentifier>
ResourcePrefetcher for UserResourceIdentifiers. This will attempt to pre-fetch
 any ConfluenceUser objects by their UserKey.
 
 Note that any UserResourceIdentifiers with a null UserKey will not be pre-fetched. Such a condition
 is possible (e.g. with unmigrated, pre-userkey data), but not expected to happen in normal usage.
| Constructor and Description | 
|---|
| UserPrefetcher(PersonalInformationBulkDao personalInformationBulkDao,
              com.atlassian.event.api.EventPublisher eventPublisher,
              com.atlassian.crowd.embedded.api.ApplicationFactory crowdApplicationFactory,
              InternalUserDao crowdUserDao) | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<UserResourceIdentifier> | getResourceItentifierType() | 
| void | prefetch(Set<UserResourceIdentifier> resourceIdentifiers,
        ConversionContext conversionContext)Attempts to pre-fetch and pre-cache the given resource identifiers. | 
public UserPrefetcher(PersonalInformationBulkDao personalInformationBulkDao, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.crowd.embedded.api.ApplicationFactory crowdApplicationFactory, InternalUserDao crowdUserDao)
public Class<UserResourceIdentifier> getResourceItentifierType()
getResourceItentifierType in interface ResourcePrefetcher<UserResourceIdentifier>public void prefetch(Set<UserResourceIdentifier> resourceIdentifiers, ConversionContext conversionContext)
ResourcePrefetcherprefetch in interface ResourcePrefetcher<UserResourceIdentifier>Copyright © 2003–2016 Atlassian. All rights reserved.