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 java.lang.Object

Represents the results of the content rewrite operation.


Constructor Summary
StorageFormatUserRewriter.RewriteResult(java.lang.String rewrittenContent, java.util.Map<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslations)
           
 
Method Summary
 java.util.Set<com.atlassian.sal.api.user.UserKey> getOriginalUserKeys()
           
 java.lang.String getRewrittenContent()
           
 java.util.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(java.lang.String rewrittenContent,
                                               java.util.Map<com.atlassian.sal.api.user.UserKey,com.atlassian.sal.api.user.UserKey> userKeyTranslations)
Method Detail

getUntranslatedUserKeys

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

wereAnyUserKeysTranslated

public boolean wereAnyUserKeysTranslated()

wereAnyUserKeysNotTranslated

public boolean wereAnyUserKeysNotTranslated()

getOriginalUserKeys

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

wasUserKeyTranslated

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

getRewrittenContent

public java.lang.String getRewrittenContent()


Copyright © 2003-2013 Atlassian. All Rights Reserved.