|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.domain.BlogManager
public class BlogManager
A singleton to manage the active blog.
Method Summary | |
---|---|
void |
addBlog(Blog blog)
|
void |
addBlog(java.lang.String blogId)
|
Blog |
getBlog()
Gets the default blog. |
Blog |
getBlog(java.lang.String id)
Gets a named blog. |
java.util.Collection |
getBlogs()
Gets all blogs that are currently being managed. |
static BlogManager |
getInstance()
Gets the singleton instance of this class. |
MultiBlog |
getMultiBlog()
|
java.util.List<Blog> |
getPublicBlogs()
Gets all blogs that are currently being managed and are to be included in aggregated pages and feeds. |
boolean |
hasBlog(java.lang.String id)
Determines whether there is a blog with the specified ID. |
boolean |
isMultiBlog()
Determines whether this blog manager supports multiple blogs. |
void |
reloadBlog(Blog blog)
|
void |
removeAllBlogs()
|
void |
setMultiBlog(boolean multiBlog)
|
void |
startBlogs()
Configures this instance to manage the blog(s) in the specified directory. |
void |
stopBlogs()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BlogManager getInstance()
public Blog getBlog()
public Blog getBlog(java.lang.String id)
id
- the blog ID
public void startBlogs()
public void stopBlogs()
public void reloadBlog(Blog blog)
public void addBlog(java.lang.String blogId)
public boolean isMultiBlog()
public void setMultiBlog(boolean multiBlog)
public void addBlog(Blog blog)
public void removeAllBlogs()
public java.util.Collection getBlogs()
public java.util.List<Blog> getPublicBlogs()
public boolean hasBlog(java.lang.String id)
id
- the blog ID
public MultiBlog getMultiBlog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |