com.atlassian.confluence.importexport.impl
Class ContentUserKeyExtractor

java.lang.Object
  extended by com.atlassian.confluence.importexport.impl.ContentUserKeyExtractor

public class ContentUserKeyExtractor
extends java.lang.Object

Provides services for extracting UserKeys from the body content of ContentEntityObjects. It does this by parsing the XHTML body content looking for UserResourceIdentifiers.

Since:
v5.3

Constructor Summary
ContentUserKeyExtractor(StorageFormatUserRewriter storageFormatUserRewriter)
           
 
Method Summary
 java.util.Set<com.atlassian.sal.api.user.UserKey> extractUserKeysFromContentEntities(java.lang.Iterable<? extends ContentEntityObject> contentEntities, boolean includeComments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentUserKeyExtractor

public ContentUserKeyExtractor(@Nonnull
                               StorageFormatUserRewriter storageFormatUserRewriter)
Method Detail

extractUserKeysFromContentEntities

public java.util.Set<com.atlassian.sal.api.user.UserKey> extractUserKeysFromContentEntities(java.lang.Iterable<? extends ContentEntityObject> contentEntities,
                                                                                            boolean includeComments)


Copyright © 2003-2014 Atlassian. All Rights Reserved.