|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.blog.Trackback org.blojsom.blog.Pingback org.blojsom.blog.FileBackedPingback
FileBackedPingback
Field Summary | |
protected java.io.File |
_source
|
protected static int |
PINGBACK_ACCESS_DENIED_CODE
|
protected static int |
PINGBACK_ALREADY_REGISTERED_CODE
|
protected static int |
PINGBACK_GENERIC_FAULT_CODE
|
protected static int |
PINGBACK_NO_LINK_TO_TARGET_URI_CODE
|
protected static int |
PINGBACK_SOURCE_URI_NON_EXISTENT_CODE
|
protected static int |
PINGBACK_TARGET_URI_NON_EXISTENT_CODE
|
protected static int |
PINGBACK_TARGET_URI_NOT_ENABLED_CODE
|
protected static int |
PINGBACK_UPSTREAM_SERVER_ERROR_CODE
|
Fields inherited from class org.blojsom.blog.Trackback |
_blogEntry, _blogName, _excerpt, _id, _metaData, _title, _trackbackDate, _trackbackDateLong, _url |
Constructor Summary | |
FileBackedPingback()
Default constructor |
|
FileBackedPingback(java.lang.String title,
java.lang.String excerpt,
java.lang.String url,
java.lang.String blogName)
Pingback constructor to take a title, excerpt, url, and blog name |
Method Summary | |
void |
delete(BlogUser blogUser)
Delete the pingback |
java.io.File |
getSource()
Retrieve the source file for this pingback |
void |
load(BlogUser blogUser)
Load the pingback |
void |
save(BlogUser blogUser)
Save the pingback |
void |
setSource(java.io.File source)
Set the source file for this pingback |
Methods inherited from class org.blojsom.blog.Trackback |
getBlogEntry, getBlogName, getDateAsFormat, getDateAsFormat, getExcerpt, getId, getMetaData, getTitle, getTrackbackDate, getTrackbackDateLong, getUrl, setBlogEntry, setBlogName, setExcerpt, setId, setMetaData, setTitle, setTrackbackDate, setTrackbackDateLong, setUrl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int PINGBACK_GENERIC_FAULT_CODE
protected static final int PINGBACK_SOURCE_URI_NON_EXISTENT_CODE
protected static final int PINGBACK_NO_LINK_TO_TARGET_URI_CODE
protected static final int PINGBACK_TARGET_URI_NON_EXISTENT_CODE
protected static final int PINGBACK_TARGET_URI_NOT_ENABLED_CODE
protected static final int PINGBACK_ALREADY_REGISTERED_CODE
protected static final int PINGBACK_ACCESS_DENIED_CODE
protected static final int PINGBACK_UPSTREAM_SERVER_ERROR_CODE
protected transient java.io.File _source
Constructor Detail |
public FileBackedPingback()
public FileBackedPingback(java.lang.String title, java.lang.String excerpt, java.lang.String url, java.lang.String blogName)
title
- Title of the pingbackexcerpt
- Excerpt from the pingbackurl
- Url for the pingbackblogName
- Blog name of the pingbackMethod Detail |
public java.io.File getSource()
File
backing this pingbackpublic void setSource(java.io.File source)
source
- File
backing this pingbackpublic void load(BlogUser blogUser) throws BlojsomException
load
in class Trackback
blogUser
- BlogUser
BlojsomException
public void save(BlogUser blogUser) throws BlojsomException
save
in class Trackback
blogUser
- BlogUser
BlojsomException
public void delete(BlogUser blogUser) throws BlojsomException
delete
in class Trackback
blogUser
- BlogUser
BlojsomException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |