com.atlassian.confluence.importexport.impl
Class StorageFormatUserRewriter.RewriteResult

java.lang.Object
  extended by com.atlassian.confluence.importexport.impl.StorageFormatUserRewriter.RewriteResult
Enclosing class:
StorageFormatUserRewriter

public static class StorageFormatUserRewriter.RewriteResult
extends Object

Represents the results of the content rewrite operation.


Constructor Summary
StorageFormatUserRewriter.RewriteResult(String rewrittenContent, Map<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslations)
           
 
Method Summary
 Set<com.atlassian.sal.api.user.UserKey> getOriginalUserKeys()
           
 String getRewrittenContent()
           
 Set<com.atlassian.sal.api.user.UserKey> getUntranslatedUserKeys()
           
 boolean wasUserKeyTranslated(com.atlassian.sal.api.user.UserKey userKey)
           
 boolean wereAnyUserKeysNotTranslated()
           
 boolean wereAnyUserKeysTranslated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageFormatUserRewriter.RewriteResult

public StorageFormatUserRewriter.RewriteResult(String rewrittenContent,
                                               Map<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslations)
Method Detail

getUntranslatedUserKeys

public Set<com.atlassian.sal.api.user.UserKey> getUntranslatedUserKeys()

wereAnyUserKeysTranslated

public boolean wereAnyUserKeysTranslated()

wereAnyUserKeysNotTranslated

public boolean wereAnyUserKeysNotTranslated()

getOriginalUserKeys

public Set<com.atlassian.sal.api.user.UserKey> getOriginalUserKeys()

wasUserKeyTranslated

public boolean wasUserKeyTranslated(com.atlassian.sal.api.user.UserKey userKey)

getRewrittenContent

public String getRewrittenContent()


Copyright © 2003–2015 Atlassian. All rights reserved.