com.atlassian.bonnie
Interface Searchable

All Known Subinterfaces:
SearchableAttachment

public interface Searchable

Methods required by the indexing subsystem in order to properly handle object searching.


Method Summary
 long getId()
           
 java.util.Collection 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.
 boolean isIndexable()
          Allows an object to tell the search indexer that it is not allowed to be indexed
 

Method Detail

getId

long getId()

getSearchableDependants

java.util.Collection 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



Copyright © 2006-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.