Interface UrlAgent.UrlEntry

All Known Subinterfaces:
UrlAgent.MediaFolderUrlEntry, UrlAgent.MediaUrlEntry, UrlAgent.PageRefFolderUrlEntry, UrlAgent.PageRefUrlEntry
Enclosing interface:
UrlAgent

public static interface UrlAgent.UrlEntry
This interface represents a single url entry. Each instance can represent a seo or a short url and is always an instance of one of the following classes:
Since:
5.2.180603
See Also:
  • Method Details

    • isElementDeleted

      boolean isElementDeleted()
      Returns whether the corresponding element has been deleted (or is unavailable) in the current store.
      Returns:
      true if the element has been deleted (or is unavailable) in the current store, otherwise false
      Since:
      5.2.180603
    • getElementInfo

      @NotNull @NotNull BasicElementInfo getElementInfo()
      Returns a BasicElementInfo for this url entry. This method always returns a BasicElementInfo, even if the element has been deleted (or is unavailable) in the current store.
      Returns:
      a BasicElementInfo for this url entry
      Since:
      5.2.180603
      See Also:
    • getPath

      @NotNull @NotNull String getPath()
      Returns the url path for this url entry.
      Returns:
      the url path for this entry
      Since:
      5.2.180603
    • getLanguage

      @Nullable @Nullable Language getLanguage()
      Returns the language for which this url entry is specified for. This method may return null if this url entry is language independent (i.e. for media url entries.
      Returns:
      language for which this url entry is specified for, may be null for language independent url entries.
      Since:
      5.2.180603
      See Also: