001 package biz.hammurapi.dataflow; 002 003 import biz.hammurapi.properties.PersistentPropertySet; 004 import biz.hammurapi.properties.PropertySetException; 005 006 /** 007 * Delegates all calls to the master. 008 * @author Pavel 009 * 010 */ 011 public class PersistentDataFilter 012 extends DataFilter 013 implements PersistentPropertySet { 014 015 public PersistentDataFilter(PersistentData master) { 016 super(master); 017 } 018 019 public void delete() throws PropertySetException { 020 ((PersistentData) master).delete(); 021 } 022 023 public void store() throws PropertySetException { 024 ((PersistentData) master).store(); 025 } 026 027 }