Package org.dspace.handle.hdlresolver
Interface HdlResolverService
- All Known Implementing Classes:
HdlResolverServiceImpl
public interface HdlResolverService
- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanVerifies status of handle controllerlistHandles(Context context, String prefix) List all available handles with `prefix`List all available prefixes for this installationMethod that creates anHdlResovlerDTOusing the requestURI (full requested handle URI) and the path (REST handler URI)resolveToURL(Context context, HdlResolverDTO hdlResolver) Converts the hdlResovler into URL fetching it from repository using the DSpace context
-
Method Details
-
resolveBy
Method that creates anHdlResovlerDTOusing the requestURI (full requested handle URI) and the path (REST handler URI)- Parameters:
requestURI-path-- Returns:
HdlResolverDTO
-
resolveToURL
Converts the hdlResovler into URL fetching it from repository using the DSpace context- Parameters:
context-hdlResolver-- Returns:
- URL found or null
-
listPrefixes
List all available prefixes for this installation- Returns:
- `List
` of Handle prefixes
-
listHandles
List all available handles with `prefix`- Parameters:
context- DSpace contextprefix- prefix to search- Returns:
- `List
` of handles
-
isListhandlesEnabled
boolean isListhandlesEnabled()Verifies status of handle controller- Returns:
- `true` if enabled, `false` otherwise
-