public class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl extends AbstractRemoteService<ContentMacroService.MacroInstanceFinder> implements RemoteContentMacroService.RemoteMacroFinder
| 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()
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(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, putFutureprotected 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()
RemoteContentMacroService.RemoteMacroFinderfetchOne in interface RemoteContentMacroService.RemoteMacroFinderpublic com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
RemoteContentMacroService.RemoteMacroFinderfetchOneOrNull in interface RemoteContentMacroService.RemoteMacroFinderCopyright © 2003–2017 Atlassian. All rights reserved.