Class ContentTemplate
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.template.ContentTemplate
-
- All Implemented Interfaces:
NavigationAware
@ExperimentalApi public class ContentTemplate extends Object implements NavigationAware
Model object for CRUD operation on template.- Since:
- 5.10
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentTemplate.ContentTemplateBuilder
static class
ContentTemplate.Expansions
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContentTemplate.ContentTemplateBuilder
builder()
Map<ContentRepresentation,ContentBody>
getBody()
String
getDescription()
List<Label>
getLabels()
String
getName()
com.atlassian.fugue.Option<ModuleCompleteKey>
getOriginalTemplate()
Deprecated.since 7.0.1.com.atlassian.fugue.Option<ContentBlueprintId>
getReferencingBlueprint()
Deprecated.since 7.0.1.com.atlassian.fugue.Option<Space>
getSpace()
Deprecated.since 7.0.1.ContentTemplateId
getTemplateId()
ContentTemplateType
getTemplateType()
Optional<ModuleCompleteKey>
originalTemplate()
Optional<ContentBlueprintId>
referencingBlueprint()
Navigation.Builder
resolveNavigation(NavigationService navigationService)
Optional<Space>
space()
-
-
-
Method Detail
-
getBody
public Map<ContentRepresentation,ContentBody> getBody()
-
getTemplateId
public ContentTemplateId getTemplateId()
-
getOriginalTemplate
@Deprecated public com.atlassian.fugue.Option<ModuleCompleteKey> getOriginalTemplate()
Deprecated.since 7.0.1. UseoriginalTemplate()
-
originalTemplate
public Optional<ModuleCompleteKey> originalTemplate()
- Since:
- 7.0.1
-
getReferencingBlueprint
@Deprecated public com.atlassian.fugue.Option<ContentBlueprintId> getReferencingBlueprint()
Deprecated.since 7.0.1. UsereferencingBlueprint()
-
referencingBlueprint
public Optional<ContentBlueprintId> referencingBlueprint()
- Since:
- 7.0.1
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getSpace
@Deprecated public com.atlassian.fugue.Option<Space> getSpace()
Deprecated.since 7.0.1. Usespace()
-
getTemplateType
public ContentTemplateType getTemplateType()
-
builder
public static ContentTemplate.ContentTemplateBuilder builder()
-
resolveNavigation
public Navigation.Builder resolveNavigation(NavigationService navigationService)
- Specified by:
resolveNavigation
in interfaceNavigationAware
-
-