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 |
---|---|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<MacroInstance>> |
fetchOne() |
com.atlassian.util.concurrent.Promise<MacroInstance> |
fetchOneOrNull() |
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, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, 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>
Copyright © 2003–2019 Atlassian. All rights reserved.