Class SpaceKeyHandle

java.lang.Object
com.atlassian.confluence.internal.search.tasks.SpaceKeyHandle
All Implemented Interfaces:
Handle, Serializable

@LuceneIndependent public class SpaceKeyHandle extends Object implements Handle
The spaceKey is sufficient to serve as the handle for spaces stored in the index.
Since:
7.9.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    The toString() method of a Handle must be written so that the AnyTypeObjectDao (for example) can resolve the String representation of a Handle back to a Handle object, and thus find the referenced object

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SpaceKeyHandle

      public SpaceKeyHandle(String key)
  • Method Details

    • toString

      public String toString()
      Description copied from interface: Handle
      The toString() method of a Handle must be written so that the AnyTypeObjectDao (for example) can resolve the String representation of a Handle back to a Handle object, and thus find the referenced object
      Specified by:
      toString in interface Handle
      Overrides:
      toString in class Object
      Returns:
      a String representation of this Handle that can be resolved back to the same object.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object