|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Nested Class Summary | |
static interface |
IPostEditExtension.IPostAction
An action that can be performed on a post. |
Method Summary | |
java.lang.String |
buildOptionsHTML(BlogRunData data,
Post post)
Get extra HTML that should be inserted in the post edit screen. |
void |
postDeleted(BlogRunData data,
Post post)
The user is about to delete a post. |
void |
postModified(BlogRunData data,
Post post)
When a post's text or content has been changed by the user, this method will be called. |
void |
postNew(BlogRunData data,
Post post)
This method will be called for the creation of a new post. |
void |
postPublicationStatusChanged(BlogRunData data,
Post post,
int oldType)
This method will be called whenever a publication change has been requested by the user. |
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtension |
getPreferences, setPreferences |
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtension |
getName, getPlugin |
Method Detail |
public void postNew(BlogRunData data, Post post)
data
- post
- the new Post.public void postModified(BlogRunData data, Post post)
data
- the current rundatapost
- the post that has been modified.public void postPublicationStatusChanged(BlogRunData data, Post post, int oldType)
data
- the rundata of the request.post
- the post that will have its publication type changed.oldType
- the old post type, from the PostPeer constants.public void postDeleted(BlogRunData data, Post post)
data
- The current RunData object.post
- The post that the user has requested to delete.public java.lang.String buildOptionsHTML(BlogRunData data, Post post)
data
- the RunData of the current requestpost
- the current post, may be null if the post is new.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |