Package | Description |
---|---|
com.atlassian.confluence.api.impl.service.content.factory | |
com.atlassian.confluence.api.model.content.template | |
com.atlassian.confluence.api.nav | |
com.atlassian.confluence.api.service.content.template | |
com.atlassian.confluence.api.testsupport.matchers.model.content.template | |
com.atlassian.confluence.plugins.restapi.experimental.resources | |
com.atlassian.confluence.rest.client |
This package contains the code which communicates with Confluence via REST API.
|
com.atlassian.confluence.rest.client.impl |
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
DefaultContentTemplateFactory.buildFrom(PageTemplate hibernateObject,
Expansions expansions)
Convert from db entity object into model object.
|
ContentTemplate |
ContentTemplateFactory.buildFrom(PageTemplate hibernateObject,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
ContentTemplate.ContentTemplateBuilder.build() |
Modifier and Type | Method and Description |
---|---|
Navigation.ExperimentalContentTemplateNav |
Navigation.ExperimentalNav.template(ContentTemplate contentTemplate) |
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
ContentTemplateService.create(ContentTemplate contentTemplate,
Expansion... expand)
Create Template.
|
ContentTemplate |
ContentTemplateService.getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions)
Return an individual template.
|
ContentTemplate |
ContentTemplateService.update(ContentTemplate contentTemplate,
Expansion... expansions)
Update an existing template
|
Modifier and Type | Method and Description |
---|---|
PageResponse<ContentTemplate> |
ContentTemplateService.getTemplates(ContentTemplateType contentTemplateType,
com.atlassian.fugue.Option<Space> space,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
|
default PageResponse<ContentTemplate> |
ContentTemplateService.getTemplates(ContentTemplateType contentTemplateType,
Optional<Space> space,
PageRequest pageRequest,
Expansion... expansions)
Returns templates of the current space, or returns global templates if no space specified.
|
SingleFetcher<ContentTemplate> |
ContentTemplateService.TemplateFinder.withId(ContentTemplateId contentTemplateId) |
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
ContentTemplateService.create(ContentTemplate contentTemplate,
Expansion... expand)
Create Template.
|
ContentTemplate |
ContentTemplateService.update(ContentTemplate contentTemplate,
Expansion... expansions)
Update an existing template
|
ValidationResult |
ContentTemplateService.Validator.validateCreate(ContentTemplate newContentTemplate)
Validate that the specified contentTemplate can be created by the current user.
|
ValidationResult |
ContentTemplateService.Validator.validateUpdate(ContentTemplate contentTemplate) |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<ContentTemplate> |
ContentTemplateMatchers.hasName(String name) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ContentTemplateNameMatcher.matchesSafely(ContentTemplate contentTemplate) |
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
TemplateResource.createContentTemplate(ContentTemplate contentTemplate,
String expand)
Create a contentTemplate, this means creating a new page template or a customised blueprint template.
|
ContentTemplate |
TemplateResource.getContentTemplate(ContentTemplateId id,
String expand)
Return the template identified by id.
|
ContentTemplate |
TemplateResource.updateContentTemplate(ContentTemplate contentTemplate,
String expand)
Update/Edit an existing contentTemplate.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<ContentTemplate> |
TemplateResource.getBlueprintTemplates(String spaceKey,
int start,
int limit,
String expand,
javax.ws.rs.core.UriInfo uriInfo)
Returns all blueprint templates of the space specified.
|
PageResponse<ContentTemplate> |
TemplateResource.getContentTemplates(String spaceKey,
int start,
int limit,
String expand,
javax.ws.rs.core.UriInfo uriInfo)
Returns all content templates of the space specified.
|
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
TemplateResource.createContentTemplate(ContentTemplate contentTemplate,
String expand)
Create a contentTemplate, this means creating a new page template or a customised blueprint template.
|
ContentTemplate |
TemplateResource.updateContentTemplate(ContentTemplate contentTemplate,
String expand)
Update/Edit an existing contentTemplate.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateService.create(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateService.createCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateService.createCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> |
RemoteContentTemplateService.RemoteTemplateFetcher.fetchMany(PageRequest request) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateService.getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateService.getTemplateCompletionStage(ContentTemplateId, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateService.getTemplateCompletionStage(ContentTemplateId contentTemplateId,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> |
RemoteContentTemplateService.getTemplates(ContentTemplateType contentTemplateType,
com.atlassian.fugue.Option<Space> space,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
|
default com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> |
RemoteContentTemplateService.getTemplates(ContentTemplateType contentTemplateType,
Optional<Space> space,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
|
CompletionStage<PageResponse<ContentTemplate>> |
RemoteContentTemplateService.getTemplatesCompletionStage(ContentTemplateType contentTemplateType,
Optional<Space> space,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateService.update(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateService.updateCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateService.updateCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateService.create(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateService.createCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateService.createCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateService.update(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateService.updateCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateService.updateCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.create(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.createCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateServiceImpl.createCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
CompletionStage<Optional<ContentTemplate>> |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchCompletionStage() |
com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchMany(PageRequest request)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchManyCompletionStage(PageRequest) instead. |
CompletionStage<PageResponse<ContentTemplate>> |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchManyCompletionStage(PageRequest request) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<ContentTemplate>> |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchOne()
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchCompletionStage() instead. |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchOneOrNull()
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchOrNullCompletionStage() instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.fetchOrNullCompletionStage() |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.getTemplateCompletionStage(ContentTemplateId, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateServiceImpl.getTemplateCompletionStage(ContentTemplateId contentTemplateId,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<PageResponse<ContentTemplate>> |
RemoteContentTemplateServiceImpl.getTemplates(ContentTemplateType contentTemplateType,
com.atlassian.fugue.Option<Space> space,
PageRequest pageRequest,
Expansion... expansions)
Deprecated.
|
CompletionStage<PageResponse<ContentTemplate>> |
RemoteContentTemplateServiceImpl.getTemplatesCompletionStage(ContentTemplateType contentTemplateType,
Optional<Space> space,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.update(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.updateCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateServiceImpl.updateCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.create(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.createCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateServiceImpl.createCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.update(ContentTemplate contentTemplate,
Expansion... expansions)
Deprecated.
since 7.0.1. Use
RemoteContentTemplateServiceImpl.updateCompletionStage(ContentTemplate, Expansion...) instead. |
CompletionStage<ContentTemplate> |
RemoteContentTemplateServiceImpl.updateCompletionStage(ContentTemplate contentTemplate,
Expansion... expansions) |
Copyright © 2003–2020 Atlassian. All rights reserved.