Package com.atlassian.confluence.core
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 Summary
Modifier and TypeMethodDescriptionlong
getId()
static Optional<Addressable>
Provides a way to obtain anAddressable
for entities that may not directly implement it.
-
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
Provides a way to obtain anAddressable
for entities that may not directly implement it.- Since:
- 9.3
-