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, putFutureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetch, fetchOrNullprotected RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
@Deprecated public RemoteContentMacroService.RemoteMacroFinder withHash(String hash)
withMacroId(String)withHash in interface RemoteContentMacroService.RemoteMacroFinderhash - The hash identifying the body of the macropublic RemoteContentMacroService.RemoteMacroFinder withMacroId(String macroId)
withMacroId in interface RemoteContentMacroService.RemoteMacroFindermacroId - The macroId identifying the body of the macropublic RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
withContentVersion in interface RemoteContentMacroService.RemoteMacroFinderversionNumber - 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–2022 Atlassian. All rights reserved.