Class ProductService

java.lang.Object
gov.nasa.pds.registry.common.es.service.ProductService

public class ProductService extends Object
Processes manager commands, such as SET_ARCHIVE_STATUS
Author:
karpenko
  • Constructor Details

    • ProductService

      public ProductService(ProductDao dao)
      Constructor
  • Method Details

    • updateArchiveStatus

      public void updateArchiveStatus(List<String> lidvids, String status) throws Exception
      Throws:
      Exception
    • updateArchiveStatus

      public void updateArchiveStatus(String lidvid, String status) throws Exception
      Set archive status
      Parameters:
      lidvid - ID of a product to update. If it is a collection, update primary references from collection inventory.
      status - new status
      Throws:
      Exception - an exception