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
-
Constructor Summary
ConstructorDescriptionPageResourceIdentifier
(String title) PageResourceIdentifier
(String spaceKey, String title) Create a new identifier for a PageResource. -
Method Summary
-
Constructor Details
-
PageResourceIdentifier
-
PageResourceIdentifier
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
-
-
Method Details
-
getSpaceKey
-
getTitle
-
getResourceName
- Specified by:
getResourceName
in interfaceNamedResourceIdentifier
-
isPopulated
public boolean isPopulated()- Returns:
- true if this resource identifier is populated with data.
-
toString
-
equals
-
hashCode
public int hashCode()
-