Interface DataLayerSupplier
public interface DataLayerSupplier
Data layer field value supplier.
A supplier for every possible Data Layer field is provided via this interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataLayerSupplierAn empty DataLayerSupplier which has null values for all field value suppliers. -
Method Summary
Modifier and TypeMethodDescriptionGet the asset data field value supplier.default @NotNull Optional<Supplier<ContentFragmentData.ElementData[]>> Get the content fragment elements field value supplier.Get the description field value supplier.Get the embeddable details value supplier.Get the format field value supplier.getId()Get the ID field value supplier.Get the language field value supplier.Get the last modified date field value supplier.Get the link URL field value supplier.Get the parent ID field value supplier.Get the shown items field value supplier.Get the smart tags field value supplier.getTags()Get the tags field value supplier.Get the template path field value supplier.getText()Get the text field value supplier.getTitle()Get the title field value supplier.getType()Get the type field value supplier.getUrl()Get the URL field value supplier.
-
Field Details
-
EMPTY_SUPPLIER
An empty DataLayerSupplier which has null values for all field value suppliers.
-
-
Method Details
-
getId
Get the ID field value supplier.- Returns:
- The ID field value supplier, or empty if not set.
-
getType
Get the type field value supplier.- Returns:
- The type field value supplier, or empty if not set.
-
getLastModifiedDate
Get the last modified date field value supplier.- Returns:
- The last modified data field value supplier, or empty if not set.
-
getParentId
Get the parent ID field value supplier.- Returns:
- The parent ID field value supplier, or empty if not set.
-
getTitle
Get the title field value supplier.- Returns:
- The title field value supplier, or empty if not set.
-
getDescription
Get the description field value supplier.- Returns:
- The description field value supplier, or empty if not set.
-
getText
Get the text field value supplier.- Returns:
- The text field value supplier, or empty if not set.
-
getLinkUrl
Get the link URL field value supplier.- Returns:
- The link URL field value supplier, or empty if not set.
-
getShownItems
Get the shown items field value supplier.- Returns:
- The shown items field value supplier, or empty if not set.
-
getUrl
Get the URL field value supplier.- Returns:
- The URL field value supplier, or empty if not set.
-
getFormat
Get the format field value supplier.- Returns:
- The format field value supplier, or empty if not set.
-
getTags
Get the tags field value supplier.- Returns:
- The tags field value supplier, or empty if not set.
-
getSmartTags
Get the smart tags field value supplier.- Returns:
- The smart tags field value supplier, or empty if not set.
-
getEmbeddableDetails
Get the embeddable details value supplier.- Returns:
- The embeddable details value supplier, or empty if not set.
-
getAssetData
Get the asset data field value supplier.- Returns:
- The asset data field value supplier, or empty if not set.
-
getTemplatePath
Get the template path field value supplier.- Returns:
- The template path field value supplier, or empty if not set.
-
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.
-