net.sourceforge.blogentis.trackback
Class TrackbackPostEditExtension

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.AbstractExtension
      extended bynet.sourceforge.blogentis.plugins.AbstractBlogExtension
          extended bynet.sourceforge.blogentis.plugins.base.AbstractPostEditExtension
              extended bynet.sourceforge.blogentis.trackback.TrackbackPostEditExtension
All Implemented Interfaces:
IBlogExtension, IExtension, IPostEditExtension

public class TrackbackPostEditExtension
extends AbstractPostEditExtension

Author:
abas

Nested Class Summary
 
Nested classes inherited from class net.sourceforge.blogentis.plugins.base.IPostEditExtension
IPostEditExtension.IPostAction
 
Field Summary
static java.util.regex.Pattern aboutPattern
           
static java.util.regex.Pattern identPattern
           
static org.apache.commons.logging.Log log
           
static java.util.regex.Pattern rdfPattern
           
static java.lang.String T_BLOG_EXTRA_LINKS
           
static java.lang.String T_BLOG_IGNORE_FROM_SELF
           
static java.lang.String T_BLOG_IGNORE_FROM_SERVER
           
static java.lang.String T_BLOG_RECEIVE
           
static java.lang.String T_BLOG_SEND
           
static java.lang.String T_BLOG_WEBLOGS_COM
           
static java.lang.String T_SENT
           
static java.lang.String T_URIS_NOT_SENT
           
static java.lang.String T_URIS_SENT
           
static java.lang.String T_WEBLOGS_COM
           
static java.util.regex.Pattern tbPattern
           
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtension
blog, preferences
 
Constructor Summary
TrackbackPostEditExtension(IPlugin plugin, Blog blog)
           
 
Method Summary
 java.lang.String buildOptionsHTML(BlogRunData data, Post post)
          Get extra HTML that should be inserted in the post edit screen.
 java.lang.String getName()
          Get the name of this extension.
 void postPublicationStatusChanged(BlogRunData data, Post post, int oldState)
          This method will be called whenever a publication change has been requested by the user.
 
Methods inherited from class net.sourceforge.blogentis.plugins.base.AbstractPostEditExtension
postDeleted, postModified, postNew
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtension
getPreferences, setPreferences
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractExtension
getPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtension
getPreferences, setPreferences
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtension
getPlugin
 

Field Detail

log

public static final org.apache.commons.logging.Log log

rdfPattern

public static final java.util.regex.Pattern rdfPattern

tbPattern

public static final java.util.regex.Pattern tbPattern

aboutPattern

public static final java.util.regex.Pattern aboutPattern

identPattern

public static final java.util.regex.Pattern identPattern

T_SENT

public static final java.lang.String T_SENT
See Also:
Constant Field Values

T_URIS_SENT

public static final java.lang.String T_URIS_SENT
See Also:
Constant Field Values

T_URIS_NOT_SENT

public static final java.lang.String T_URIS_NOT_SENT
See Also:
Constant Field Values

T_WEBLOGS_COM

public static final java.lang.String T_WEBLOGS_COM
See Also:
Constant Field Values

T_BLOG_EXTRA_LINKS

public static final java.lang.String T_BLOG_EXTRA_LINKS
See Also:
Constant Field Values

T_BLOG_SEND

public static final java.lang.String T_BLOG_SEND
See Also:
Constant Field Values

T_BLOG_RECEIVE

public static final java.lang.String T_BLOG_RECEIVE
See Also:
Constant Field Values

T_BLOG_IGNORE_FROM_SELF

public static final java.lang.String T_BLOG_IGNORE_FROM_SELF
See Also:
Constant Field Values

T_BLOG_IGNORE_FROM_SERVER

public static final java.lang.String T_BLOG_IGNORE_FROM_SERVER
See Also:
Constant Field Values

T_BLOG_WEBLOGS_COM

public static final java.lang.String T_BLOG_WEBLOGS_COM
See Also:
Constant Field Values
Constructor Detail

TrackbackPostEditExtension

public TrackbackPostEditExtension(IPlugin plugin,
                                  Blog blog)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IExtension
Get the name of this extension. It should include a short description of the functionality.

Returns:
the name of this extension

buildOptionsHTML

public java.lang.String buildOptionsHTML(BlogRunData data,
                                         Post post)
Description copied from interface: IPostEditExtension
Get extra HTML that should be inserted in the post edit screen.

Specified by:
buildOptionsHTML in interface IPostEditExtension
Overrides:
buildOptionsHTML in class AbstractPostEditExtension

postPublicationStatusChanged

public void postPublicationStatusChanged(BlogRunData data,
                                         Post post,
                                         int oldState)
Description copied from interface: IPostEditExtension
This method will be called whenever a publication change has been requested by the user. The current publication changes are defined as:

Specified by:
postPublicationStatusChanged in interface IPostEditExtension
Overrides:
postPublicationStatusChanged in class AbstractPostEditExtension


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.