KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > db > FortuneGenerator


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// Copyright (C) 1997-@year@ by Per Nyfelt. All rights reserved.
5
//
6
// $Id: FortuneGenerator.java,v 1.2 2003/11/29 16:19:28 per_nyfelt Exp $
7
package db;
8
9 import java.util.List JavaDoc;
10
11 import org.ozoneDB.OzoneRemote;
12
13 public interface FortuneGenerator extends OzoneRemote {
14
15     public void addFortune(String JavaDoc fortune); /*update*/
16
17     public String JavaDoc getFortune();
18
19     public List JavaDoc getAllFortunes();
20
21     public void removeFortunes(); /*update*/
22 }
Popular Tags