Class ContentEntityResourceIdentifierResolver
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.ContentEntityResourceIdentifierResolver
-
- All Implemented Interfaces:
ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject>
public class ContentEntityResourceIdentifierResolver extends Object implements ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject>
-
-
Constructor Summary
Constructors Constructor Description ContentEntityResourceIdentifierResolver(ContentDao contentDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentEntityObject
resolve(ContentEntityResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
-
-
-
Constructor Detail
-
ContentEntityResourceIdentifierResolver
public ContentEntityResourceIdentifierResolver(ContentDao contentDao)
-
-
Method Detail
-
resolve
public ContentEntityObject resolve(ContentEntityResourceIdentifier resourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
- Specified by:
resolve
in interfaceResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject>
- 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)
-
-