|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.rest.client.AbstractRemoteService<ContentMacroService.MacroInstanceFinder>
com.atlassian.confluence.rest.client.impl.RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
public class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
Constructor Summary | |
---|---|
protected |
RemoteContentMacroServiceImpl.RemoteMacroFinderImpl(AbstractRemoteService otherService,
ContentId contentId)
|
Method Summary | |
---|---|
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(java.lang.String hash)
|
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
---|
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RemoteContentMacroServiceImpl.RemoteMacroFinderImpl(AbstractRemoteService otherService, ContentId contentId)
Method Detail |
---|
public RemoteContentMacroService.RemoteMacroFinder withHash(java.lang.String hash)
withHash
in interface RemoteContentMacroService.RemoteMacroFinder
hash
- The hash identifying the body of the macro
public RemoteContentMacroService.RemoteMacroFinder withContentVersion(int versionNumber)
withContentVersion
in interface RemoteContentMacroService.RemoteMacroFinder
versionNumber
- The version of the page to scan for the macro
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |