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 Object
- implements AttachmentContainerResourceIdentifier, NamedResourceIdentifier
PageResourceIdentifier
public PageResourceIdentifier(String title)
PageResourceIdentifier
public PageResourceIdentifier(String spaceKey,
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 String getSpaceKey()
getTitle
public String getTitle()
getResourceName
public String getResourceName()
- Specified by:
getResourceName
in interface NamedResourceIdentifier
isPopulated
public boolean isPopulated()
- Returns:
- true if this resource identifier is populated with data.
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-2012 Atlassian. All Rights Reserved.