KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > model > PropertiesManager


1 /*
2  * PropertiesManager.java
3  *
4  * Created on April 21, 2005, 10:34 AM
5  */

6
7 package org.roller.model;
8
9 import java.io.Serializable JavaDoc;
10 import java.util.Map JavaDoc;
11 import org.roller.RollerException;
12 import org.roller.pojos.RollerPropertyData;
13
14 /**
15  *
16  * @author Allen Gilliland
17  */

18 public interface PropertiesManager extends Serializable JavaDoc
19 {
20     
21     /**
22      * Release all resources associated with Roller session.
23      */

24     public void release();
25
26     /** Save a single property */
27     public void store(RollerPropertyData property) throws RollerException;
28     
29     /** Save a list of properties */
30     public void store(Map JavaDoc properties) throws RollerException;
31     
32     /** Retrieve a single property by name */
33     public RollerPropertyData getProperty(String JavaDoc name) throws RollerException;
34     
35     /** Retrieve a list of all properties */
36     public Map JavaDoc getProperties() throws RollerException;
37     
38 }
39
Popular Tags