public class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl extends AbstractRemoteService<ContentMacroService.MacroInstanceFinder> implements RemoteContentMacroService.RemoteMacroFinder
provider
Modifier | Constructor and Description |
---|---|
protected |
RemoteMacroFinderImpl(AbstractRemoteService otherService,
ContentId contentId) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Optional<MacroInstance>> |
fetchCompletionStage() |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> |
fetchOne() |
com.atlassian.util.concurrent.Promise<MacroInstance> |
fetchOneOrNull() |
CompletionStage<MacroInstance> |
fetchOrNullCompletionStage() |
RemoteContentMacroService.RemoteMacroFinder |
withContentVersion(int versionNumber) |
RemoteContentMacroService.RemoteMacroFinder |
withHash(String hash)
Deprecated.
since 5.8, use
withMacroId(String) |
RemoteContentMacroService.RemoteMacroFinder |
withMacroId(String macroId) |
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFuture
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetch, fetchOrNull
protected RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
@Deprecated public RemoteContentMacroService.RemoteMacroFinder withHash(String hash)
withMacroId(String)
withHash
in interface RemoteContentMacroService.RemoteMacroFinder
hash
- The hash identifying the body of the macropublic RemoteContentMacroService.RemoteMacroFinder withMacroId(String macroId)
withMacroId
in interface RemoteContentMacroService.RemoteMacroFinder
macroId
- The macroId identifying the body of the macropublic RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
withContentVersion
in interface RemoteContentMacroService.RemoteMacroFinder
versionNumber
- The version of the page to scan for the macropublic com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> fetchOne()
fetchOne
in interface RemoteSingleFetcher<MacroInstance>
public com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
fetchOneOrNull
in interface RemoteSingleFetcher<MacroInstance>
public CompletionStage<Optional<MacroInstance>> fetchCompletionStage()
fetchCompletionStage
in interface RemoteSingleFetcher<MacroInstance>
public CompletionStage<MacroInstance> fetchOrNullCompletionStage()
fetchOrNullCompletionStage
in interface RemoteSingleFetcher<MacroInstance>
Copyright © 2003–2020 Atlassian. All rights reserved.