@Deprecated public interface BlogManager extends CollabManager
BlogManager is a central interface to manage blogs and blog
entries. To retrieve a BlogManager, please use
Adaptable.adaptTo(Class).| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_BLOG
Deprecated.
|
PATH_UGC, PROP_DISTRIBUTE, PROP_RESOURCE_TYPE| Modifier and Type | Method and Description |
|---|---|
Blog |
createBlog(java.lang.String path,
java.lang.String title)
Deprecated.
Creates a
Blog at path using
the specified title and description. |
Blog |
getBlog(SlingHttpServletRequest req)
Deprecated.
Returns the
Blog for the specified request. |
Blog |
getBlog(SlingHttpServletRequest req,
java.lang.String path)
Deprecated.
Returns the
Blog at the specified path,
or null if no blog can be found. |
Blog |
getBlog(java.lang.String path)
Deprecated.
Returns the
Blog at the specified path,
or null if no blog can be found. |
BlogEntry |
getBlogEntry(SlingHttpServletRequest req,
java.lang.String path)
Deprecated.
Returns the
BlogEntry for the specified request and resource. |
BlogEntry |
getBlogEntry(java.lang.String path)
Deprecated.
Returns the
BlogEntry at the specified path or
null if no blog entry can be found. |
java.lang.String |
getView(HttpServletRequest req)
Deprecated.
Returns the selected view for the blog.
|
createNode, createPage, createPage, isDirty, map, map, savestatic final java.lang.String ATTR_BLOG
Blog getBlog(java.lang.String path)
Blog at the specified path,
or null if no blog can be found.path - The blog pathBlog getBlog(SlingHttpServletRequest req)
Blog for the specified request.
The corresponding resource will be retrieved from the request,
and the blog will be instantiated only once per request.req - The requestBlog getBlog(SlingHttpServletRequest req, java.lang.String path)
Blog at the specified path,
or null if no blog can be found. The request
is needed for certain operations.req - The requestpath - The blog pathBlog createBlog(java.lang.String path, java.lang.String title) throws BlogException
Blog at path using
the specified title and description.path - The path of the blogtitle - The title of the blogBlogException - If the blog cannot be createdBlogEntry getBlogEntry(java.lang.String path)
BlogEntry at the specified path or
null if no blog entry can be found.path - The blog entry pathBlogEntry getBlogEntry(SlingHttpServletRequest req, java.lang.String path)
BlogEntry for the specified request and resource.
If the resource is null, it will be retrieved from the request.req - The requestpath - The blog entry path (optional)java.lang.String getView(HttpServletRequest req)
req - The request