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 Detail

      • generateUrl

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

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

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