Package com.atlassian.bonnie
Interface Searchable
- All Known Subinterfaces:
SearchableAttachment
- All Known Implementing Classes:
AbstractPage
,Attachment
,BlogPost
,Comment
,ContentEntityObject
,CustomContentEntityObject
,Draft
,GlobalDescription
,IndexableAttachment
,Page
,PersonalInformation
,ReadOnlyAttachment
,ReadOnlySpace
,ReadOnlySpaceDescription
,Space
,SpaceContentEntityObject
,SpaceDescription
public interface Searchable
Methods required by the indexing subsystem in order to properly handle object searching.
-
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
default Collection<Searchable>
When we un-index something (say, a page), we also need to un-index everything contained within that page (comments, attachments), because presumably they're all about to go away.boolean
Allows an object to tell the search indexer that it is not allowed to be indexed
-
Method Details
-
getId
long getId() -
getSearchableDependants
When we un-index something (say, a page), we also need to un-index everything contained within that page (comments, attachments), because presumably they're all about to go away. -
isIndexable
boolean isIndexable()Allows an object to tell the search indexer that it is not allowed to be indexed
-