Interface RemoteContentTemplateService
-
- All Known Implementing Classes:
RemoteContentTemplateServiceImpl
@ExperimentalApi public interface RemoteContentTemplateService
This is a template service interface shared by ContentTemplateService and BlueprintContentTemplateService, so we don't have to declare similar methods in two places.- Since:
- 5.10
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteContentTemplateService.RemoteParameterTemplateFinder
static interface
RemoteContentTemplateService.RemoteSingleTemplateFetcher
static interface
RemoteContentTemplateService.RemoteTemplateFetcher
static interface
RemoteContentTemplateService.RemoteTemplateFinder
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default com.atlassian.util.concurrent.Promise<ContentTemplate>
create(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentTemplate>
createCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<ContentBlueprintInstance>
createInstance(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentBlueprintInstance>
createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<Void>
delete(ContentTemplateId contentTemplateId)
Deprecated.since 7.0.1.CompletionStage<Void>
deleteCompletionStage(ContentTemplateId contentTemplateId)
RemoteContentTemplateService.RemoteTemplateFinder
find(Expansion... expansions)
default com.atlassian.util.concurrent.Promise<ContentTemplate>
getTemplate(ContentTemplateId contentTemplateId, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentTemplate>
getTemplateCompletionStage(ContentTemplateId contentTemplateId, Expansion... expansions)
default 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.default com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>>
getTemplates(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<PageResponse<ContentTemplate>>
getTemplatesCompletionStage(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
default com.atlassian.util.concurrent.Promise<ContentTemplate>
update(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<ContentTemplate>
updateCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
-
-
-
Method Detail
-
getTemplates
@Deprecated default 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.
-
getTemplates
@Deprecated default com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> getTemplates(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1. UsegetTemplatesCompletionStage(ContentTemplateType, Optional, PageRequest, Expansion...)
instead.
-
getTemplatesCompletionStage
CompletionStage<PageResponse<ContentTemplate>> getTemplatesCompletionStage(ContentTemplateType contentTemplateType, Optional<Space> space, PageRequest pageRequest, Expansion... expansions)
-
getTemplate
@Deprecated default com.atlassian.util.concurrent.Promise<ContentTemplate> getTemplate(ContentTemplateId contentTemplateId, Expansion... expansions)
Deprecated.since 7.0.1. UsegetTemplateCompletionStage(ContentTemplateId, Expansion...)
instead.
-
getTemplateCompletionStage
CompletionStage<ContentTemplate> getTemplateCompletionStage(ContentTemplateId contentTemplateId, Expansion... expansions)
- Since:
- 7.0.1
-
create
@Deprecated default com.atlassian.util.concurrent.Promise<ContentTemplate> create(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1. UsecreateCompletionStage(ContentTemplate, Expansion...)
instead.
-
update
@Deprecated default com.atlassian.util.concurrent.Promise<ContentTemplate> update(ContentTemplate contentTemplate, Expansion... expansions)
Deprecated.since 7.0.1. UseupdateCompletionStage(ContentTemplate, Expansion...)
instead.
-
delete
@Deprecated default com.atlassian.util.concurrent.Promise<Void> delete(ContentTemplateId contentTemplateId)
Deprecated.since 7.0.1. UsedeleteCompletionStage(ContentTemplateId)
instead.
-
createCompletionStage
CompletionStage<ContentTemplate> createCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
- Since:
- 7.0.1
-
updateCompletionStage
CompletionStage<ContentTemplate> updateCompletionStage(ContentTemplate contentTemplate, Expansion... expansions)
- Since:
- 7.0.1
-
deleteCompletionStage
CompletionStage<Void> deleteCompletionStage(ContentTemplateId contentTemplateId)
- Since:
- 7.0.1
-
find
RemoteContentTemplateService.RemoteTemplateFinder find(Expansion... expansions)
-
createInstance
@Deprecated default com.atlassian.util.concurrent.Promise<ContentBlueprintInstance> createInstance(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
Deprecated.since 7.0.1. UsecreateInstanceCompletionStage(ContentBlueprintInstance, Expansion...)
instead.
-
createInstanceCompletionStage
CompletionStage<ContentBlueprintInstance> createInstanceCompletionStage(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
- Since:
- 7.0.1
-
-