com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Class DraftResourceIdentifierResolver

java.lang.Object
  extended by 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
DraftResourceIdentifierResolver(DraftManager draftManager)
           
 
Method Summary
 Draft resolve(DraftResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraftResourceIdentifierResolver

public DraftResourceIdentifierResolver(DraftManager draftManager)
Method Detail

resolve

public Draft resolve(DraftResourceIdentifier resourceIdentifier,
                     ConversionContext conversionContext)
              throws CannotResolveResourceIdentifierException
Specified by:
resolve in interface ResourceIdentifierResolver<DraftResourceIdentifier,Draft>
Parameters:
resourceIdentifier - resource identifier
conversionContext - 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)


Copyright © 2003–2015 Atlassian. All rights reserved.