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)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<ContentTemplate>
create(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentTemplate>
createCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
com.atlassian.util.concurrent.Promise<ContentBlueprintInstance>
createInstance(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentBlueprintInstance>
createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
com.atlassian.util.concurrent.Promise<Void>
delete(ContentTemplateId contentTemplateId)
Deprecated.since 7.0.1.CompletionStage<Void>
deleteCompletionStage(ContentTemplateId contentTemplateId)
RemoteContentTemplateService.RemoteTemplateFinder
find(Expansion... expansions)
com.atlassian.util.concurrent.Promise<ContentTemplate>
getTemplate(ContentTemplateId contentTemplateId, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentTemplate>
getTemplateCompletionStage(ContentTemplateId contentTemplateId, Expansion... expansions)
com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>>
getTemplates(ContentTemplateType contentTemplateType, com.atlassian.fugue.Option<Space> space, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<PageResponse<ContentTemplate>>
getTemplatesCompletionStage(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
com.atlassian.util.concurrent.Promise<ContentTemplate>
update(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1.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, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, 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
getTemplates
-
-
-
-
Constructor Detail
-
RemoteContentTemplateServiceImpl
public RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executorService, ContentTemplateType templateType)
-
-
Method Detail
-
getTemplates
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> getTemplates(ContentTemplateType contentTemplateType, com.atlassian.fugue.Option<Space> space, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1. UsegetTemplatesCompletionStage(ContentTemplateType, Optional, PageRequest, Expansion...)
instead.- Specified by:
getTemplates
in interfaceRemoteContentTemplateService
-
getTemplatesCompletionStage
public CompletionStage<PageResponse<ContentTemplate>> getTemplatesCompletionStage(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
- Specified by:
getTemplatesCompletionStage
in interfaceRemoteContentTemplateService
-
getTemplate
@Deprecated public com.atlassian.util.concurrent.Promise<ContentTemplate> getTemplate(ContentTemplateId contentTemplateId, Expansion... expansions)
Deprecated.since 7.0.1. UsegetTemplateCompletionStage(ContentTemplateId, Expansion...)
instead.- Specified by:
getTemplate
in interfaceRemoteContentTemplateService
-
getTemplateCompletionStage
public CompletionStage<ContentTemplate> getTemplateCompletionStage(ContentTemplateId contentTemplateId, Expansion... expansions)
- Specified by:
getTemplateCompletionStage
in interfaceRemoteContentTemplateService
-
create
@Deprecated public com.atlassian.util.concurrent.Promise<ContentTemplate> create(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1. UsecreateCompletionStage(ContentTemplate, Expansion...)
instead.- Specified by:
create
in interfaceRemoteContentTemplateService
-
update
@Deprecated public com.atlassian.util.concurrent.Promise<ContentTemplate> update(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1. UseupdateCompletionStage(ContentTemplate, Expansion...)
instead.- Specified by:
update
in interfaceRemoteContentTemplateService
-
delete
@Deprecated public com.atlassian.util.concurrent.Promise<Void> delete(ContentTemplateId contentTemplateId)
Deprecated.since 7.0.1. UsedeleteCompletionStage(ContentTemplateId)
instead.- Specified by:
delete
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
-
createInstance
@Deprecated public com.atlassian.util.concurrent.Promise<ContentBlueprintInstance> createInstance(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
Deprecated.since 7.0.1. UsecreateInstanceCompletionStage(ContentBlueprintInstance, Expansion...)
instead.- Specified by:
createInstance
in interfaceRemoteContentTemplateService
-
createInstanceCompletionStage
public CompletionStage<ContentBlueprintInstance> createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
- Specified by:
createInstanceCompletionStage
in interfaceRemoteContentTemplateService
-
-