org.blojsom.blog
Class FileBackedTrackback

java.lang.Object
  extended byorg.blojsom.blog.Trackback
      extended byorg.blojsom.blog.FileBackedTrackback
All Implemented Interfaces:
java.io.Serializable

public class FileBackedTrackback
extends Trackback

FileBackedTrackback

Since:
blojsom 2.26
Version:
$Id: FileBackedTrackback.java,v 1.4 2006/01/04 16:59:53 czarneckid Exp $
Author:
David Czarnecki
See Also:
Serialized Form

Field Summary
protected  java.io.File _source
           
 
Fields inherited from class org.blojsom.blog.Trackback
_blogEntry, _blogName, _excerpt, _id, _metaData, _title, _trackbackDate, _trackbackDateLong, _url
 
Constructor Summary
FileBackedTrackback()
          Default constructor
FileBackedTrackback(java.lang.String title, java.lang.String excerpt, java.lang.String url, java.lang.String blogName)
          Trackback constructor to take a title, excerpt, url, and blog name
 
Method Summary
 void delete(BlogUser blogUser)
          Delete the trackback
 java.io.File getSource()
          Retrieve the source file for this trackback
 void load(BlogUser blogUser)
          Load the trackback
 void save(BlogUser blogUser)
          Save the trackback
 void setSource(java.io.File source)
          Set the source file for this trackback
 
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

_source

protected transient java.io.File _source
Constructor Detail

FileBackedTrackback

public FileBackedTrackback()
Default constructor


FileBackedTrackback

public FileBackedTrackback(java.lang.String title,
                           java.lang.String excerpt,
                           java.lang.String url,
                           java.lang.String blogName)
Trackback constructor to take a title, excerpt, url, and blog name

Parameters:
title - Title of the trackback
excerpt - Excerpt from the trackback
url - Url for the trackback
blogName - Blog name of the trackback
Method Detail

getSource

public java.io.File getSource()
Retrieve the source file for this trackback

Returns:
File backing this trackback

setSource

public void setSource(java.io.File source)
Set the source file for this trackback

Parameters:
source - File backing this trackback

load

public void load(BlogUser blogUser)
          throws BlojsomException
Load the trackback

Specified by:
load in class Trackback
Parameters:
blogUser - BlogUser
Throws:
BlojsomException
Since:
blojsom 2.26

save

public void save(BlogUser blogUser)
          throws BlojsomException
Save the trackback

Specified by:
save in class Trackback
Parameters:
blogUser - BlogUser
Throws:
BlojsomException
Since:
blojsom 2.26

delete

public void delete(BlogUser blogUser)
            throws BlojsomException
Delete the trackback

Specified by:
delete in class Trackback
Parameters:
blogUser - BlogUser
Throws:
BlojsomException
Since:
blojsom 2.26