Class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ContentMacroService.MacroInstanceFinder>
com.atlassian.confluence.rest.client.impl.RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
- All Implemented Interfaces:
RemoteContentMacroService.RemoteMacroFinder
,RemoteSingleFetcher<MacroInstance>
- Enclosing class:
RemoteContentMacroServiceImpl
public class RemoteContentMacroServiceImpl.RemoteMacroFinderImpl
extends AbstractRemoteService<ContentMacroService.MacroInstanceFinder>
implements RemoteContentMacroService.RemoteMacroFinder
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RemoteMacroFinderImpl
(AbstractRemoteService otherService, ContentId contentId) -
Method Summary
Modifier and TypeMethodDescriptionwithContentVersion
(int versionNumber) Deprecated.withMacroId
(String macroId) Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfGenericListResponse, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebTarget, newWebTarget, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage, putVoidCompletionStage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetchOneOrNullCompletionStage, fetchOrNullCompletionStage
-
Constructor Details
-
RemoteMacroFinderImpl
-
-
Method Details
-
withHash
Deprecated.since 5.8, usewithMacroId(String)
- Specified by:
withHash
in interfaceRemoteContentMacroService.RemoteMacroFinder
- Parameters:
hash
- The hash identifying the body of the macro- Returns:
- this
-
withMacroId
- Specified by:
withMacroId
in interfaceRemoteContentMacroService.RemoteMacroFinder
- Parameters:
macroId
- The macroId identifying the body of the macro- Returns:
- this
-
withContentVersion
- Specified by:
withContentVersion
in interfaceRemoteContentMacroService.RemoteMacroFinder
- Parameters:
versionNumber
- The version of the page to scan for the macro- Returns:
- this
-
fetchCompletionStage
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<MacroInstance>
- See Also:
-
withMacroId(String)