Interface UrlAgent.MediaUrlEntry

All Superinterfaces:
UrlAgent.UrlEntry
Enclosing interface:
UrlAgent

public static interface UrlAgent.MediaUrlEntry extends UrlAgent.UrlEntry
Each instance of this interface represents an UrlAgent.UrlEntry for a Media.
Since:
5.2.180603
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Resolution
    Returns the resolution for which this media url entry is specified for.
    boolean
    Returns whether this media url entry is language independent or not.
    boolean
    Returns whether this media url entry represents a medium that contains a picture or a file.

    Note:
    This method will always return false if the corresponding element has been deleted.

    Methods inherited from interface de.espirit.firstspirit.agency.UrlAgent.UrlEntry

    getElementInfo, getLanguage, getPath, isElementDeleted
  • Method Details

    • getResolution

      @Nullable @Nullable Resolution getResolution()
      Returns the resolution for which this media url entry is specified for. This method may return null, if the corresponding resolution has been deleted.
      Returns:
      the resolution for which this media url entry is specified for. May return null, if the corresponding resolution has been deleted.
      Since:
      5.2.180603
      See Also:
    • isLanguageIndependent

      boolean isLanguageIndependent()
      Returns whether this media url entry is language independent or not.
      Returns:
      true if this media url entry is language independent, otherwise false
      Since:
      5.2.180603
    • isPicture

      boolean isPicture()
      Returns whether this media url entry represents a medium that contains a picture or a file.

      Note:
      This method will always return false if the corresponding element has been deleted.
      Returns:
      true if this media url entry represents a medium that contains a picture. Returns false if the corresponding element has been deleted or this media url entry represents a medium that contains a file.
      Since:
      5.2.180603