org.apache.aries.samples.blog.api
Interface BlogEntry


public interface BlogEntry


Method Summary
 BlogAuthor getAuthor()
          Get the author of the blog entry.
 String getAuthorEmail()
          Get the email address of the author of the blog posting.
 String getBody()
          Get the body of the blog posting.
 long getId()
          Get the Id value for the blog posting.
 Date getPublishDate()
          Get the publish date of a blog posting.
 String getTitle()
          Get the title of the blog posting.
 

Method Detail

getTitle

String getTitle()
Get the title of the blog posting.

Returns:
the title String

getBody

String getBody()
Get the body of the blog posting.

Returns:
the body content as a String

getAuthor

BlogAuthor getAuthor()
Get the author of the blog entry.

Returns:
the author's display name or email address if display name is null

getAuthorEmail

String getAuthorEmail()
Get the email address of the author of the blog posting.

Returns:
the author's email address

getPublishDate

Date getPublishDate()
Get the publish date of a blog posting.

Returns:
the date of publish

getId

long getId()
Get the Id value for the blog posting.

Returns:
the id value


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.