Interface ResourceIdentifierResolver<X extends ResourceIdentifier,Y>
-
- Type Parameters:
X
- the type of the resource identifierY
- the type of the resource
- All Known Implementing Classes:
AttachmentOwningContentResolver
,AttachmentResourceIdentifierOnlyUriResolver
,AttachmentResourceIdentifierResolver
,BlogPostResourceIdentifierResolver
,ContentEntityResourceIdentifierResolver
,DraftResourceIdentifierResolver
,IdAndTypeResourceIdentifierResolver
,PageResourceIdentifierResolver
,PageTemplateResourceIdentifierResolver
,SpaceResourceIdentifierResolver
public interface ResourceIdentifierResolver<X extends ResourceIdentifier,Y>
Responsible for resolving or locating the actual resource identified by a resource identifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Y
resolve(X resourceIdentifier, ConversionContext conversionContext)
-
-
-
Method Detail
-
resolve
Y resolve(X resourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
- 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)
-
-