oor.modules.repository
Class RDBMSRepository

java.lang.Object
  extended by oor.modules.repository.RDBMSRepository
All Implemented Interfaces:
Module, Repository

public class RDBMSRepository
extends java.lang.Object
implements Repository

A repository implemented using a relational database accessed via JDBC.

Author:
Mike Dean

Constructor Summary
RDBMSRepository()
           
 
Method Summary
 void addContent(Content content)
          Add the specified content to this repository.
 void deleteContent(Content content)
          Remove the specified content from this repository.
 java.util.Iterator<Content> listContents()
          List all content in this repository.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDBMSRepository

public RDBMSRepository()
Method Detail

addContent

public void addContent(Content content)
Description copied from interface: Repository
Add the specified content to this repository.

Specified by:
addContent in interface Repository

deleteContent

public void deleteContent(Content content)
Description copied from interface: Repository
Remove the specified content from this repository.

Specified by:
deleteContent in interface Repository

listContents

public java.util.Iterator<Content> listContents()
Description copied from interface: Repository
List all content in this repository.

Specified by:
listContents in interface Repository