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.
|
RemoteContentMacroService.RemoteMacroFinder |
withMacroId(String macroId) |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
protected RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
@Deprecated public RemoteContentMacroService.RemoteMacroFinder withHash(String hash)
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()
RemoteContentMacroService.RemoteMacroFinder
fetchOne
in interface RemoteContentMacroService.RemoteMacroFinder
public com.atlassian.util.concurrent.Promise<MacroInstance> fetchOneOrNull()
RemoteContentMacroService.RemoteMacroFinder
fetchOneOrNull
in interface RemoteContentMacroService.RemoteMacroFinder
Copyright © 2003–2016 Atlassian. All rights reserved.