Class PromaResourceExtractor

java.lang.Object
de.xima.fc.proma.resource.PromaResourceExtractor

public final class PromaResourceExtractor extends Object
Utility methods to extract data from PROMA API models. This is the opposite of PromaResourceFactory.
Since:
8.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Method Details

    • extractImageLinks

      public static List<String> extractImageLinks(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version)
      Extracts all image links from a given version. Each link can be accessed via an HTTP GET request.
      Parameters:
      version - Version to process.
      Returns:
      All image links, if any, or empty when there are no links.
    • extractGuiImages

      public static List<GuiImage> extractGuiImages(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version)
      Extracts all image links with their description from a given version. Each link can be accessed via an HTTP GET request.
      Parameters:
      version - Version to process.
      Returns:
      All image links, if any, or empty when there are no links.