1 /*2 * PropertiesManager.java3 *4 * Created on April 21, 2005, 10:34 AM5 */6 7 package org.roller.model;8 9 import java.io.Serializable ;10 import java.util.Map ;11 import org.roller.RollerException;12 import org.roller.pojos.RollerPropertyData;13 14 /**15 *16 * @author Allen Gilliland17 */18 public interface PropertiesManager extends Serializable 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 properties) throws RollerException;31 32 /** Retrieve a single property by name */33 public RollerPropertyData getProperty(String name) throws RollerException;34 35 /** Retrieve a list of all properties */36 public Map getProperties() throws RollerException;37 38 }39