KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > memoire > vainstall > builder > util > ProductPersisterInterface


1 /*
2  * $RCSfile: ProductPersisterInterface.java,v $
3  * @modification $Date: 2001/09/28 19:41:42 $
4  * @version $Id: ProductPersisterInterface.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
5  *
6  */

7
8 package com.memoire.vainstall.builder.util;
9
10 import com.memoire.vainstall.builder.*;
11 import com.memoire.vainstall.builder.util.*;
12
13 /**
14  * This interface is implemented by a product persistance class.
15  * In that way we can dynamically load a persistance class depending
16  * on what version of java we are running or what kind of datastore
17  * which are available
18  *
19  * @see com.memoire.vainstall.builder.VAIProductModel
20  *
21  * @author Henrik Falk
22  * @version $Id: ProductPersisterInterface.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
23  */

24 public interface ProductPersisterInterface {
25
26     /**
27      * initialize the persister
28      * @param model VAIBuilderModel
29      */

30     public void initialize(VAIProductModel model);
31
32     /**
33      * load from datastore
34      */

35     public void load() throws VAIBuilderException;
36
37     /**
38      * save from datastore
39      */

40     public void save() throws VAIBuilderException;
41
42 }
43
Popular Tags