|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.plugin.admin.BaseAdminPlugin org.blojsom.plugin.admin.EditBlogEntriesPlugin
EditBlogEntriesPlugin
Field Summary | |
protected BlojsomFetcher |
_fetcher
|
protected static java.lang.String |
BLOG_CATEGORY_NAME
|
protected static java.lang.String |
BLOG_COMMENT_ID
|
protected static java.lang.String |
BLOG_ENTRY_DESCRIPTION
|
protected static java.lang.String |
BLOG_ENTRY_ID
|
protected static java.lang.String |
BLOG_ENTRY_PROPOSED_NAME
|
protected static java.lang.String |
BLOG_ENTRY_PUBLISH_DATETIME
|
protected static java.lang.String |
BLOG_ENTRY_TITLE
|
protected static java.lang.String |
BLOG_PINGBACK_ID
|
protected static java.lang.String |
BLOG_TRACKBACK_ID
|
protected static java.lang.String |
BLOG_TRACKBACK_URLS
|
static java.lang.String |
BLOG_XMLRPC_ENTRY_EXTENSION_IP
|
protected static java.lang.String |
BLOJSOM_PLUGIN_EDIT_BLOG_ENTRIES_CATEGORY
|
protected static java.lang.String |
BLOJSOM_PLUGIN_EDIT_BLOG_ENTRIES_ENTRY
|
protected static java.lang.String |
BLOJSOM_PLUGIN_EDIT_BLOG_ENTRIES_LIST
|
static java.lang.String |
DEFAULT_BLOG_XMLRPC_ENTRY_EXTENSION
Default file extension for blog entries written via XML-RPC |
protected static int |
MAXIMUM_FILENAME_LENGTH
|
protected static java.lang.String |
PING_BLOG_URLS
|
protected static java.lang.String |
UPDATED_BLOG_CATEGORY_NAME
|
Fields inherited from interface org.blojsom.util.BlojsomMetaDataConstants |
BLOG_ENTRY_METADATA_AUTHOR, BLOG_ENTRY_METADATA_AUTHOR_EXT, BLOG_ENTRY_METADATA_TIMESTAMP, BLOG_METADATA_COMMENTS_DISABLED, BLOG_METADATA_HEADER, BLOG_METADATA_PINGBACKS_DISABLED, BLOG_METADATA_TRACKBACKS_DISABLED, SOURCE_ATTRIBUTE |
Constructor Summary | |
EditBlogEntriesPlugin()
Default constructor. |
Method Summary | |
void |
init(javax.servlet.ServletConfig servletConfig,
BlojsomConfiguration blojsomConfiguration)
Initialize this plugin. |
BlogEntry[] |
process(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
BlogUser user,
java.util.Map context,
BlogEntry[] entries)
Process the blog entries |
protected void |
sendTrackbackPings(Blog blog,
BlogEntry entry,
java.lang.String blogTrackbackURLs)
Send trackback pings to a comma-separated list of trackback URLs |
Methods inherited from class org.blojsom.plugin.admin.BaseAdminPlugin |
addOperationResultMessage, authenticateUser, checkPermission, cleanup, destroy, formatAdminResource, getAdminResource, getUsernameFromSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String BLOG_XMLRPC_ENTRY_EXTENSION_IP
protected static final int MAXIMUM_FILENAME_LENGTH
public static final java.lang.String DEFAULT_BLOG_XMLRPC_ENTRY_EXTENSION
protected static final java.lang.String BLOJSOM_PLUGIN_EDIT_BLOG_ENTRIES_LIST
protected static final java.lang.String BLOJSOM_PLUGIN_EDIT_BLOG_ENTRIES_CATEGORY
protected static final java.lang.String BLOJSOM_PLUGIN_EDIT_BLOG_ENTRIES_ENTRY
protected static final java.lang.String BLOG_CATEGORY_NAME
protected static final java.lang.String BLOG_ENTRY_ID
protected static final java.lang.String BLOG_ENTRY_TITLE
protected static final java.lang.String BLOG_ENTRY_DESCRIPTION
protected static final java.lang.String BLOG_COMMENT_ID
protected static final java.lang.String BLOG_TRACKBACK_ID
protected static final java.lang.String BLOG_PINGBACK_ID
protected static final java.lang.String BLOG_ENTRY_PUBLISH_DATETIME
protected static final java.lang.String BLOG_TRACKBACK_URLS
protected static final java.lang.String BLOG_ENTRY_PROPOSED_NAME
protected static final java.lang.String PING_BLOG_URLS
protected static final java.lang.String UPDATED_BLOG_CATEGORY_NAME
protected BlojsomFetcher _fetcher
Constructor Detail |
public EditBlogEntriesPlugin()
Method Detail |
public void init(javax.servlet.ServletConfig servletConfig, BlojsomConfiguration blojsomConfiguration) throws BlojsomPluginException
init
in interface BlojsomPlugin
init
in class BaseAdminPlugin
servletConfig
- Servlet config object for the plugin to retrieve any initialization parametersblojsomConfiguration
- BlojsomConfiguration
information
BlojsomPluginException
- If there is an error initializing the pluginpublic BlogEntry[] process(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, BlogUser user, java.util.Map context, BlogEntry[] entries) throws BlojsomPluginException
process
in interface BlojsomPlugin
process
in class BaseAdminPlugin
httpServletRequest
- RequesthttpServletResponse
- Responseuser
- BlogUser
instancecontext
- Contextentries
- Blog entries retrieved for the particular request
BlojsomPluginException
- If there is an error processing the blog entriesprotected void sendTrackbackPings(Blog blog, BlogEntry entry, java.lang.String blogTrackbackURLs)
blog
- Blog informationentry
- Blog entryblogTrackbackURLs
- Trackback URLs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |