com.atlassian.confluence.rest.client
Interface RemoteContentMacroService.RemoteMacroFinder

All Known Implementing Classes:
RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
Enclosing interface:
RemoteContentMacroService

public static interface RemoteContentMacroService.RemoteMacroFinder


Method Summary
 com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> fetchOne()
          Fetch the macroinstance matching the with params from the remote server
 com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
          Fetch the macroinstance matching the with params from the remote server
 RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
           
 RemoteContentMacroService.RemoteMacroFinder withHash(java.lang.String hash)
           
 

Method Detail

withHash

RemoteContentMacroService.RemoteMacroFinder withHash(java.lang.String hash)
Parameters:
hash - The hash identifying the body of the macro
Returns:
this

withContentVersion

RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
Parameters:
versionNumber - The version of the page to scan for the macro
Returns:
this

fetchOne

com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> fetchOne()
Fetch the macroinstance matching the with params from the remote server


fetchOneOrNull

com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
Fetch the macroinstance matching the with params from the remote server



Copyright © 2003-2014 Atlassian. All Rights Reserved.