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