com.atlassian.confluence.it
Class Location

java.lang.Object
  extended by com.atlassian.confluence.it.Location

public class Location
extends Object

Represents the location of a page, as a parent page plus space.


Constructor Summary
Location(Page parentPage)
           
Location(Space space)
          Located at the root of a space (i.e.
Location(Space space, String parentPageTitle)
           
Location(String spaceKey, String parentPageTitle)
           
 
Method Summary
 boolean equals(Object o)
           
 String getParentPageTitle()
           
 String getSpaceKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(String spaceKey,
                String parentPageTitle)

Location

public Location(Space space,
                String parentPageTitle)

Location

public Location(Space space)
Located at the root of a space (i.e. no parent page).


Location

public Location(Page parentPage)
Method Detail

getSpaceKey

public String getSpaceKey()

getParentPageTitle

public String getParentPageTitle()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.