Interface DataLayerSupplier


public interface DataLayerSupplier
Data layer field value supplier. A supplier for every possible Data Layer field is provided via this interface.
  • Field Details

    • EMPTY_SUPPLIER

      static final DataLayerSupplier EMPTY_SUPPLIER
      An empty DataLayerSupplier which has null values for all field value suppliers.
  • Method Details

    • getId

      @NotNull default @NotNull Supplier<@NotNull String> getId()
      Get the ID field value supplier.
      Returns:
      The ID field value supplier, or empty if not set.
    • getType

      @NotNull default @NotNull Optional<Supplier<String>> getType()
      Get the type field value supplier.
      Returns:
      The type field value supplier, or empty if not set.
    • getLastModifiedDate

      @NotNull default @NotNull Optional<Supplier<Date>> getLastModifiedDate()
      Get the last modified date field value supplier.
      Returns:
      The last modified data field value supplier, or empty if not set.
    • getParentId

      @NotNull default @NotNull Optional<Supplier<String>> getParentId()
      Get the parent ID field value supplier.
      Returns:
      The parent ID field value supplier, or empty if not set.
    • getTitle

      @NotNull default @NotNull Optional<Supplier<String>> getTitle()
      Get the title field value supplier.
      Returns:
      The title field value supplier, or empty if not set.
    • getDescription

      @NotNull default @NotNull Optional<Supplier<String>> getDescription()
      Get the description field value supplier.
      Returns:
      The description field value supplier, or empty if not set.
    • getText

      @NotNull default @NotNull Optional<Supplier<String>> getText()
      Get the text field value supplier.
      Returns:
      The text field value supplier, or empty if not set.
    • getLinkUrl

      @NotNull default @NotNull Optional<Supplier<String>> getLinkUrl()
      Get the link URL field value supplier.
      Returns:
      The link URL field value supplier, or empty if not set.
    • getShownItems

      @NotNull default @NotNull Optional<Supplier<String[]>> getShownItems()
      Get the shown items field value supplier.
      Returns:
      The shown items field value supplier, or empty if not set.
    • getUrl

      @NotNull default @NotNull Optional<Supplier<String>> getUrl()
      Get the URL field value supplier.
      Returns:
      The URL field value supplier, or empty if not set.
    • getFormat

      @NotNull default @NotNull Optional<Supplier<String>> getFormat()
      Get the format field value supplier.
      Returns:
      The format field value supplier, or empty if not set.
    • getTags

      @NotNull default @NotNull Optional<Supplier<String[]>> getTags()
      Get the tags field value supplier.
      Returns:
      The tags field value supplier, or empty if not set.
    • getSmartTags

      @NotNull default @NotNull Optional<Supplier<Map<String,Object>>> getSmartTags()
      Get the smart tags field value supplier.
      Returns:
      The smart tags field value supplier, or empty if not set.
    • getEmbeddableDetails

      @NotNull default @NotNull Optional<Supplier<Map<String,Object>>> getEmbeddableDetails()
      Get the embeddable details value supplier.
      Returns:
      The embeddable details value supplier, or empty if not set.
    • getAssetData

      @NotNull default @NotNull Optional<Supplier<AssetData>> getAssetData()
      Get the asset data field value supplier.
      Returns:
      The asset data field value supplier, or empty if not set.
    • getTemplatePath

      @NotNull default @NotNull Optional<Supplier<String>> getTemplatePath()
      Get the template path field value supplier.
      Returns:
      The template path field value supplier, or empty if not set.
    • getLanguage

      @NotNull default @NotNull Optional<Supplier<String>> getLanguage()
      Get the language field value supplier.
      Returns:
      The language field value supplier, or empty if not set.
    • getContentFragmentElements

      @NotNull default @NotNull Optional<Supplier<ContentFragmentData.ElementData[]>> getContentFragmentElements()
      Get the content fragment elements field value supplier.
      Returns:
      The content fragment elements field value supplier, or empty if not set.