Interface Addressable

All Known Implementing Classes:
AbstractPage, AddressableAttachment, AddressableComment, AddressablePage, AddressableSpace, Attachment, BlogPost, Comment, ContentEntityObject, CustomContentEntityObject, Draft, GlobalDescription, Label, Page, PersonalInformation, ReadOnlyAttachment, ReadOnlySpace, ReadOnlySpaceDescription, Space, SpaceContentEntityObject, SpaceDescription

public interface Addressable
Any addressable object has a URL and title.
  • Method Details

    • getId

      long getId()
    • getDisplayTitle

      String getDisplayTitle()
      Returns:
      the title of the addressable object, suitable for display in a list
    • getUrlPath

      String getUrlPath()
    • of

      static Optional<Addressable> of(Object entity)
      Provides a way to obtain an Addressable for entities that may not directly implement it.
      Since:
      9.3