Modifier and Type | Class and Description |
---|---|
static class |
ContentTemplateId.ContentTemplateIdWithId
Content template resolved by Id
|
static class |
ContentTemplateId.ContentTemplateIdWithKeys
Content template resolved by full Module Key and Space Key
|
static class |
ContentTemplateId.ContentTemplateIdWithUUID
Content template resolved by UUID
|
Modifier and Type | Method and Description |
---|---|
static ContentTemplateId |
ContentTemplateId.fromLong(long templateId) |
static ContentTemplateId |
ContentTemplateId.fromString(String value) |
ContentTemplateId |
ContentTemplate.getTemplateId() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<ContentTemplateId> |
ContentBlueprintSpec.getContentTemplateId() |
Modifier and Type | Method and Description |
---|---|
ContentBlueprintSpec.ContentBlueprintSpecBuilder |
ContentBlueprintSpec.ContentBlueprintSpecBuilder.contentTemplateId(ContentTemplateId contentTemplateId) |
ContentTemplate.ContentTemplateBuilder |
ContentTemplate.ContentTemplateBuilder.templateId(ContentTemplateId templateId) |
Modifier and Type | Method and Description |
---|---|
void |
ContentTemplateService.delete(ContentTemplateId contentTemplateId)
Delete a template for global or space, for blueprint template it means remove the template and revert to use the default template
from the plugin.
|
ContentTemplate |
ContentTemplateService.getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions)
Return an individual template.
|
ValidationResult |
ContentTemplateService.Validator.validateDelete(ContentTemplateId contentTemplateId)
Validate that a piece of contentTemplate can be deleted, including permission checks.
|
ValidationResult |
ContentTemplateService.Validator.validateGet(ContentTemplateId contentTemplateId)
Validate that current user has permission to view a particular template.
|
SingleFetcher<ContentTemplate> |
ContentTemplateService.TemplateFinder.withId(ContentTemplateId contentTemplateId) |
Modifier and Type | Method and Description |
---|---|
ContentTemplateId |
PageTemplate.getContentTemplateId() |
Modifier and Type | Method and Description |
---|---|
ContentBlueprintInstance |
TemplateResource.createInstance(ContentBlueprintInstance contentBlueprintInstance,
ContentTemplateId contentTemplateId,
String expand) |
ContentTemplate |
TemplateResource.getContentTemplate(ContentTemplateId id,
String expand)
Return the template identified by id.
|
javax.ws.rs.core.Response |
TemplateResource.removeTemplate(ContentTemplateId contentTemplateId)
Delete an existing customised contentTemplate, for blueprint template this means revert to default template from plugin and remove
the customised version of template.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentTemplateService.delete(ContentTemplateId contentTemplateId) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateService.getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions) |
RemoteContentTemplateService.RemoteSingleTemplateFetcher |
RemoteContentTemplateService.RemoteTemplateFinder.withId(ContentTemplateId contentTemplateId) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentTemplateServiceImpl.delete(ContentTemplateId contentTemplateId) |
com.atlassian.util.concurrent.Promise<ContentTemplate> |
RemoteContentTemplateServiceImpl.getTemplate(ContentTemplateId contentTemplateId,
Expansion... expansions) |
RemoteContentTemplateService.RemoteSingleTemplateFetcher |
RemoteContentTemplateServiceImpl.RemoteTemplateFinderImpl.withId(ContentTemplateId contentTemplateId) |
Copyright © 2003–2018 Atlassian. All rights reserved.