Class DYFILegacyStorage

All Implemented Interfaces:
ProductStorage, Configurable

@Deprecated public class DYFILegacyStorage extends FileProductStorage
Deprecated.
Storage class used by DYFIIndexerWedge.
  • Constructor Details

    • DYFILegacyStorage

      public DYFILegacyStorage()
      Deprecated.
  • Method Details

    • getProductPath

      public 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 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:
      Exception - if an error occurs while checking.