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

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifierResolver
All Implemented Interfaces:
ResourceIdentifierResolver<SpaceResourceIdentifier,Space>

public class SpaceResourceIdentifierResolver
extends java.lang.Object
implements ResourceIdentifierResolver<SpaceResourceIdentifier,Space>


Constructor Summary
SpaceResourceIdentifierResolver(SpaceManager spaceManager)
           
 
Method Summary
 Space resolve(SpaceResourceIdentifier resourceIdentifier, ConversionContext conversionContext)
          Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceResourceIdentifierResolver

public SpaceResourceIdentifierResolver(SpaceManager spaceManager)
Method Detail

resolve

public Space resolve(SpaceResourceIdentifier resourceIdentifier,
                     ConversionContext conversionContext)
              throws CannotResolveResourceIdentifierException
Resolves a SpaceResourceIdentifier to a Space if a Space for the given spacekey exists.

Specified by:
resolve in interface ResourceIdentifierResolver<SpaceResourceIdentifier,Space>
Parameters:
resourceIdentifier - The SpaceResourceIdentifier that will be used to resolve the Space
conversionContext - Not used in this impl
Returns:
A Space if one can be resolved from the SpaceManager, null otherwise.
Throws:
CannotResolveResourceIdentifierException - If the spacekey in the supplied SpaceResourceIdentifier is null.


Copyright © 2003-2014 Atlassian. All Rights Reserved.