@Deprecated public abstract class BaseBlogEntry extends Object implements BlogEntry
BlogEntry.Category, BlogEntry.Content, BlogEntry.Person
Modifier and Type | Field and Description |
---|---|
protected BlogEntry.Person |
author
Deprecated.
|
protected List<BlogEntry.Category> |
categories
Deprecated.
|
protected BlogEntry.Content |
content
Deprecated.
|
protected boolean |
draft
Deprecated.
|
protected String |
id
Deprecated.
|
protected Date |
modificationDate
Deprecated.
|
protected String |
permalink
Deprecated.
|
protected Date |
publicationDate
Deprecated.
|
protected String |
summary
Deprecated.
|
protected String |
title
Deprecated.
|
Constructor and Description |
---|
BaseBlogEntry(Blog blog)
Deprecated.
Contruct abstract blog entry.
|
Modifier and Type | Method and Description |
---|---|
BlogEntry.Person |
getAuthor()
Deprecated.
Get author of this entry
|
Blog |
getBlog()
Deprecated.
Blog is associated with a blog
|
List<BlogEntry.Category> |
getCategories()
Deprecated.
Get categories, a list of BlogEntry.Category objects
|
BlogEntry.Content |
getContent()
Deprecated.
Get content of this blog entry
|
boolean |
getDraft()
Deprecated.
Get draft status of this entry
|
String |
getId()
Deprecated.
Get globally unique ID of this blog entry
|
Date |
getModificationDate()
Deprecated.
Get update date of this entry
|
String |
getPermalink()
Deprecated.
Permanent link to this entry (assigned by server)
|
Date |
getPublicationDate()
Deprecated.
Set publish date of this entry
|
String |
getSummary()
Deprecated.
Get summary of this blog entry
|
String |
getTitle()
Deprecated.
Get title of this blog entry
|
void |
setAuthor(BlogEntry.Person author)
Deprecated.
Set author of this entry
|
void |
setCategories(List<BlogEntry.Category> categories)
Deprecated.
Set categories, a list of BlogEntry.Category objects
|
void |
setContent(BlogEntry.Content content)
Deprecated.
Set content of this blog entry
|
void |
setDraft(boolean draft)
Deprecated.
Set draft status of this entry
|
void |
setModificationDate(Date date)
Deprecated.
Set update date of this entry
|
void |
setPublicationDate(Date pubDate)
Deprecated.
Get publish date of this entry
|
void |
setSummary(String summary)
Deprecated.
Set summary of this blog entry
|
void |
setTitle(String title)
Deprecated.
Set title of this blog entry
|
String |
toString()
Deprecated.
String representation, returns id.
|
protected String id
protected BlogEntry.Person author
protected BlogEntry.Content content
protected String title
protected String permalink
protected String summary
protected Date modificationDate
protected Date publicationDate
protected List<BlogEntry.Category> categories
protected boolean draft
public BaseBlogEntry(Blog blog)
public String getId()
public String getPermalink()
getPermalink
in interface BlogEntry
public BlogEntry.Person getAuthor()
public void setAuthor(BlogEntry.Person author)
public BlogEntry.Content getContent()
getContent
in interface BlogEntry
public void setContent(BlogEntry.Content content)
setContent
in interface BlogEntry
public boolean getDraft()
public void setDraft(boolean draft)
public Date getPublicationDate()
getPublicationDate
in interface BlogEntry
public void setPublicationDate(Date pubDate)
setPublicationDate
in interface BlogEntry
public Date getModificationDate()
getModificationDate
in interface BlogEntry
public void setModificationDate(Date date)
setModificationDate
in interface BlogEntry
public String getTitle()
public void setTitle(String title)
public String getSummary()
getSummary
in interface BlogEntry
public void setSummary(String summary)
setSummary
in interface BlogEntry
public List<BlogEntry.Category> getCategories()
getCategories
in interface BlogEntry
public void setCategories(List<BlogEntry.Category> categories)
setCategories
in interface BlogEntry
public Blog getBlog()
Copyright © 2020. All rights reserved.