Class RemoteContentTemplateServiceImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ContentTemplateService>
com.atlassian.confluence.rest.client.impl.RemoteContentTemplateServiceImpl
- All Implemented Interfaces:
RemoteContentTemplateService
public class RemoteContentTemplateServiceImpl
extends AbstractRemoteService<ContentTemplateService>
implements RemoteContentTemplateService
Remote test for TemplateResource.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.client.RemoteContentTemplateService
RemoteContentTemplateService.RemoteParameterTemplateFinder, RemoteContentTemplateService.RemoteSingleTemplateFetcher, RemoteContentTemplateService.RemoteTemplateFetcher, RemoteContentTemplateService.RemoteTemplateFinder
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
Constructor Summary
ConstructorDescriptionRemoteContentTemplateServiceImpl
(AuthenticatedWebResourceProvider provider, ExecutorService executorService, ContentTemplateType templateType) -
Method Summary
Modifier and TypeMethodDescriptioncreateCompletionStage
(ContentTemplate contentTemplate, Expansion... expansions) createInstanceCompletionStage
(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions) deleteCompletionStage
(ContentTemplateId contentTemplateId) getTemplateCompletionStage
(ContentTemplateId contentTemplateId, Expansion... expansions) getTemplatesCompletionStage
(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions) updateCompletionStage
(ContentTemplate contentTemplate, Expansion... expansions) Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage
-
Constructor Details
-
RemoteContentTemplateServiceImpl
public RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executorService, ContentTemplateType templateType) - Since:
- 8.8
-
-
Method Details
-
getTemplatesCompletionStage
public CompletionStage<PageResponse<ContentTemplate>> getTemplatesCompletionStage(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions) - Specified by:
getTemplatesCompletionStage
in interfaceRemoteContentTemplateService
-
getTemplateCompletionStage
public CompletionStage<ContentTemplate> getTemplateCompletionStage(ContentTemplateId contentTemplateId, Expansion... expansions) - Specified by:
getTemplateCompletionStage
in interfaceRemoteContentTemplateService
-
createCompletionStage
public CompletionStage<ContentTemplate> createCompletionStage(ContentTemplate contentTemplate, Expansion... expansions) - Specified by:
createCompletionStage
in interfaceRemoteContentTemplateService
-
updateCompletionStage
public CompletionStage<ContentTemplate> updateCompletionStage(ContentTemplate contentTemplate, Expansion... expansions) - Specified by:
updateCompletionStage
in interfaceRemoteContentTemplateService
-
deleteCompletionStage
- Specified by:
deleteCompletionStage
in interfaceRemoteContentTemplateService
-
find
- Specified by:
find
in interfaceRemoteContentTemplateService
-
createInstanceCompletionStage
public CompletionStage<ContentBlueprintInstance> createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions) - Specified by:
createInstanceCompletionStage
in interfaceRemoteContentTemplateService
-