public interface AssetData
Interface defining data for assets.
Since:
com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
  • Method Details

    • getId

      default String getId()
      Returns the JCR id of the asset
      Returns:
      Asset JCR id
      Since:
      com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
    • getUrl

      default String getUrl()
      Returns the asset URL
      Returns:
      Asset URL
      Since:
      com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
    • getFormat

      default String getFormat()
      Returns the asset format
      Returns:
      Asset format
      Since:
      com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
    • getTags

      default String[] getTags()
      Returns the asset tags
      Returns:
      Asset tags
      Since:
      com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
    • getLastModifiedDate

      default Date getLastModifiedDate()
      Returns the asset last modified date
      Returns:
      Asset last modified date
      Since:
      com.adobe.cq.wcm.core.components.models.datalayer 1.0.0
    • getSmartTags

      default Map<String,Object> getSmartTags()
      Returns the asset smart tags
      Returns:
      Asset smart tags
      Since:
      com.adobe.cq.wcm.core.components.models.datalayer 1.1.0