com.atlassian.confluence.rest.client.impl
Class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ContentMacroService.MacroInstanceFinder>
com.atlassian.confluence.rest.client.impl.RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
- All Implemented Interfaces:
- RemoteContentMacroService.RemoteMacroFinder
- Enclosing class:
- RemoteContentMacroServiceImpl
public class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
- extends AbstractRemoteService<ContentMacroService.MacroInstanceFinder>
- implements RemoteContentMacroService.RemoteMacroFinder
| Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
protected RemoteContentMacroServiceImpl.RemoteMacroFinderImpl(AbstractRemoteService otherService,
ContentId contentId)
withHash
public RemoteContentMacroService.RemoteMacroFinder withHash(String hash)
- Specified by:
withHash in interface RemoteContentMacroService.RemoteMacroFinder
- Parameters:
hash - The hash identifying the body of the macro
- Returns:
- this
withContentVersion
public RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
- Specified by:
withContentVersion in interface RemoteContentMacroService.RemoteMacroFinder
- Parameters:
versionNumber - The version of the page to scan for the macro
- Returns:
- this
fetchOne
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> fetchOne()
- Description copied from interface:
RemoteContentMacroService.RemoteMacroFinder
- Fetch the macroinstance matching the with params from the remote server
- Specified by:
fetchOne in interface RemoteContentMacroService.RemoteMacroFinder
fetchOneOrNull
public com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
- Description copied from interface:
RemoteContentMacroService.RemoteMacroFinder
- Fetch the macroinstance matching the with params from the remote server
- Specified by:
fetchOneOrNull in interface RemoteContentMacroService.RemoteMacroFinder
Copyright © 2003–2015 Atlassian. All rights reserved.