|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.openedit.blog.Blog
public class Blog
| Constructor Summary | |
|---|---|
Blog()
|
|
| Method Summary | |
|---|---|
boolean |
canEdit(User inUser)
|
BlogComment |
createNewComment(User inAuthor,
java.lang.String inContent)
|
BlogEntry |
createNewEntry(User inUser)
|
boolean |
getAllowAnonymous()
|
java.lang.String |
getArchiveRootDirectory()
|
java.lang.String |
getAuthor()
|
java.lang.String |
getBlogHome()
|
java.util.Map |
getCache()
|
java.lang.String |
getDescription()
|
java.lang.String |
getEditPermission()
|
java.util.List |
getEntries(int start,
int end,
boolean visibleOnly,
boolean sortRandom)
|
BlogEntry |
getEntry(java.lang.String inPath)
|
EntryArchive |
getEntryArchive()
|
java.lang.String |
getHostName()
|
java.util.Date |
getLastModified()
|
java.lang.String |
getLink()
|
LinkTree |
getLinkTree()
|
PageManager |
getPageManager()
|
java.util.Random |
getRandom()
|
java.util.List |
getRandomRecentEntries(int inCount)
|
java.util.List |
getRandomRecentVisibleEntries(int inI)
|
java.util.List |
getRecentEntries()
|
java.util.List |
getRecentEntries(int inCount)
Returns the given number of most recent entries. |
int |
getRecentMaxCount()
|
java.util.List |
getRecentVisibleEntries(int inI)
|
java.lang.String |
getTitle()
|
UserManager |
getUserManager()
|
java.util.List |
getVisibleEntries(int start,
int end)
|
boolean |
isAutoPublishEntries()
|
boolean |
isAutoPublishingComments()
|
boolean |
isUseNotification()
|
void |
removeEntry(BlogEntry inEntry)
|
void |
setAllowAnonymous(boolean inAllowAnonymous)
|
void |
setArchiveRootDirectory(java.lang.String inArchiveRootDirectory)
|
void |
setAuthor(java.lang.String inAuthor)
|
void |
setAutoPublishEntries(boolean inAutoPublishEntries)
|
void |
setAutoPublishingComments(boolean inAutoPublishingComments)
|
void |
setBlogHome(java.lang.String inBlogRoot)
|
void |
setCache(java.util.Map inCache)
|
void |
setDescription(java.lang.String inDescription)
|
void |
setEditPermission(java.lang.String inEditors)
|
void |
setEntryArchive(EntryArchive inEntryArchive)
|
void |
setHostName(java.lang.String inHostName)
|
void |
setLastModified(java.util.Date inLastModified)
|
void |
setLinkTree(LinkTree inLinkTree)
|
void |
setPageManager(PageManager inPageManager)
|
void |
setRandom(java.util.Random inRandom)
|
void |
setRecentMaxCount(int inRecentMaxCount)
|
void |
setTitle(java.lang.String inTitle)
|
void |
setUseNotification(boolean inBol)
|
void |
setUserManager(UserManager inUserManager)
|
java.util.List |
sortByRank(java.util.List inEntries)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Blog()
| Method Detail |
|---|
public java.util.List getRecentEntries()
throws OpenEditException
OpenEditException
public java.util.List getVisibleEntries(int start,
int end)
throws OpenEditException
OpenEditException
public java.util.List getRecentEntries(int inCount)
throws OpenEditException
inCount - The number of entries to return
List of BlogEntrys
OpenEditException
public java.util.List getRecentVisibleEntries(int inI)
throws OpenEditException
OpenEditException
public java.util.List getRandomRecentEntries(int inCount)
throws OpenEditException
OpenEditException
public java.util.List getRandomRecentVisibleEntries(int inI)
throws OpenEditException
OpenEditException
public java.util.List getEntries(int start,
int end,
boolean visibleOnly,
boolean sortRandom)
throws OpenEditException
OpenEditExceptionpublic java.util.Random getRandom()
public void setRandom(java.util.Random inRandom)
public void removeEntry(BlogEntry inEntry) throws OpenEditException
OpenEditExceptionpublic java.util.List sortByRank(java.util.List inEntries)
public LinkTree getLinkTree()
public void setLinkTree(LinkTree inLinkTree)
public PageManager getPageManager()
public void setPageManager(PageManager inPageManager)
public java.lang.String getLink()
public java.lang.String getBlogHome()
public void setBlogHome(java.lang.String inBlogRoot)
public java.lang.String getHostName()
public void setHostName(java.lang.String inHostName)
public java.lang.String getDescription()
public void setDescription(java.lang.String inDescription)
public java.lang.String getTitle()
public void setTitle(java.lang.String inTitle)
public int getRecentMaxCount()
public void setRecentMaxCount(int inRecentMaxCount)
public BlogEntry getEntry(java.lang.String inPath) throws OpenEditException
inEntryId -
OpenEditExceptionpublic BlogEntry createNewEntry(User inUser) throws OpenEditException
OpenEditException
public boolean canEdit(User inUser)
throws OpenEditException
OpenEditExceptionpublic java.lang.String getAuthor()
public void setAuthor(java.lang.String inAuthor)
public java.lang.String getEditPermission()
public void setEditPermission(java.lang.String inEditors)
public boolean getAllowAnonymous()
public void setAllowAnonymous(boolean inAllowAnonymous)
public boolean isAutoPublishingComments()
public void setAutoPublishingComments(boolean inAutoPublishingComments)
public BlogComment createNewComment(User inAuthor, java.lang.String inContent)
public boolean isAutoPublishEntries()
public void setAutoPublishEntries(boolean inAutoPublishEntries)
public java.lang.String getArchiveRootDirectory()
public void setArchiveRootDirectory(java.lang.String inArchiveRootDirectory)
public java.util.Map getCache()
public void setCache(java.util.Map inCache)
public UserManager getUserManager()
public void setUserManager(UserManager inUserManager)
public boolean isUseNotification()
public void setUseNotification(boolean inBol)
public EntryArchive getEntryArchive()
public void setEntryArchive(EntryArchive inEntryArchive)
public java.util.Date getLastModified()
public void setLastModified(java.util.Date inLastModified)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Jan 06 2009
