public class PostImpl extends AbstractBase implements Post, Comparable<Post>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAUL_EXCERPT_SEPARATOR |
static Pattern |
FILENAME_PATTERN |
log| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Post o) |
void |
convert() |
List<Category> |
getCategories() |
String |
getExcerpt() |
String |
getId() |
Post |
getNext() |
Post |
getPrevious() |
List<Post> |
getRelatedPosts() |
List<String> |
getStringCategories() |
List<String> |
getStringTags() |
List<Tag> |
getTags() |
boolean |
isExcerpted() |
boolean |
isPublished() |
protected void |
mergeRootMap(Map<String,Object> rootMap) |
void |
render(Map<String,Object> rootMap) |
void |
setCategories(List<Category> categories) |
void |
setNext(Post next) |
void |
setPrevious(Post previous) |
void |
setTags(List<Tag> tags) |
containsHighlightCodeBlock, get, getContent, getConverter, getDate_formatted, getDate, getDateFormatted, getLayout, getOutputFileExtension, getPath, getPermalink, getRenderer, getSite, getSource, getTitle, getUpdated_formatted, getUpdated, getUpdatedFormatted, getUrl, getUrlForOutputFile, set, setContent, setUrlgetOutputFile, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOutputFile, writeget, getContent, getDate, getDateFormatted, getLayout, getPath, getPermalink, getSource, getTitle, getUpdated, getUpdatedFormatted, getUrl, setpublic static final String DEFAUL_EXCERPT_SEPARATOR
public static Pattern FILENAME_PATTERN
public void convert()
convert in interface Convertibleconvert in class AbstractBasepublic String getExcerpt()
getExcerpt in interface Excerptablepublic boolean isExcerpted()
isExcerpted in interface Excerptablepublic boolean isPublished()
public void setPrevious(Post previous)
setPrevious in interface Postpublic Post getPrevious()
getPrevious in interface Postpublic int compareTo(Post o)
compareTo in interface Comparable<Post>public void render(Map<String,Object> rootMap)
render in interface Convertiblerender in class AbstractConvertibleprotected void mergeRootMap(Map<String,Object> rootMap)
mergeRootMap in class AbstractBasepublic List<Category> getCategories()
getCategories in interface Postpublic void setCategories(List<Category> categories)
categories - the categories to setCopyright © 2014-2015 Opoo.org. All Rights Reserved.