001 /* 002 @license.text@ 003 */ 004 package biz.hammurapi.properties; 005 006 import java.sql.SQLException; 007 008 /** 009 * Property sets backed by the database implement this interface 010 * @author Pavel 011 */ 012 public interface PersistentPropertySet extends PropertySet { 013 014 /** 015 * Deletes property set from the storage. 016 */ 017 void delete() throws PropertySetException; 018 019 /** 020 * Writes properties or modifications into persistens storage. 021 * @throws SQLException 022 */ 023 void store() throws PropertySetException; 024 }