Class DYFILegacyStorage

    • Constructor Detail

      • DYFILegacyStorage

        public DYFILegacyStorage()
        Deprecated.
    • Method Detail

      • getProductPath

        public java.lang.String getProductPath​(ProductId id)
        Deprecated.
        Description copied from class: FileProductStorage
        A method for subclasses to override the storage path. The returned path is appended to the base directory when storing and retrieving products.
        Overrides:
        getProductPath in class FileProductStorage
        Parameters:
        id - the product id to convert.
        Returns:
        the directory used to store id.
      • hasProduct

        public boolean hasProduct​(ProductId id)
                           throws java.lang.Exception
        Deprecated.
        Description copied from class: FileProductStorage
        Check whether a product exists in storage.
        Specified by:
        hasProduct in interface ProductStorage
        Overrides:
        hasProduct in class FileProductStorage
        Parameters:
        id - the product to check.
        Returns:
        true if the product exists, false otherwise.
        Throws:
        java.lang.Exception - if an error occurs while checking.