com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Class BlogPostResourceIdentifier

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.BlogPostsForDateResourceIdentifier
      extended by com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.BlogPostResourceIdentifier
All Implemented Interfaces:
AttachmentContainerResourceIdentifier, NamedResourceIdentifier, ResourceIdentifier

public class BlogPostResourceIdentifier
extends BlogPostsForDateResourceIdentifier
implements AttachmentContainerResourceIdentifier, NamedResourceIdentifier

Restrict BlogPostsForDateDto to a single BlogPost on a date.


Constructor Summary
BlogPostResourceIdentifier(String spaceKey, String title, Calendar postingDay)
           
 
Method Summary
 boolean equals(Object o)
           
 String getResourceName()
           
 String getTitle()
           
 int hashCode()
           
 boolean isPopulated()
           
 String toString()
           
 
Methods inherited from class com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.BlogPostsForDateResourceIdentifier
getPostingDay, getSpace, getSpaceKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlogPostResourceIdentifier

public BlogPostResourceIdentifier(String spaceKey,
                                  String title,
                                  Calendar postingDay)
Parameters:
spaceKey - (optional) identifies the Space for the BlogPost. May be null if the space is to be derived from context
title - identifies the title of the BlogPost. May be null if the blog is to be derived from context
postingDay - identifies the posting date for the blog. May be null if the blog is to be derived from context.
Method Detail

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 BlogPostsForDateResourceIdentifier

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class BlogPostsForDateResourceIdentifier


Copyright © 2003-2013 Atlassian. All Rights Reserved.