Class CatalogueResolverCallBuilder
- java.lang.Object
-
- org.gcube.portlets.user.uriresolvermanager.entity.GenericResolver
-
- org.gcube.portlets.user.uriresolvermanager.resolvers.CatalogueResolverCallBuilder
-
- All Implemented Interfaces:
Resolver
public class CatalogueResolverCallBuilder extends GenericResolver
The Class CatalogueResolverCallBuilder.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Nov 5, 2021
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description CatalogueResolverCallBuilder(String resourceName, String entryName)Instantiates a new catalogue resolver wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLink(String baseURI, Map<String,String> parameters)Gets the link.StringshortLink(String theLink, Map<String,String> parameters)Short link.-
Methods inherited from class org.gcube.portlets.user.uriresolvermanager.entity.GenericResolver
getEntryName, getResourceName, setEntryName, setResourceName, toString
-
-
-
-
Method Detail
-
getLink
public String getLink(String baseURI, Map<String,String> parameters) throws Exception
Gets the link.- Specified by:
getLinkin interfaceResolver- Overrides:
getLinkin classGenericResolver- Parameters:
baseURI- the base URIparameters- the parameters- Returns:
- the link
- Throws:
Exception- the exception
-
shortLink
public String shortLink(String theLink, Map<String,String> parameters) throws Exception
Short link.- Specified by:
shortLinkin interfaceResolver- Overrides:
shortLinkin classGenericResolver- Parameters:
theLink- the the linkparameters- the parameters- Returns:
- the string
- Throws:
Exception- the exception
-
-