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 Modifier and Type Class Description class
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl
-
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
Constructors Constructor Description RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executorService, ContentTemplateType templateType)
Deprecated.since 8.8RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executorService, ContentTemplateType templateType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<ContentTemplate>
createCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
CompletionStage<ContentBlueprintInstance>
createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
CompletionStage<Void>
deleteCompletionStage(ContentTemplateId contentTemplateId)
RemoteContentTemplateService.RemoteTemplateFinder
find(Expansion... expansions)
CompletionStage<ContentTemplate>
getTemplateCompletionStage(ContentTemplateId contentTemplateId, Expansion... expansions)
CompletionStage<PageResponse<ContentTemplate>>
getTemplatesCompletionStage(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
CompletionStage<ContentTemplate>
updateCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFutureOptional, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
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.RemoteContentTemplateService
create, createInstance, delete, getTemplate, getTemplates, getTemplates, update
-
-
-
-
Constructor Detail
-
RemoteContentTemplateServiceImpl
public RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executorService, ContentTemplateType templateType)
- Since:
- 8.8
-
RemoteContentTemplateServiceImpl
@Deprecated public RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executorService, ContentTemplateType templateType)
Deprecated.since 8.8
-
-
Method Detail
-
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
public CompletionStage<Void> deleteCompletionStage(ContentTemplateId contentTemplateId)
- Specified by:
deleteCompletionStage
in interfaceRemoteContentTemplateService
-
find
public RemoteContentTemplateService.RemoteTemplateFinder find(Expansion... expansions)
- Specified by:
find
in interfaceRemoteContentTemplateService
-
createInstanceCompletionStage
public CompletionStage<ContentBlueprintInstance> createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
- Specified by:
createInstanceCompletionStage
in interfaceRemoteContentTemplateService
-
-