| |
|
| java.lang.Object org.blojsom.plugin.velocity.StandaloneVelocityPlugin org.blojsom.plugin.trackback.TrackbackPlugin
BLOJSOM_PLUGIN_TRACKBACK_METADATA | final public static String BLOJSOM_PLUGIN_TRACKBACK_METADATA(Code) | | |
BLOJSOM_PLUGIN_TRACKBACK_METADATA_DESTROY | final public static String BLOJSOM_PLUGIN_TRACKBACK_METADATA_DESTROY(Code) | | |
BLOJSOM_TRACKBACK_MESSAGE | final public static String BLOJSOM_TRACKBACK_MESSAGE(Code) | | Key under which the trackback error message will be placed
(example: on the request for the JSPDispatcher)
|
BLOJSOM_TRACKBACK_PLUGIN_BLOG_ENTRY | final public static String BLOJSOM_TRACKBACK_PLUGIN_BLOG_ENTRY(Code) | | Key under which the blog entry will be placed for merging the trackback e-mail
|
BLOJSOM_TRACKBACK_PLUGIN_ENABLED | final public static String BLOJSOM_TRACKBACK_PLUGIN_ENABLED(Code) | | Key under which the indicator this plugin is "live" will be placed
(example: on the request for the JSPDispatcher)
|
BLOJSOM_TRACKBACK_PLUGIN_METADATA_IP | final public static String BLOJSOM_TRACKBACK_PLUGIN_METADATA_IP(Code) | | IP address meta-data
|
BLOJSOM_TRACKBACK_PLUGIN_TRACKBACK | final public static String BLOJSOM_TRACKBACK_PLUGIN_TRACKBACK(Code) | | Key under which the blog comment will be placed for merging the trackback e-mail
|
BLOJSOM_TRACKBACK_RETURN_CODE | final public static String BLOJSOM_TRACKBACK_RETURN_CODE(Code) | | Key under which the trackback return code will be placed
(example: on the request for the JSPDispatcher)
|
DEFAULT_TRACKBACK_PREFIX | final public static String DEFAULT_TRACKBACK_PREFIX(Code) | | Default prefix for trackback e-mail notification
|
TRACKBACK_BLOG_NAME_PARAM | final public static String TRACKBACK_BLOG_NAME_PARAM(Code) | | Request parameter for the trackback "blog_name"
|
TRACKBACK_DAYS_EXPIRATION_IP | final public static String TRACKBACK_DAYS_EXPIRATION_IP(Code) | | Initialization parameter for disabling trackbacks on entries after a certain number of days
|
TRACKBACK_EXCERPT_PARAM | final public static String TRACKBACK_EXCERPT_PARAM(Code) | | Request parameter for the trackback "excerpt"
|
TRACKBACK_PARAM | final public static String TRACKBACK_PARAM(Code) | | Request parameter to indicate a trackback "tb"
|
TRACKBACK_PLUGIN_EMAIL_TEMPLATE_HTML | final public static String TRACKBACK_PLUGIN_EMAIL_TEMPLATE_HTML(Code) | | |
TRACKBACK_PLUGIN_EMAIL_TEMPLATE_TEXT | final public static String TRACKBACK_PLUGIN_EMAIL_TEMPLATE_TEXT(Code) | | Template for comment e-mails
|
TRACKBACK_PREFIX_IP | final public static String TRACKBACK_PREFIX_IP(Code) | | Initialization parameter for e-mail prefix
|
TRACKBACK_THROTTLE_MINUTES_IP | final public static String TRACKBACK_THROTTLE_MINUTES_IP(Code) | | Initialization parameter for the throttling of trackbacks from IP addresses
|
TRACKBACK_TITLE_PARAM | final public static String TRACKBACK_TITLE_PARAM(Code) | | Request parameter for the trackback "title"
|
TRACKBACK_URL_PARAM | final public static String TRACKBACK_URL_PARAM(Code) | | Request parameter for the trackback "url"
|
TrackbackPlugin | public TrackbackPlugin()(Code) | | Default constructor
|
destroy | public void destroy() throws PluginException(Code) | | Called when BlojsomServlet is taken out of service
throws: PluginException - If there is an error in finalizing this plugin |
init | public void init() throws PluginException(Code) | | Initialize this plugin. This method only called when the plugin is instantiated.
throws: PluginException - If there is an error initializing the plugin |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
setupEmail | protected void setupEmail(Blog blog, Entry entry, Email email) throws EmailException(Code) | | Setup the comment e-mail
Parameters: blog - Blog information Parameters: email - Email message throws: EmailException - If there is an error preparing the e-mail message |
|
|
|