com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Class PageResourceIdentifier
java.lang.Object
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.PageResourceIdentifier
- All Implemented Interfaces:
- AttachmentContainerResourceIdentifier, NamedResourceIdentifier, ResourceIdentifier
public class PageResourceIdentifier
- extends java.lang.Object
- implements AttachmentContainerResourceIdentifier, NamedResourceIdentifier
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PageResourceIdentifier
public PageResourceIdentifier(java.lang.String title)
PageResourceIdentifier
public PageResourceIdentifier(java.lang.String spaceKey,
java.lang.String title)
- Create a new identifier for a PageResource. Space key is optional (as it can be resolved from the context).
- Parameters:
spaceKey
- (optional) the key of the space the page is in, or null to derive it from context.title
- (required) the title of the page
getSpaceKey
public java.lang.String getSpaceKey()
getTitle
public java.lang.String getTitle()
getResourceName
public java.lang.String getResourceName()
- Specified by:
getResourceName
in interface NamedResourceIdentifier
isPopulated
public boolean isPopulated()
- Returns:
- true if this resource identifier is populated with data.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.