public class RemoteContentTemplateServiceImpl extends AbstractRemoteService<ContentTemplateService> implements RemoteContentTemplateService
Modifier and Type | Class and Description |
---|---|
class |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl |
RemoteContentTemplateService.RemoteParameterTemplateFinder, RemoteContentTemplateService.RemoteSingleTemplateFetcher, RemoteContentTemplateService.RemoteTemplateFetcher, RemoteContentTemplateService.RemoteTemplateFinder
Constructor and Description |
---|
RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executorService,
ContentTemplateType templateType) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<ContentTemplate> |
create(ContentTemplate contentTemplate,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentBlueprintInstance> |
createInstance(ContentBlueprintInstance contentBlueprintInstance,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<Void> |
delete(ContentTemplateId contentTemplateId) |
RemoteContentTemplateService.RemoteTemplateFinder |
find(Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> |
getTemplates(ContentTemplateType contentTemplateType,
com.atlassian.fugue.Option<Space> space,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
update(ContentTemplate contentTemplate,
Expansion... expansions) |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
public RemoteContentTemplateServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executorService, ContentTemplateType templateType)
public com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> getTemplates(ContentTemplateType contentTemplateType, com.atlassian.fugue.Option<Space> space, PageRequest pageRequest, Expansion... expansions)
getTemplates
in interface RemoteContentTemplateService
public com.atlassian.util.concurrent.Promise<ContentTemplate> getTemplate(ContentTemplateId contentTemplateId, Expansion... expansions)
getTemplate
in interface RemoteContentTemplateService
public com.atlassian.util.concurrent.Promise<ContentTemplate> create(ContentTemplate contentTemplate, Expansion... expansions)
create
in interface RemoteContentTemplateService
public com.atlassian.util.concurrent.Promise<ContentTemplate> update(ContentTemplate contentTemplate, Expansion... expansions)
update
in interface RemoteContentTemplateService
public com.atlassian.util.concurrent.Promise<Void> delete(ContentTemplateId contentTemplateId)
delete
in interface RemoteContentTemplateService
public RemoteContentTemplateService.RemoteTemplateFinder find(Expansion... expansions)
find
in interface RemoteContentTemplateService
public com.atlassian.util.concurrent.Promise<ContentBlueprintInstance> createInstance(ContentBlueprintInstance contentBlueprintInstance, Expansion... expansions)
createInstance
in interface RemoteContentTemplateService
Copyright © 2003–2017 Atlassian. All rights reserved.