Class PageTemplateResourceIdentifierResolver
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.PageTemplateResourceIdentifierResolver
-
- All Implemented Interfaces:
ResourceIdentifierResolver<PageTemplateResourceIdentifier,PageTemplate>
public class PageTemplateResourceIdentifierResolver extends Object implements ResourceIdentifierResolver<PageTemplateResourceIdentifier,PageTemplate>
- Since:
- 7.5.0
-
-
Constructor Summary
Constructors Constructor Description PageTemplateResourceIdentifierResolver(PageTemplateDao pageTemplateDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageTemplate
resolve(PageTemplateResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
-
-
-
Constructor Detail
-
PageTemplateResourceIdentifierResolver
public PageTemplateResourceIdentifierResolver(PageTemplateDao pageTemplateDao)
-
-
Method Detail
-
resolve
public PageTemplate resolve(PageTemplateResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
- Specified by:
resolve
in interfaceResourceIdentifierResolver<PageTemplateResourceIdentifier,PageTemplate>
- Parameters:
resourceIdentifier
- resource identifierconversionContext
- the conversion context- Returns:
- the resource associated with the specified resource identifier (cannot be null)
- Throws:
CannotResolveResourceIdentifierException
- if the specified resource identifier cannot be resolved (this shouldn't typically happen unless someone has removed the resource)
-
-