org.jpublish.repository
Class AbstractRepository

java.lang.Object
  |
  +--org.jpublish.repository.AbstractRepository
All Implemented Interfaces:
Configurable, Repository
Direct Known Subclasses:
DBRepository, ExtendedFileSystemRepository, FileSystemRepository

public abstract class AbstractRepository
extends java.lang.Object
implements Repository

The AbstractRepository base class can be used as a superclass for repository implementations. It provides convenience methods which are standard for all repositories.

Author:
Anthony Eden

Field Summary
protected  SiteContext siteContext
           
 
Constructor Summary
AbstractRepository()
           
 
Method Summary
 void setSiteContext(SiteContext siteContext)
          Set the repository's reference to the current SiteContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jpublish.Repository
get, get, getLastModified, getName
 
Methods inherited from interface org.jpublish.Configurable
loadConfiguration
 

Field Detail

siteContext

protected SiteContext siteContext
Constructor Detail

AbstractRepository

public AbstractRepository()
Method Detail

setSiteContext

public void setSiteContext(SiteContext siteContext)
Set the repository's reference to the current SiteContext.
Specified by:
setSiteContext in interface Repository
Parameters:
siteContext - The SiteContext


Copyright (C) 2001 Anthony Eden. All Rights Reserved.