Interface DeeplinkUrlService

All Known Implementing Classes:
DeeplinkUrlServiceImpl

public interface DeeplinkUrlService
The Interface DeeplinkUrlService. Service responsible for generating URLs for use with barcodes.
Spring Bean ID:
deeplinkUrlService
  • Method Details

    • generateUrl

      DeeplinkUrlService.LongUrlInfo generateUrl(String barcodeToken)
      Generate long url.
      Parameters:
      barcodeToken - the barcode token
      Returns:
      the LongUrlInfo object
    • generateShortUrl

      String generateShortUrl(DeeplinkUrlModel deeplinkUrlModel, Object contextObject)
      Generate short url.
      Parameters:
      deeplinkUrlModel - the deeplink url model
      contextObject - the context object
      Returns:
      the string
    • parseTemplate

      String parseTemplate(String template, org.apache.velocity.VelocityContext context)
      Parses the template.
      Parameters:
      template - the template
      context - the context
      Returns:
      the string