KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > persistence > core > DAO


1 package com.blandware.atleap.persistence.core;
2
3 import com.blandware.atleap.model.core.BaseObject;
4
5 /**
6  * <p>Data Access Object (DAO) interface. This is an interface
7  * used to tag our DAO classes and to provide common methods to all DAOs.
8  * </p>
9  * <p><a HREF="DAO.java.htm"><i>View Source</i></a>
10  * </p>
11  *
12  * @author Matt Raible <a HREF="mailto:matt@raibledesigns.com">&lt;matt@raibledesigns.com&gt;</a>
13  * @version $Revision: 1.7 $ $Date: 2005/03/22 13:07:22 $
14  */

15 public interface DAO {
16
17     /**
18      * Removes object from cache
19      *
20      * @param object Object to be removed from cache
21      */

22     public void removeFromCache(BaseObject object);
23
24     /**
25      * Reloads object from database (synchronizes state)
26      * @param object Object to reload
27      */

28     public void reload(Object JavaDoc object);
29 }
Popular Tags