01: /*
02: * $RCSfile: ProductPersisterInterface.java,v $
03: * @modification $Date: 2001/09/28 19:41:42 $
04: * @version $Id: ProductPersisterInterface.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
05: *
06: */
07:
08: package com.memoire.vainstall.builder.util;
09:
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: }
|